MarseyWorld/files/templates/modals/delete_post.html

31 lines
1.1 KiB
HTML
Raw Normal View History

<div class="modal fade" id="deletePostModal" tabindex="-1" role="dialog">
<div class="modal-dialog modal-dialog-centered" role="document">
2022-05-04 23:09:46 +00:00
<div class="modal-content">
<div class="modal-header d-none d-md-flex">
<h5 class="modal-title">Delete post?</h5>
2022-12-25 02:10:56 +00:00
<button type="button" class="close" data-bs-dismiss="modal">
<span><i class="far fa-times"></i></span>
2022-05-04 23:09:46 +00:00
</button>
</div>
<div class="modal-body text-center">
<div class="py-4">
2022-10-23 17:57:38 +00:00
<i class="fas fa-trash-alt text-muted d-mob-none" style="font-size: 3.5rem;"></i>
2022-05-04 23:09:46 +00:00
</div>
2022-10-29 00:55:49 +00:00
<h4 class="d-md-none">Delete post?</h4>
2022-05-04 23:09:46 +00:00
2022-10-23 17:57:38 +00:00
<p class="d-mob-none">Your post will be deleted everywhere on {{SITE_NAME}}.</p>
2022-05-04 23:09:46 +00:00
<p class="text-muted d-md-none">Your post will be deleted everywhere on {{SITE_NAME}}.</p>
2022-10-28 23:35:14 +00:00
<button type="button" id="deletePostButton" class="btn btn-danger btn-block mt-5" data-bs-dismiss="modal">Delete post</button>
2022-05-04 23:09:46 +00:00
2022-10-28 23:35:14 +00:00
<button type="button" class="btn btn-secondary btn-block" data-bs-dismiss="modal">Cancel</button>
2022-05-04 23:09:46 +00:00
</div>
</div>
</div>
</div>
<script defer src="{{'js/delete_post_modal.js' | asset}}"></script>