2021-07-21 01:12:26 +00:00
|
|
|
<!-- Report Post Modal -->
|
|
|
|
<div class="modal fade" id="reportPostModal" tabindex="-1" role="dialog" aria-labelledby="reportPostModalTitle" aria-hidden="true">
|
|
|
|
<div class="modal-dialog modal-dialog-centered" role="document">
|
|
|
|
<div class="modal-content">
|
|
|
|
<div class="modal-header">
|
|
|
|
<h5 class="modal-title">Report <span id="post-author"></span>'s post</h5>
|
|
|
|
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
|
|
|
<span aria-hidden="true"><i class="far fa-times"></i></span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<!-- Before report is made, show this -->
|
|
|
|
<div class="" id="reportPostFormBefore">
|
|
|
|
<form id="report-post-form" method="post">
|
|
|
|
<div class="modal-body">
|
|
|
|
<div class="h6">We're sorry something here is wrong.</div>
|
2021-07-24 18:40:34 +00:00
|
|
|
<small class="form-text text-muted">Please enter a reason for reporting below.</small>
|
2021-07-24 18:23:56 +00:00
|
|
|
<pre></pre>
|
2021-07-24 18:32:20 +00:00
|
|
|
<input maxlength="100" id="reason" class="form-control"/>
|
2021-07-24 18:23:56 +00:00
|
|
|
</div>
|
2021-07-21 01:12:26 +00:00
|
|
|
<div class="modal-footer">
|
|
|
|
<button type="button" class="btn btn-link text-muted" data-dismiss="modal">Cancel</button>
|
2021-07-24 18:17:27 +00:00
|
|
|
<button type="button" id="reportPostButton" class="btn btn-danger">Report post</button>
|
2021-07-21 01:12:26 +00:00
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
<!-- After report is made, show this -->
|
|
|
|
<div class="d-none" id="reportPostFormAfter">
|
|
|
|
<div class="modal-body">
|
|
|
|
<div class="h6">Thank you for reporting this post!</div>
|
|
|
|
<small class="form-text text-muted">We'll take it from here.</small>
|
|
|
|
</div>
|
|
|
|
<div class="modal-footer">
|
|
|
|
<button type="button" class="btn btn-primary" data-dismiss="modal">Close</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2021-07-24 23:30:02 +00:00
|
|
|
</div>
|