From efc793292a7f19a8565f310a10e3e74b2fa82ddb Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sat, 25 Sep 2021 23:13:52 +0200 Subject: [PATCH] sdf --- compilecss.py | 4 +- files/templates/2fa_modal.html | 68 - files/templates/authforms.html | 9 +- files/templates/award_modal.html | 183 ++- files/templates/ban_modal.html | 25 + files/templates/comments.html | 533 ++++++- files/templates/default.html | 1240 +++-------------- files/templates/delete_comment_modal.html | 28 - files/templates/delete_post_modal.html | 27 + files/templates/emoji_modal.html | 109 ++ files/templates/expanded_image_modal.html | 33 + files/templates/flag_comment_modal.html | 38 - files/templates/gif_modal.html | 142 ++ files/templates/log.html | 6 +- files/templates/login.html | 13 +- files/templates/login_2fa.html | 8 +- files/templates/mobile_navigation_bar.html | 53 + files/templates/notifications.html | 3 - ...post_modal.html => report_post_modal.html} | 52 + files/templates/search.html | 4 +- files/templates/settings.html | 82 +- files/templates/settings2.html | 17 +- files/templates/sign_up.html | 14 +- files/templates/submission.html | 22 + files/templates/submission_listing.html | 4 +- files/templates/submit.html | 13 +- files/templates/userpage.html | 67 +- push.sh | 16 +- 28 files changed, 1549 insertions(+), 1264 deletions(-) delete mode 100644 files/templates/2fa_modal.html delete mode 100644 files/templates/delete_comment_modal.html delete mode 100644 files/templates/flag_comment_modal.html rename files/templates/{flag_post_modal.html => report_post_modal.html} (50%) diff --git a/compilecss.py b/compilecss.py index e54852d29..923a70f22 100644 --- a/compilecss.py +++ b/compilecss.py @@ -1,7 +1,7 @@ for theme in ['transparent', 'win98', 'midnight', 'dark', 'light', 'coffee', 'tron', '4chan']: - with open(f"./files/assets/style/{theme}_ff66ac.css", encoding='utf-8') as t: + with open(f"./files/assets/css/{theme}_ff66ac.css", encoding='utf-8') as t: text = t.read() for color in ['ff66ac','805ad5','62ca56','38a169','80ffff','2a96f3','62ca56','eb4963','ff0000','f39731','30409f','3e98a7','e4432d','7b9ae4','ec72de','7f8fa6', 'f8db58']: newtext = text.replace("ff66ac", color).replace("ff4097", color).replace("ff1a83", color).replace("ff3390", color).replace("rgba(255, 102, 172, 0.25)", color) - with open(f"./files/assets/style/{theme}_{color}.css", encoding='utf-8', mode='w') as nt: + with open(f"./files/assets/css/{theme}_{color}.css", encoding='utf-8', mode='w') as nt: nt.write(newtext) \ No newline at end of file diff --git a/files/templates/2fa_modal.html b/files/templates/2fa_modal.html deleted file mode 100644 index 3b9afaccc..000000000 --- a/files/templates/2fa_modal.html +++ /dev/null @@ -1,68 +0,0 @@ - - - \ No newline at end of file diff --git a/files/templates/authforms.html b/files/templates/authforms.html index b352c22e2..e37e7cb09 100644 --- a/files/templates/authforms.html +++ b/files/templates/authforms.html @@ -12,19 +12,16 @@ - - {% if v %} - - {% if v.agendaposter %}{% elif v.css %}{% endif %} + + {% if v.agendaposter %}{% elif v.css %}{% endif %} {% else %} - + {% endif %} diff --git a/files/templates/award_modal.html b/files/templates/award_modal.html index 3c638d503..2d0f860a7 100644 --- a/files/templates/award_modal.html +++ b/files/templates/award_modal.html @@ -1,10 +1,181 @@