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>
2022-02-01 02:20:25 +00:00
<button class="close" data-bs-dismiss="modal" aria-label="Close">
2021-10-15 14:08:27 +00:00
<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>
2021-12-28 12:41:26 +00:00
<input autocomplete="off" 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">
2022-02-01 02:20:25 +00:00
<button class="btn btn-link text-muted" data-bs-dismiss="modal">Cancel</button>
<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">
2022-02-01 02:20:25 +00:00
<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
2022-02-28 02:06:15 +00:00
<script src="/static/assets/js/report_post_modal.js?v=241"></script>