From f51ce88c0c30921310e2da59d11bceddc177b633 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Wed, 8 Dec 2021 04:38:58 +0200 Subject: [PATCH] sdffsd --- files/templates/authforms.html | 6 ++---- files/templates/default.html | 4 ++-- files/templates/email/default.html | 6 ++---- files/templates/log.html | 4 ++-- files/templates/login.html | 9 ++++----- files/templates/login_2fa.html | 2 +- files/templates/settings.html | 3 +-- files/templates/settings2.html | 6 ++---- files/templates/sign_up.html | 4 +--- files/templates/sign_up_failed_ref.html | 4 +--- files/templates/submission.html | 2 +- files/templates/submission_listing.html | 6 +++++- files/templates/submit.html | 6 ++---- 13 files changed, 26 insertions(+), 36 deletions(-) diff --git a/files/templates/authforms.html b/files/templates/authforms.html index 103586226..d46907db0 100644 --- a/files/templates/authforms.html +++ b/files/templates/authforms.html @@ -10,16 +10,14 @@ {% block pagetitle %}{{'SITE_NAME' | app_config}}{% endblock %} - - {% if v %} - + {% if v.agendaposter %}{% elif v.css %}{% endif %} {% else %} - + {% endif %} diff --git a/files/templates/default.html b/files/templates/default.html index 26807952a..89007c301 100644 --- a/files/templates/default.html +++ b/files/templates/default.html @@ -5,12 +5,12 @@ {% if v %} - + {% if v.agendaposter %}{% elif v.css %}{% endif %} {% else %} - + {% endif %} diff --git a/files/templates/email/default.html b/files/templates/email/default.html index 50146d87f..b81768cd0 100644 --- a/files/templates/email/default.html +++ b/files/templates/email/default.html @@ -7,9 +7,7 @@ - + {% if v.agendaposter %}{% elif v.css %}{% endif %} {% else %} - + {% endif %}
diff --git a/files/templates/login.html b/files/templates/login.html index 3ce8c04cf..e8ee91ee9 100644 --- a/files/templates/login.html +++ b/files/templates/login.html @@ -13,11 +13,10 @@ {% block title %} Login - {{'SITE_NAME' | app_config}} {% endblock %} - - - - - + + + + diff --git a/files/templates/login_2fa.html b/files/templates/login_2fa.html index 6c9d7636a..99059ed08 100644 --- a/files/templates/login_2fa.html +++ b/files/templates/login_2fa.html @@ -12,7 +12,7 @@ 2-Step Login - {{'SITE_NAME' | app_config}} - + diff --git a/files/templates/settings.html b/files/templates/settings.html index 9fb880307..04c0566f4 100644 --- a/files/templates/settings.html +++ b/files/templates/settings.html @@ -28,11 +28,10 @@ - - + {% if v.agendaposter %}{% elif v.css %}{% endif %} diff --git a/files/templates/settings2.html b/files/templates/settings2.html index 5271119bf..360570ef9 100644 --- a/files/templates/settings2.html +++ b/files/templates/settings2.html @@ -33,15 +33,13 @@ {% block pagetitle %}{{'SITE_NAME' | app_config}}{% endblock %} - - {% if v %} - + {% else %} - + {% endif %} diff --git a/files/templates/sign_up.html b/files/templates/sign_up.html index 8e738e57b..b6d249593 100644 --- a/files/templates/sign_up.html +++ b/files/templates/sign_up.html @@ -27,10 +27,8 @@ {% 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 b995b7b89..62b0973f6 100644 --- a/files/templates/sign_up_failed_ref.html +++ b/files/templates/sign_up_failed_ref.html @@ -28,10 +28,8 @@ {% if ref_user %}{{ref_user.username}} invites you to {{'SITE_NAME' | app_config}}{% else %}{{'SITE_NAME' | app_config}}{% endif %} - - - + diff --git a/files/templates/submission.html b/files/templates/submission.html index cd9ad5c7e..da99c2b4c 100644 --- a/files/templates/submission.html +++ b/files/templates/submission.html @@ -446,7 +446,7 @@ diff --git a/files/templates/submission_listing.html b/files/templates/submission_listing.html index 786d6781c..d679f2588 100644 --- a/files/templates/submission_listing.html +++ b/files/templates/submission_listing.html @@ -492,7 +492,7 @@
{% elif p.embed_url and p.domain in ['youtu.be','youtube.com'] and p.embed_url.startswith(' +
{{p.embed_url | safe}}
{% endif %} @@ -647,6 +647,10 @@ background: -webkit-linear-gradient(left, red, orange, yellow, green, blue, indigo, violet ); text-shadow:-1px -1px 0 black,1px -1px 0 black,-1px 1px 0 black,1px 1px 0 black; } + + lite-youtube { + margin: auto + } diff --git a/files/templates/submit.html b/files/templates/submit.html index 01a198f13..416b7e010 100644 --- a/files/templates/submit.html +++ b/files/templates/submit.html @@ -19,17 +19,15 @@ Create a post - {{'SITE_NAME' | app_config}} {% endblock %} - - {% block stylesheets %} {% if v %} - + {% if v.agendaposter %}{% elif v.css %}{% endif %} {% else %} - + {% endif %} {% endblock %}