From 96c71df417b4f10930f92683a31a2a138cd973c9 Mon Sep 17 00:00:00 2001 From: ngfchl Date: Sat, 3 Sep 2022 12:56:33 +0800 Subject: [PATCH] =?UTF-8?q?1.=20=E5=8E=BB=E9=99=A4=E9=A6=96=E9=A1=B5logo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/admin/login.html | 151 +++++++++++++++++++++++++++++++++++++ 1 file changed, 151 insertions(+) create mode 100755 templates/admin/login.html 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 %} + + +