2022-05-04 23:09:46 +00:00
|
|
|
|
|
|
|
<div class="modal fade" id="banModal" tabindex="-1" role="dialog" aria-labelledby="banModalTitle" aria-hidden="true">
|
|
|
|
<div class="modal-dialog modal-dialog-centered" role="document">
|
|
|
|
<div class="modal-content">
|
|
|
|
<div class="modal-header pt-3">
|
|
|
|
<h5 id="banModalTitle"></h5>
|
|
|
|
<button class="close" data-bs-dismiss="modal" aria-label="Close">
|
2022-09-08 17:24:00 +00:00
|
|
|
<span aria-hidden="true"><i class="far fa-times"></i></span>
|
2022-05-04 23:09:46 +00:00
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div class="modal-body" id="ban-modal-body">
|
|
|
|
|
|
|
|
<form id="banModalForm">
|
|
|
|
|
|
|
|
<input type="hidden" name="formkey" value="{{v.formkey}}">
|
|
|
|
|
|
|
|
<label for="ban-modal-link">Public ban reason (optional)</label>
|
2022-07-29 22:43:25 +00:00
|
|
|
<textarea autocomplete="off" maxlength="256" name="reason" form="banModalForm" class="form-control" id="ban-modal-link" aria-label="With textarea" placeholder="Enter reason"></textarea>
|
2022-05-04 23:09:46 +00:00
|
|
|
|
|
|
|
<label for="days" class="mt-3">Duration days</label>
|
|
|
|
<input autocomplete="off" type="number" step="any" name="days" id="days" class="form-control" placeholder="leave blank for permanent">
|
|
|
|
|
|
|
|
<div class="custom-control custom-switch mt-3">
|
|
|
|
<input autocomplete="off" type="checkbox" class="custom-control-input" id="alts" name="alts">
|
|
|
|
<label class="custom-control-label" for="alts">Ban known alts</label>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
<div class="modal-footer">
|
|
|
|
<button class="btn btn-link text-muted" data-bs-dismiss="modal">Cancel</button>
|
|
|
|
<button id="banUserButton" class="btn btn-danger" data-bs-dismiss="modal"></button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-07-09 08:35:47 +00:00
|
|
|
</div>
|
|
|
|
|
2022-09-24 07:04:06 +00:00
|
|
|
<script defer src="{{'js/ban_modal.js' | asset}}"></script>
|