From b0c4d2a68fc3f35c21b14b8295d50d9fb16aa1fa Mon Sep 17 00:00:00 2001 From: burzuf Date: Fri, 20 Mar 2020 00:29:15 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A0=D0=B5=D1=84=D1=80=D0=B0=D0=BA=D1=82?= =?UTF-8?q?=D0=BE=D1=80=D0=B8=D0=BD=D0=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/index.html | 68 +++++++++++++++++++------------------ templates/registration.html | 53 +++++++++++++++-------------- templates/workshop.html | 29 ++++++++-------- 3 files changed, 77 insertions(+), 73 deletions(-) diff --git a/templates/index.html b/templates/index.html index cb215f8..12784c4 100644 --- a/templates/index.html +++ b/templates/index.html @@ -27,35 +27,36 @@
{% if current_user.is_authenticated %} -

{{ - current_user.username }}

- @@ -82,14 +83,15 @@
{% if current_user.is_authenticated %} - - - + + + {% else %} - - - + + + {% endif %}
diff --git a/templates/registration.html b/templates/registration.html index eb7e5cf..7f107a8 100644 --- a/templates/registration.html +++ b/templates/registration.html @@ -29,35 +29,36 @@
{% if current_user.is_authenticated %} -

{{ - current_user.username }}

- diff --git a/templates/workshop.html b/templates/workshop.html index abdfafc..150b85a 100644 --- a/templates/workshop.html +++ b/templates/workshop.html @@ -26,8 +26,8 @@
-

{{ - current_user.username }}

+

{{ current_user.username }}

@@ -112,14 +112,14 @@
    {% if user_scripts_list %} - {% set count = 1 %} - {% for user_script in user_scripts_list%} -
  • -

    • {{ user_script.scenario_name }}

    -
  • - {% endfor %} + {% set count = 1 %} + {% for user_script in user_scripts_list %} +
  • +

    • {{ user_script.scenario_name }}

    +
  • + {% endfor %} {% else %} -

    У вас пока отсутствуют сценарии

    +

    У вас пока отсутствуют сценарии

    {% endif %}
@@ -134,9 +134,10 @@
@@ -163,7 +164,7 @@