From 20a9c9c39c4a5287d665d2585a6a20b00162079d Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Fri, 25 Feb 2022 18:48:31 +0200 Subject: [PATCH] dfs --- files/helpers/const.py | 2 +- files/templates/emoji_modal.html | 12 -------- files/templates/header.html | 4 +-- files/templates/sidebar_Drama.html | 3 +- files/templates/sidebar_Ruqqus.html | 46 ----------------------------- files/templates/submit.html | 2 +- readme.md | 2 +- 7 files changed, 7 insertions(+), 64 deletions(-) delete mode 100644 files/templates/sidebar_Ruqqus.html diff --git a/files/helpers/const.py b/files/helpers/const.py index 642b0272d..bb3b9ef6d 100644 --- a/files/helpers/const.py +++ b/files/helpers/const.py @@ -141,7 +141,7 @@ AGENDAPOSTER_MSG = """Hi @{username},\n\nYour {type} has been automatically remo included. \n\n*This is an automated message; if you need help, you can message us [here](/contact).*""" -if SITE in {'rdrama.net','devrama.xyz','ruqqus.us'}: +if SITE in {'rdrama.net','devrama.xyz'}: NOTIFICATIONS_ID = 1046 AUTOJANNY_ID = 2360 SNAPPY_ID = 261 diff --git a/files/templates/emoji_modal.html b/files/templates/emoji_modal.html index ee4034c2d..99577e448 100644 --- a/files/templates/emoji_modal.html +++ b/files/templates/emoji_modal.html @@ -9,12 +9,6 @@ Favorite - {% if SITE_NAME == 'Ruqqus' %} - - {% endif %} - @@ -63,12 +57,6 @@
- {% if SITE_NAME == 'Ruqqus' %} -
-
-
- {% endif %} -
diff --git a/files/templates/header.html b/files/templates/header.html index daa914ca6..92f99570d 100644 --- a/files/templates/header.html +++ b/files/templates/header.html @@ -166,7 +166,7 @@ {% if request.host != 'pcmemes.net' %} Discord {% endif %} - {% if not (g.webview and v.truecoins < 1) and SITE_NAME != 'Ruqqus' %} + {% if not (g.webview and v.truecoins < 1) %} Donate {% endif %} {% if SITE_NAME == 'Drama' %}Archives{% endif %} @@ -226,7 +226,7 @@ {% if request.host != 'pcmemes.net' %} Discord {% endif %} - {% if not (g.webview and v.truecoins < 1) and SITE_NAME != 'Ruqqus' %} + {% if not (g.webview and v.truecoins < 1) %} Donate {% endif %} {% if SITE_NAME == 'Drama' %}Archives{% endif %} diff --git a/files/templates/sidebar_Drama.html b/files/templates/sidebar_Drama.html index 25680a963..062e50dab 100644 --- a/files/templates/sidebar_Drama.html +++ b/files/templates/sidebar_Drama.html @@ -8,7 +8,8 @@ {% endif %} sidebar image - + CREATE SUB + {% if sub %} {% if sub.sidebar_html %}
{{sub.sidebar_html|safe}}
diff --git a/files/templates/sidebar_Ruqqus.html b/files/templates/sidebar_Ruqqus.html deleted file mode 100644 index 2315e400d..000000000 --- a/files/templates/sidebar_Ruqqus.html +++ /dev/null @@ -1,46 +0,0 @@ - \ No newline at end of file diff --git a/files/templates/submit.html b/files/templates/submit.html index d6a486c63..e9ab1d43f 100644 --- a/files/templates/submit.html +++ b/files/templates/submit.html @@ -82,7 +82,7 @@
- + {% for s in SUBS %} diff --git a/readme.md b/readme.md index 96fcc8d79..07581a808 100644 --- a/readme.md +++ b/readme.md @@ -1,4 +1,4 @@ -This code runs https://rdrama.net, https://pcmemes.net, and https://ruqqus.us +This code runs https://rdrama.net and https://pcmemes.net # Installation (Windows/Linux/MacOS)