From a256b02c6efa57d94321b5ca94d1dc1768d2c4ac Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sat, 16 Apr 2022 17:25:17 +0200 Subject: [PATCH] fdsfd --- files/assets/css/main.css | 2 +- files/assets/js/header.js | 2 +- files/assets/js/lozad.js | 2 +- files/templates/authforms.html | 4 ++-- files/templates/chat.html | 4 ++-- files/templates/default.html | 6 +++--- files/templates/header.html | 2 +- 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 +- 14 files changed, 20 insertions(+), 20 deletions(-) diff --git a/files/assets/css/main.css b/files/assets/css/main.css index 7355fbbc7..93a8f1b57 100644 --- a/files/assets/css/main.css +++ b/files/assets/css/main.css @@ -5043,6 +5043,6 @@ th, td { color: green !important; } -img[src="/e/marseylong1"], img[src="/e/marseylong2"], img[src="/e/marseyllama1"], img[src="/e/marseyllama2"] { +img[src="/e/marseylong1.webp"], img[src="/e/marseylong2.webp"], img[src="/e/marseyllama1.webp"], img[src="/e/marseyllama2.webp"] { margin-bottom: 0!important; } \ No newline at end of file diff --git a/files/assets/js/header.js b/files/assets/js/header.js index 3a9444284..23ee52354 100644 --- a/files/assets/js/header.js +++ b/files/assets/js/header.js @@ -36,7 +36,7 @@ function bs_trigger(e) { e.setAttribute("data-bs-toggle", "modal") e.setAttribute("data-bs-target", "#expandImageModal") e.onclick = function(e) { - image = e.target.src + const image = e.target.src document.getElementById("desktop-expanded-image").src = image.replace("200w_d.webp", "giphy.webp"); document.getElementById("desktop-expanded-image-link").href = image; document.getElementById("desktop-expanded-image-wrap-link").href = image; diff --git a/files/assets/js/lozad.js b/files/assets/js/lozad.js index 7e08f7d94..031f88cb5 100644 --- a/files/assets/js/lozad.js +++ b/files/assets/js/lozad.js @@ -9,7 +9,7 @@ for (const e of images) { e.setAttribute("data-bs-toggle", "modal") e.setAttribute("data-bs-target", "#expandImageModal") e.onclick = function(e) { - image = e.target.dataset.src + const image = e.target.dataset.src document.getElementById("desktop-expanded-image").src = image.replace("200w_d.webp", "giphy.webp"); document.getElementById("desktop-expanded-image-link").href = image; document.getElementById("desktop-expanded-image-wrap-link").href = image; diff --git a/files/templates/authforms.html b/files/templates/authforms.html index f75562d9c..87caad23f 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/chat.html b/files/templates/chat.html index 2b4b350f9..7f6371941 100644 --- a/files/templates/chat.html +++ b/files/templates/chat.html @@ -14,7 +14,7 @@ Chat - + {% if v.css %} @@ -197,7 +197,7 @@ {% include "emoji_modal.html" %} {% include "expanded_image_modal.html" %} - + \ No newline at end of file diff --git a/files/templates/default.html b/files/templates/default.html index 9a1925383..ab2b25076 100644 --- a/files/templates/default.html +++ b/files/templates/default.html @@ -7,7 +7,7 @@ {% if v %} - + {% if v.agendaposter %} - + {% endif %} @@ -325,7 +325,7 @@ - + {% if v %} diff --git a/files/templates/header.html b/files/templates/header.html index c97fcd18c..43526cc90 100644 --- a/files/templates/header.html +++ b/files/templates/header.html @@ -259,7 +259,7 @@ - + {% if v and not err %}
{{v.formkey}}
diff --git a/files/templates/log.html b/files/templates/log.html index 9e237ea29..9a2395f31 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 610d3dfee..58ef6d779 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 68bc9ad11..18c8e7ab6 100644 --- a/files/templates/login_2fa.html +++ b/files/templates/login_2fa.html @@ -14,7 +14,7 @@ 2-Step Login - {{SITE_NAME}} - + diff --git a/files/templates/settings.html b/files/templates/settings.html index 65d5a1911..b57a12312 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 db367f6b6..9634a4b6b 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}}{% else %}Sign up - {{SITE_NAME}}{% endif %} - + diff --git a/files/templates/sign_up_failed_ref.html b/files/templates/sign_up_failed_ref.html index aaedaf378..d42c2239a 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}}{% else %}{{SITE_NAME}}{% endif %} - +