MarseyWorld/files/templates/report_post_modal.html

35 lines
1.5 KiB
HTML
Raw Normal View History

2021-10-15 14:08:27 +00:00
<div class="modal fade" id="reportPostModal" tabindex="-1" role="dialog" aria-labelledby="reportPostModalTitle" aria-hidden="true">
2021-12-14 22:48:37 +00:00
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
2021-10-15 14:08:27 +00:00
<div class="modal-header">
2021-12-14 22:48:37 +00:00
<h5 class="modal-title">Report post</h5>
2021-10-15 14:08:27 +00:00
<button type="button" class="close" data-bs-dismiss="modal" aria-label="Close">
<span aria-hidden="true"><i class="far fa-times"></i></span>
</button>
</div>
2021-10-29 02:46:21 +00:00
<div id="reportPostFormBefore">
<div class="modal-body">
2021-12-14 22:48:37 +00:00
<div class="h6">We're sorry something here is wrong.</div>
<small class="form-text text-muted">Please enter a reason for reporting below.</small>
<pre></pre>
<input maxlength="100" id="reason" class="form-control b2">
2021-10-29 02:46:21 +00:00
</div>
2021-12-14 22:48:37 +00:00
<div class="modal-footer">
<button type="button" class="btn btn-link text-muted" data-bs-dismiss="modal">Cancel</button>
<button type="button" id="reportPostButton" class="btn btn-danger">Report post</button>
2021-10-29 02:46:21 +00:00
</div>
2021-10-15 14:08:27 +00:00
</div>
2021-12-14 22:48:37 +00:00
<div class="d-none" id="reportPostFormAfter">
2021-10-15 14:08:27 +00:00
<div class="modal-body">
2021-12-14 22:48:37 +00:00
<div class="h6">Thank you for reporting this post!</div>
<small class="form-text text-muted">We'll take it from here.</small>
2021-10-15 14:08:27 +00:00
</div>
2021-12-14 22:48:37 +00:00
<div class="modal-footer">
<button type="button" class="btn btn-primary" data-bs-dismiss="modal">Close</button>
2021-10-15 14:08:27 +00:00
</div>
</div>
</div>
</div>
2021-11-30 17:32:52 +00:00
</div>
2021-12-14 22:48:37 +00:00
2021-12-24 23:00:09 +00:00
<script src="/static/assets/js/report_post_modal.js?a=3"></script>