From 0f05bf3f9402039065563bbe579889555c4b0788 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Tue, 26 Apr 2022 00:28:20 +0200 Subject: [PATCH] fsd --- files/classes/sub.py | 2 +- files/classes/user.py | 2 +- files/routes/comments.py | 2 +- files/routes/users.py | 2 +- files/templates/authforms.html | 2 +- files/templates/chat.html | 2 +- files/templates/default.html | 66 ++++++++++++------------- files/templates/header.html | 6 +-- files/templates/login.html | 2 +- files/templates/login_2fa.html | 2 +- files/templates/settings.html | 6 +-- files/templates/settings2.html | 8 +-- files/templates/sign_up.html | 6 +-- files/templates/sign_up_failed_ref.html | 6 +-- files/templates/submission.html | 8 +-- files/templates/submit.html | 2 +- files/templates/userpage.html | 4 +- 17 files changed, 64 insertions(+), 64 deletions(-) diff --git a/files/classes/sub.py b/files/classes/sub.py index b1871bbcb..98e0c7f6b 100644 --- a/files/classes/sub.py +++ b/files/classes/sub.py @@ -38,7 +38,7 @@ class Sub(Base): @lazy def banner_url(self): if self.bannerurl: return SITE_FULL + self.bannerurl - return f'/assets/images/{SITE_NAME}/banner.webp?v=1042' + return f'/assets/images/{SITE_NAME}/banner.webp?v=1043' @property @lazy diff --git a/files/classes/user.py b/files/classes/user.py index c65f351b5..b396938f1 100644 --- a/files/classes/user.py +++ b/files/classes/user.py @@ -501,7 +501,7 @@ class User(Base): @lazy def banner_url(self): if self.bannerurl: return self.bannerurl - else: return f"/assets/images/{SITE_NAME}/site_preview.webp?v=1013" + else: return f"/assets/images/{SITE_NAME}/site_preview.webp?v=1014" @property @lazy diff --git a/files/routes/comments.py b/files/routes/comments.py index 87a453ecd..3838bff61 100644 --- a/files/routes/comments.py +++ b/files/routes/comments.py @@ -39,7 +39,7 @@ def pusher_thread(interests, c, username): 'title': f'New reply by @{username}', 'body': notifbody, 'deep_link': f'{SITE_FULL}/comment/{c.id}?context=8&read=true#context', - 'icon': f'{SITE_FULL}/assets/images/{SITE_NAME}/icon.webp?v=1012', + 'icon': f'{SITE_FULL}/assets/images/{SITE_NAME}/icon.webp?v=1013', } }, 'fcm': { diff --git a/files/routes/users.py b/files/routes/users.py index 9c736c2c5..a7e532611 100644 --- a/files/routes/users.py +++ b/files/routes/users.py @@ -26,7 +26,7 @@ def pusher_thread2(interests, notifbody, username): 'title': f'New message from @{username}', 'body': notifbody, 'deep_link': f'{SITE_FULL}/notifications?messages=true', - 'icon': f'{SITE_FULL}/assets/images/{SITE_NAME}/icon.webp?v=1012', + 'icon': f'{SITE_FULL}/assets/images/{SITE_NAME}/icon.webp?v=1013', } }, 'fcm': { diff --git a/files/templates/authforms.html b/files/templates/authforms.html index 216e38f03..377475c1c 100644 --- a/files/templates/authforms.html +++ b/files/templates/authforms.html @@ -110,7 +110,7 @@
- cover + cover diff --git a/files/templates/chat.html b/files/templates/chat.html index c7ae0ea9a..0e33b083a 100644 --- a/files/templates/chat.html +++ b/files/templates/chat.html @@ -9,7 +9,7 @@ - + Chat diff --git a/files/templates/default.html b/files/templates/default.html index b4a265c5b..f66113a36 100644 --- a/files/templates/default.html +++ b/files/templates/default.html @@ -63,16 +63,16 @@ - + - + {% block title %} {{SITE_NAME}} - + @@ -83,7 +83,7 @@ - + {% endblock %} @@ -92,10 +92,10 @@ - + - - + + @@ -107,127 +107,127 @@ {% block fixedMobileBarJS %} @@ -254,7 +254,7 @@ {% else %} - site banner + site banner {% endif %} {% endif %} diff --git a/files/templates/header.html b/files/templates/header.html index a5666f0a3..1e15052d7 100644 --- a/files/templates/header.html +++ b/files/templates/header.html @@ -30,7 +30,7 @@ diff --git a/files/templates/login_2fa.html b/files/templates/login_2fa.html index f12dc0891..a25290069 100644 --- a/files/templates/login_2fa.html +++ b/files/templates/login_2fa.html @@ -92,7 +92,7 @@
- cover + cover diff --git a/files/templates/settings.html b/files/templates/settings.html index 1597bf681..11942076f 100644 --- a/files/templates/settings.html +++ b/files/templates/settings.html @@ -12,13 +12,13 @@ - + {% block pagetitle %}Settings - {{SITE_NAME}}{% endblock %} - + @@ -29,7 +29,7 @@ - + diff --git a/files/templates/settings2.html b/files/templates/settings2.html index 071a7c269..6e561083f 100644 --- a/files/templates/settings2.html +++ b/files/templates/settings2.html @@ -12,13 +12,13 @@ - - + + - + @@ -29,7 +29,7 @@ - + diff --git a/files/templates/sign_up.html b/files/templates/sign_up.html index 1efe492c3..a7798a9cb 100644 --- a/files/templates/sign_up.html +++ b/files/templates/sign_up.html @@ -14,7 +14,7 @@ - + @@ -25,7 +25,7 @@ - + {% if ref_user %}{{ref_user.username}} invites you to {{SITE_NAME}}{% else %}Sign up - {{SITE_NAME}}{% endif %} @@ -139,7 +139,7 @@
- cover + cover diff --git a/files/templates/sign_up_failed_ref.html b/files/templates/sign_up_failed_ref.html index 9779f8b12..e36b218b2 100644 --- a/files/templates/sign_up_failed_ref.html +++ b/files/templates/sign_up_failed_ref.html @@ -15,7 +15,7 @@ - + @@ -26,7 +26,7 @@ - + {% if ref_user %}{{ref_user.username}} invites you to {{SITE_NAME}}{% else %}{{SITE_NAME}}{% endif %} @@ -83,7 +83,7 @@
- cover + cover diff --git a/files/templates/submission.html b/files/templates/submission.html index 714ee83dd..62dc50818 100644 --- a/files/templates/submission.html +++ b/files/templates/submission.html @@ -505,7 +505,7 @@ - + {% if p.is_video %} {% endif %} @@ -517,7 +517,7 @@ - + {% else %} @@ -530,7 +530,7 @@ {% if p.author %}{% endif %} - + {% if p.url and p.is_video %} {% endif %} @@ -542,7 +542,7 @@ {% if p.author %}{% endif %} - + {% endif %} diff --git a/files/templates/submit.html b/files/templates/submit.html index 52b3151ce..280c2b6f5 100644 --- a/files/templates/submit.html +++ b/files/templates/submit.html @@ -10,7 +10,7 @@ - + {% if request.host == 'pcmemes.net' %} {% set cc='Splash Mountain' %} diff --git a/files/templates/userpage.html b/files/templates/userpage.html index 8b64842bf..d136934bf 100644 --- a/files/templates/userpage.html +++ b/files/templates/userpage.html @@ -112,7 +112,7 @@
{{u.coins}} - coins   + coins   {{u.procoins}} marseybux   @@ -409,7 +409,7 @@
{{u.coins}} - coins   + coins   {{u.procoins}} marseybux