diff --git a/InvenTree/templates/account/login.html b/InvenTree/templates/account/login.html new file mode 100644 index 0000000000..340098d7a1 --- /dev/null +++ b/InvenTree/templates/account/login.html @@ -0,0 +1,42 @@ +{% extends "account/base.html" %} + +{% load i18n account socialaccount crispy_forms_tags %} + +{% block head_title %}{% trans "Sign In" %}{% endblock %} + +{% block content %} + +

{% trans "Sign In" %}

+ +{% get_providers as socialaccount_providers %} +{% if socialaccount_providers %} +

{% blocktrans with site.name as site_name %}Please sign in with one +of your existing third party accounts or sign up +for a account and sign in below:{% endblocktrans %}

+{% else %} +

{% blocktrans %}If you have not created an account yet, then please +sign up first.{% endblocktrans %}

+{% endif %} + +
+ {% csrf_token %} + {{ form|crispy }} + {% if redirect_field_value %} + + {% endif %} + +
+ + {% trans "Forgot Password?" %} +
+
+ + +
+

{% trans 'or use SSO' %}

+
+ {% include "socialaccount/snippets/provider_list.html" with process="login" %} +
+{% include "socialaccount/snippets/login_extra.html" %} + +{% endblock %}