From c4d788bc9fb40ce1095da3a70bce87cc14a82d1c Mon Sep 17 00:00:00 2001 From: summe Date: Thu, 28 Sep 2023 16:29:13 +0300 Subject: [PATCH] 0.0.1 create registration page --- AuthApp/views.py | 2 +- templates/pages/p_authorization.html | 7 + templates/widgets/w_authorization.html | 338 +++++++++++++++++++++++++ 3 files changed, 346 insertions(+), 1 deletion(-) create mode 100644 templates/pages/p_authorization.html create mode 100644 templates/widgets/w_authorization.html diff --git a/AuthApp/views.py b/AuthApp/views.py index 72374a5..6913a51 100644 --- a/AuthApp/views.py +++ b/AuthApp/views.py @@ -16,7 +16,7 @@ def login_View(request): Dict = {} - t = loader.get_template('p_authorization.html') + t = loader.get_template('pages/p_authorization.html') res = HttpResponse(t.render(Dict, request)) return res diff --git a/templates/pages/p_authorization.html b/templates/pages/p_authorization.html new file mode 100644 index 0000000..f9f3fe4 --- /dev/null +++ b/templates/pages/p_authorization.html @@ -0,0 +1,7 @@ +{% extends "tb_base.html" %} +{% load static %} + +{% block CONTENT %} + + {% include "widgets/w_authorization.html" %} +{% endblock %} diff --git a/templates/widgets/w_authorization.html b/templates/widgets/w_authorization.html new file mode 100644 index 0000000..b91cac0 --- /dev/null +++ b/templates/widgets/w_authorization.html @@ -0,0 +1,338 @@ +{% load static %} + + + + +
+ +
+ + +
+
+
RU
+ +
EN
+
+ +
войти с помощью
+
+ + + +
+ +
+
+
+ + +
+
+
+ + + + +
+
+
+ + +
+ +
+ + \ No newline at end of file