From 6894beb56786e8867fcae90ef591a075526e0b44 Mon Sep 17 00:00:00 2001 From: Andrey Smakotin Date: Mon, 1 Dec 2025 23:59:03 +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=20home.html:=20=D1=81=D0=BE=D0=B2=D1=80=D0=B5=D0=BC?= =?UTF-8?q?=D0=B5=D0=BD=D0=BD=D0=B0=D1=8F=20=D1=84=D0=BE=D1=80=D0=BC=D0=B0?= =?UTF-8?q?=20=D0=B2=D1=85=D0=BE=D0=B4=D0=B0=20=D1=81=20=D0=BA=D0=B0=D1=80?= =?UTF-8?q?=D1=82=D0=BE=D1=87=D0=BA=D0=BE=D0=B9=20=D0=B8=20=D1=86=D0=B5?= =?UTF-8?q?=D0=BD=D1=82=D1=80=D0=B8=D1=80=D0=BE=D0=B2=D0=B0=D0=BD=D0=B8?= =?UTF-8?q?=D0=B5=D0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- myproject/templates/home.html | 56 +++++++++++++++++++++++++++-------- 1 file changed, 43 insertions(+), 13 deletions(-) diff --git a/myproject/templates/home.html b/myproject/templates/home.html index 6b4a098..6cfa088 100644 --- a/myproject/templates/home.html +++ b/myproject/templates/home.html @@ -1,21 +1,51 @@ {% extends 'base.html' %} -{% block title %}Главная страница{% endblock %} +{% block title %}Вход{% endblock %} {% block content %} -
-
-

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

-

Система аутентификации с подтверждением email

- - {% if user.is_authenticated %} -

Рады видеть вас снова, {{ user.name|default:user.email }}!

- Перейти в панель управления - {% else %} -
- Войти +
+
+
+ +
+

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

+

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

- {% endif %} + + + {% if messages %} + {% for message in messages %} + {% if 'danger' in message.tags or 'error' in message.tags %} + + {% endif %} + {% endfor %} + {% endif %} + + +
+ {% csrf_token %} +
+ + +
+
+ + +
+ + + + + +
+
{% endblock %} \ No newline at end of file