From 86585f3d6ae362930b673845bf5647230052bcd2 Mon Sep 17 00:00:00 2001 From: Andrey Smakotin Date: Mon, 1 Dec 2025 23:54:23 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A0=D0=B5=D0=B4=D0=B8=D0=B7=D0=B0=D0=B9?= =?UTF-8?q?=D0=BD=20=D0=B3=D0=BB=D0=B0=D0=B2=D0=BD=D0=BE=D0=B9=20=D1=81?= =?UTF-8?q?=D1=82=D1=80=D0=B0=D0=BD=D0=B8=D1=86=D1=8B=20=D0=B2=D1=85=D0=BE?= =?UTF-8?q?=D0=B4=D0=B0:=20=D1=81=D0=BE=D0=B2=D1=80=D0=B5=D0=BC=D0=B5?= =?UTF-8?q?=D0=BD=D0=BD=D0=B0=D1=8F=20=D0=BA=D0=B0=D1=80=D1=82=D0=BE=D1=87?= =?UTF-8?q?=D0=BA=D0=B0=20=D1=81=20=D1=82=D0=B5=D0=BD=D1=8C=D1=8E=20=D0=B8?= =?UTF-8?q?=20=D1=86=D0=B5=D0=BD=D1=82=D1=80=D0=B8=D1=80=D0=BE=D0=B2=D0=B0?= =?UTF-8?q?=D0=BD=D0=B8=D0=B5=D0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- myproject/templates/index.html | 72 ++++++++++++++++++---------------- 1 file changed, 38 insertions(+), 34 deletions(-) diff --git a/myproject/templates/index.html b/myproject/templates/index.html index 02b79c2..e10fa6c 100644 --- a/myproject/templates/index.html +++ b/myproject/templates/index.html @@ -3,41 +3,46 @@ {% block title %}Вход{% endblock %} {% block content %} - - -
- {% if messages %} - {% for message in messages %} - {% if 'danger' in message.tags or 'error' in message.tags %} - +
+
+
+ +
+

Добро пожаловать

+

Войдите в систему

+
+ + + {% if messages %} + {% for message in messages %} + {% if 'danger' in message.tags or 'error' in message.tags %} + + {% endif %} + {% endfor %} {% endif %} - {% endfor %} - {% endif %} -
-

Добро пожаловать

- - -
- -
-
- {% csrf_token %} -
- - -
- {% include 'accounts/password_input.html' with field_name='password' field_label='Пароль' required=True %} - - - - -
+ +
+ {% csrf_token %} +
+ + +
+ {% include 'accounts/password_input.html' with field_name='password' field_label='Пароль' required=True %} + + + + + +
+
@@ -68,7 +73,6 @@