From 63f97cc6e72fe4ef72b4045b733173fe12f1e47e Mon Sep 17 00:00:00 2001 From: andrei Date: Wed, 24 Apr 2024 19:21:23 +0500 Subject: [PATCH] =?UTF-8?q?=D0=BF=D0=BE=D0=BF=D1=8B=D1=82=D0=B0=D0=BB?= =?UTF-8?q?=D0=B8=D1=81=D1=8C=20=D1=81=D0=B4=D0=B5=D0=BB=D0=B0=D1=82=D1=8C?= =?UTF-8?q?=20footer?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CineSync/static/css/includes/footer.css | 13 +++++++++++++ CineSync/static/css/users/login.css | 1 + CineSync/templates/base.html | 3 +-- CineSync/templates/includes/footer.html | 11 +++++++++++ CineSync/templates/tickets/my_orders.html | 12 +++++++----- CineSync/templates/users/password_change.html | 2 +- 6 files changed, 34 insertions(+), 8 deletions(-) diff --git a/CineSync/static/css/includes/footer.css b/CineSync/static/css/includes/footer.css index e69de29..6630ae7 100644 --- a/CineSync/static/css/includes/footer.css +++ b/CineSync/static/css/includes/footer.css @@ -0,0 +1,13 @@ +.warning_text { + width: 40vw; +} +.content_footer_block { + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; +} +.footer { + margin-top: 5vw; +} + diff --git a/CineSync/static/css/users/login.css b/CineSync/static/css/users/login.css index 974a372..f56c4e2 100644 --- a/CineSync/static/css/users/login.css +++ b/CineSync/static/css/users/login.css @@ -8,6 +8,7 @@ margin-left: 30%; margin-right: 30%; margin-top: 10vw; + margin-bottom: 6vw; border-radius: 3vw; background-color: #eaeaea; padding-top: 2vw; diff --git a/CineSync/templates/base.html b/CineSync/templates/base.html index bd7858f..34ec0d0 100644 --- a/CineSync/templates/base.html +++ b/CineSync/templates/base.html @@ -7,7 +7,6 @@ {% block title %}{% endblock title %} - @@ -24,7 +23,7 @@
{% block content %} Контент не подвезлм :( {% endblock content %}
-{% include 'includes/footer.html' %} + \ No newline at end of file diff --git a/CineSync/templates/includes/footer.html b/CineSync/templates/includes/footer.html index e69de29..553c2b7 100644 --- a/CineSync/templates/includes/footer.html +++ b/CineSync/templates/includes/footer.html @@ -0,0 +1,11 @@ +{% load static %} + + \ No newline at end of file diff --git a/CineSync/templates/tickets/my_orders.html b/CineSync/templates/tickets/my_orders.html index 83d13d9..5c24dc2 100644 --- a/CineSync/templates/tickets/my_orders.html +++ b/CineSync/templates/tickets/my_orders.html @@ -7,10 +7,12 @@ {% block content %} -

Мои заказы

-
- {% for order in my_orders %} - {% include "includes/my_order_card.html" %} - {% endfor %} +
+

Мои заказы

+
+ {% for order in my_orders %} + {% include "includes/my_order_card.html" %} + {% endfor %} +
{% endblock %} \ No newline at end of file diff --git a/CineSync/templates/users/password_change.html b/CineSync/templates/users/password_change.html index 0b0b715..235da3e 100644 --- a/CineSync/templates/users/password_change.html +++ b/CineSync/templates/users/password_change.html @@ -9,4 +9,4 @@

Смена пароля

{% include "includes/form.html" with form=form %}
-{% endblock %} +{% endblock %} \ No newline at end of file