forked from rDrama/rDrama
39 lines
1.6 KiB
HTML
39 lines
1.6 KiB
HTML
<!-- Report Comment Modal -->
|
|
<div class="modal fade" id="reportCommentModal" tabindex="-1" role="dialog" aria-labelledby="reportCommentModalTitle" 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="comment-author"></span>'s comment</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="reportCommentFormBefore">
|
|
<form id="report-comment-form" method="post">
|
|
<div class="modal-body">
|
|
<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-comment" class="form-control"/>
|
|
</div>
|
|
<div class="modal-footer">
|
|
<button type="button" class="btn btn-link text-muted" data-dismiss="modal">Cancel</button>
|
|
<button type="button" id="reportCommentButton" class="btn btn-danger">Report comment</button>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
<!-- After report is made, show this -->
|
|
<div class="d-none" id="reportCommentFormAfter">
|
|
<div class="modal-body">
|
|
<div class="h6">Thank you for reporting this comment!</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>
|
|
</div>
|