From 6b57050a6c3e8a73e9c144af9e7addf51d866a79 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Wed, 29 Dec 2021 16:41:10 +0200 Subject: [PATCH] fsd --- .../CHRISTMAS/sidebars/HomeSidebar.html | 28 +++++++-------- files/templates/authforms.html | 4 +-- files/templates/default.html | 36 +++++++++++++++++-- files/templates/home.html | 34 ------------------ files/templates/log.html | 4 +-- files/templates/login.html | 2 +- files/templates/login_2fa.html | 2 +- files/templates/settings.html | 2 +- files/templates/settings2.html | 4 +-- files/templates/sign_up.html | 2 +- files/templates/sign_up_failed_ref.html | 2 +- files/templates/submit.html | 4 +-- 12 files changed, 60 insertions(+), 64 deletions(-) diff --git a/files/templates/CHRISTMAS/sidebars/HomeSidebar.html b/files/templates/CHRISTMAS/sidebars/HomeSidebar.html index 630520d3a..5a7d285bb 100644 --- a/files/templates/CHRISTMAS/sidebars/HomeSidebar.html +++ b/files/templates/CHRISTMAS/sidebars/HomeSidebar.html @@ -4,59 +4,59 @@ set banner = [ { 'username': 'Bartholomew_1', - 'image': '/static/assets/CHRISTMAS/banners/sidebar-banner-1.jpg?a=1' + 'image': '/static/assets/images/banners/1.webp?a=1' }, { 'username': 'Yui', - 'image': '/static/assets/CHRISTMAS/banners/sidebar-banner-2.jpg?a=1' + 'image': '/static/assets/images/banners/2.webp?a=1' }, { 'username': 'Bartholomew_1', - 'image': '/static/assets/CHRISTMAS/banners/sidebar-banner-3.jpg?a=1' + 'image': '/static/assets/images/banners/3.webp?a=1' }, { 'username': 'chiobu', - 'image': '/static/assets/CHRISTMAS/banners/sidebar-banner-4.jpg?a=1' + 'image': '/static/assets/images/banners/4.webp?a=1' }, { 'username': 'chiobu', - 'image': '/static/assets/CHRISTMAS/banners/sidebar-banner-5.webp?a=1' + 'image': '/static/assets/images/banners/5.webp?a=1' }, { 'username': 'geese_suck', - 'image': '/static/assets/CHRISTMAS/banners/sidebar-banner-6.jpg?a=1' + 'image': '/static/assets/images/banners/6.webp?a=1' }, { 'username': 'Bartholomew_1', - 'image': '/static/assets/CHRISTMAS/banners/sidebar-banner-7.jpg?a=1' + 'image': '/static/assets/images/banners/7.webp?a=1' }, { 'username': 'drama_enthusiast', - 'image': '/static/assets/CHRISTMAS/banners/sidebar-banner-8.webp?a=1' + 'image': '/static/assets/images/banners/8.webp?a=1' }, { 'username': 'dramarama', - 'image': '/static/assets/CHRISTMAS/banners/sidebar-banner-9.jpg?a=1' + 'image': '/static/assets/images/banners/9.webp?a=1' }, { 'username': 'geese_suck', - 'image': '/static/assets/CHRISTMAS/banners/sidebar-banner-10.jpg?a=1' + 'image': '/static/assets/images/banners/10.webp?a=1' }, { 'username': 'ThreeLetterAgent', - 'image': '/static/assets/CHRISTMAS/banners/sidebar-banner-11.jpg?a=1' + 'image': '/static/assets/images/banners/11.webp?a=1' }, { 'username': 'geese_suck', - 'image': '/static/assets/CHRISTMAS/banners/sidebar-banner-12.jpg?a=1' + 'image': '/static/assets/images/banners/12.webp?a=1' }, { 'username': 'geese_suck', - 'image': '/static/assets/CHRISTMAS/banners/sidebar-banner-13.jpg?a=1' + 'image': '/static/assets/images/banners/13.webp?a=1' }, { 'username': 'geese_suck', - 'image': '/static/assets/CHRISTMAS/banners/sidebar-banner-14.jpg?a=1' + 'image': '/static/assets/images/banners/14.webp?a=1' } ] %} diff --git a/files/templates/authforms.html b/files/templates/authforms.html index 3f3c37b37..8def04d1d 100644 --- a/files/templates/authforms.html +++ b/files/templates/authforms.html @@ -15,7 +15,7 @@ {% if v %} - + {% if v.agendaposter %} - + {% endif %} diff --git a/files/templates/default.html b/files/templates/default.html index f3aac9034..71ee39cf2 100644 --- a/files/templates/default.html +++ b/files/templates/default.html @@ -7,7 +7,7 @@ {% if v %} - + {% if v.agendaposter %} - + {% endif %} @@ -250,7 +250,7 @@ {% block postNav %} {% endblock %} -
+
@@ -274,6 +274,36 @@ {% endblock %}
+ {% block sidebar %} + + + {% endblock %}
diff --git a/files/templates/home.html b/files/templates/home.html index 2b8603880..522deab1a 100644 --- a/files/templates/home.html +++ b/files/templates/home.html @@ -92,40 +92,6 @@ {% endblock %} -{% block PseudoSubmitForm %} - -
- -
-
-
-
Create post
-
    -
  • -
  • -
-
-
- {% if v %} - - - - {% else %} - - - - {% endif %} -
-
-
- -
-{% endblock %} - {% block content %}
diff --git a/files/templates/log.html b/files/templates/log.html index 24b139715..81743796b 100644 --- a/files/templates/log.html +++ b/files/templates/log.html @@ -6,7 +6,7 @@ {% block content %} {% if v %} - + {% if v.agendaposter %} - + {% endif %}
diff --git a/files/templates/login.html b/files/templates/login.html index a64a7ba5f..ad3bbcd26 100644 --- a/files/templates/login.html +++ b/files/templates/login.html @@ -18,7 +18,7 @@ {% endblock %} - + diff --git a/files/templates/login_2fa.html b/files/templates/login_2fa.html index 4b36cad49..764c28d41 100644 --- a/files/templates/login_2fa.html +++ b/files/templates/login_2fa.html @@ -14,7 +14,7 @@ 2-Step Login - {{'SITE_NAME' | app_config}} - + diff --git a/files/templates/settings.html b/files/templates/settings.html index 8c987b381..53d0580b6 100644 --- a/files/templates/settings.html +++ b/files/templates/settings.html @@ -34,7 +34,7 @@ - + {% if v.agendaposter %} - + {% else %} - + {% endif %} diff --git a/files/templates/sign_up.html b/files/templates/sign_up.html index 7a362d65f..9d3024b21 100644 --- a/files/templates/sign_up.html +++ b/files/templates/sign_up.html @@ -31,7 +31,7 @@ {% if ref_user %}{{ref_user.username}} invites you to {{'SITE_NAME' | app_config}}{% else %}Sign up - {{'SITE_NAME' | app_config}}{% endif %} - + diff --git a/files/templates/sign_up_failed_ref.html b/files/templates/sign_up_failed_ref.html index 7600de863..6d02cafbe 100644 --- a/files/templates/sign_up_failed_ref.html +++ b/files/templates/sign_up_failed_ref.html @@ -32,7 +32,7 @@ {% if ref_user %}{{ref_user.username}} invites you to {{'SITE_NAME' | app_config}}{% else %}{{'SITE_NAME' | app_config}}{% endif %} - + diff --git a/files/templates/submit.html b/files/templates/submit.html index ea39eb3b3..bec3f8c24 100644 --- a/files/templates/submit.html +++ b/files/templates/submit.html @@ -26,7 +26,7 @@ {% block stylesheets %} {% if v %} - + {% if v.agendaposter %} - + {% endif %} {% endblock %}