organize modals
This commit is contained in:
parent
b32d32a658
commit
8240ddcc43
7 changed files with 5 additions and 11 deletions
|
@ -200,7 +200,7 @@
|
|||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
{% include "expanded_image_modal.html" %}
|
||||
{% include "component/modal/expanded_image.html.html" %}
|
||||
|
||||
<script src="{{ 'js/comments+submission_listing.js' | asset }}"></script>
|
||||
<script src="{{ 'js/comments.js' | asset }}"></script>
|
||||
|
|
|
@ -10,19 +10,13 @@
|
|||
</button>
|
||||
</div>
|
||||
<div class="modal-body text-center">
|
||||
|
||||
<div class="py-4">
|
||||
<i class="fas fa-trash-alt text-muted d-none d-md-block" style="font-size: 3.5rem;"></i>
|
||||
</div>
|
||||
|
||||
<div class="h4 d-md-none">Delete post?</div>
|
||||
|
||||
<p class="d-none d-md-block">Your post will be deleted everywhere on {{SITE_TITLE}}.</p>
|
||||
|
||||
<p class="text-muted d-md-none">Your post will be deleted everywhere on {{SITE_TITLE}}.</p>
|
||||
|
||||
<button id="deletePostButton" class="btn btn-danger btn-block mt-5" data-bs-dismiss="modal">Delete post</button>
|
||||
|
||||
<button class="btn btn-secondary btn-block" data-bs-dismiss="modal">Cancel</button>
|
||||
</div>
|
||||
</div>
|
|
@ -461,6 +461,6 @@ line breaks
|
|||
|
||||
<h5>Comment Commands</h5>
|
||||
|
||||
{% include "expanded_image_modal.html" %}
|
||||
{% include "component/modal/expanded_image.html.html" %}
|
||||
|
||||
{% endblock %}
|
||||
|
|
|
@ -553,7 +553,7 @@
|
|||
</div>
|
||||
|
||||
{% if v and v.id==p.author_id %}
|
||||
{% include "delete_post_modal.html" %}
|
||||
{% include "component/modal/delete_post.html" %}
|
||||
{% endif %}
|
||||
|
||||
{% if v %}
|
||||
|
|
|
@ -407,13 +407,13 @@
|
|||
{% endfor %}
|
||||
|
||||
{% if v %}
|
||||
{% include "delete_post_modal.html" %}
|
||||
{% include "component/modal/delete_post.html" %}
|
||||
{% include "report_post_modal.html" %}
|
||||
{% if v.admin_level > 1 %}
|
||||
{% include "ban_modal.html" %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% include "expanded_image_modal.html" %}
|
||||
{% include "component/modal/expanded_image.html.html" %}
|
||||
|
||||
<script src="{{ 'js/clipboard.js' | asset }}"></script>
|
||||
<script src="{{ 'js/comments+submission_listing.js' | asset }}"></script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue