diff --git a/templates/admin/login.html b/templates/admin/login.html new file mode 100755 index 0000000..07607a3 --- /dev/null +++ b/templates/admin/login.html @@ -0,0 +1,151 @@ + +{% load i18n static simpletags %} +{% get_current_language as LANGUAGE_CODE %}{% get_current_language_bidi as LANGUAGE_BIDI %} + + + + + + + + {% block title %} + {{ site_title }}-{% trans 'Log in' %} + {% endblock %} + {% block icon %} +{# #} + {% endblock %} + + {% include 'admin/includes/css-part.html' %} + + {% block css %} + + {% endblock %} + {% block bg %} + + {% endblock %} + + {% block head %} + {# You can add code here. #} + {% endblock %} + + +{% block main %} +
+{# {% block logo %}#} +{# #} +{# {% endblock %}#} + + {% block header %} +
{{ site_header }}
+ {% endblock %} + + {% block errors %} + {% if form.non_field_errors %} + {% for error in form.non_field_errors %} + + + {% endfor %} + {% endif %} + {% if form.errors and not form.non_field_errors %} +

+ {% if form.errors.items|length == 1 %} + + {% else %} + + {% endif %} +

+ {% endif %} + {% endblock %} + {% block form %} +
+ {% csrf_token %} +
+ +
+
+ +
+ {% url 'admin_password_reset' as password_reset_url %} + {% if password_reset_url %} + + + {% endif %} + + + +
+ {% endblock %} +
+{% endblock %} +{% include 'admin/includes/js-part.html' %} +{% block login_js %} + +{% endblock %} + +{% block particles %} + {% if 'SIMPLEUI_LOGIN_PARTICLES'|get_config != False %} + + + +
+ + + {% endif %} +{% endblock %} + + +