From e1634d0940cbc225ca9d00c1941e326f07f3de0b Mon Sep 17 00:00:00 2001 From: justcool393 Date: Tue, 15 Nov 2022 13:14:29 -0600 Subject: [PATCH] modals: move all modals to a modals dir --- files/templates/chat.html | 4 ++-- files/templates/comments.html | 8 ++++---- files/templates/contact.html | 2 +- files/templates/default.html | 2 +- files/templates/{award_modal.html => modals/award.html} | 0 files/templates/{ban_modal.html => modals/ban.html} | 0 .../{delete_post_modal.html => modals/delete_post.html} | 0 files/templates/{emoji_modal.html => modals/emoji.html} | 0 .../expanded_image.html} | 0 files/templates/{gif_modal.html => modals/gif.html} | 0 .../{report_post_modal.html => modals/report_post.html} | 0 files/templates/settings/personal.html | 4 ++-- files/templates/submission.html | 4 ++-- files/templates/submission_listing.html | 8 ++++---- files/templates/submit.html | 4 ++-- files/templates/userpage.html | 2 +- files/templates/userpage/private.html | 2 +- 17 files changed, 20 insertions(+), 20 deletions(-) rename files/templates/{award_modal.html => modals/award.html} (100%) rename files/templates/{ban_modal.html => modals/ban.html} (100%) rename files/templates/{delete_post_modal.html => modals/delete_post.html} (100%) rename files/templates/{emoji_modal.html => modals/emoji.html} (100%) rename files/templates/{expanded_image_modal.html => modals/expanded_image.html} (100%) rename files/templates/{gif_modal.html => modals/gif.html} (100%) rename files/templates/{report_post_modal.html => modals/report_post.html} (100%) diff --git a/files/templates/chat.html b/files/templates/chat.html index 1d5c01141..8c635a517 100644 --- a/files/templates/chat.html +++ b/files/templates/chat.html @@ -10,8 +10,8 @@ {{html_head.html_head(true, true, true, csp, "Chat", none, "", false)}} {% include "header.html" %} - {% include "expanded_image_modal.html" %} - {% include "emoji_modal.html" %} + {% include "modals/expanded_image.html" %} + {% include "modals/emoji.html" %}
= PERMS['USER_BAN'] %} - {% include "ban_modal.html" %} + {% include "modals/ban.html" %} {% endif %}
-{% include "emoji_modal.html" %} -{% include "gif_modal.html" %} +{% include "modals/emoji.html" %} +{% include "modals/gif.html" %} {% if v.flairchanged %} - {% include "emoji_modal.html" %} - {% include "gif_modal.html" %} + {% include "modals/emoji.html" %} + {% include "modals/gif.html" %} diff --git a/files/templates/userpage.html b/files/templates/userpage.html index b4cc56027..0ddfe13fa 100644 --- a/files/templates/userpage.html +++ b/files/templates/userpage.html @@ -624,7 +624,7 @@ {% endif %} {% if v and v.id != u.id and '/comments' not in request.path %} - {% include "emoji_modal.html" %} + {% include "modals/emoji.html" %} {% endif %} {% endblock %} diff --git a/files/templates/userpage/private.html b/files/templates/userpage/private.html index 9c0eb3251..22730f238 100644 --- a/files/templates/userpage/private.html +++ b/files/templates/userpage/private.html @@ -33,7 +33,7 @@ {% if v %}
{% if v.patron or u.patron %}0{% else %}0.03{% endif %}
{{u.username}}
- {%- include "emoji_modal.html" -%} + {%- include "modals/emoji.html" -%} {% endif %}