2023-01-20 07:14:59 +00:00
|
|
|
<div class="modal fade" id="banModal" tabindex="-1">
|
|
|
|
<div class="modal-dialog modal-dialog-centered">
|
2022-05-04 23:09:46 +00:00
|
|
|
<div class="modal-content">
|
|
|
|
<div class="modal-header pt-3">
|
|
|
|
<h5 id="banModalTitle"></h5>
|
2022-12-25 02:10:56 +00:00
|
|
|
<button type="button" class="close" data-bs-dismiss="modal">
|
|
|
|
<span><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">
|
|
|
|
|
2023-01-24 05:10:16 +00:00
|
|
|
<input hidden name="formkey" value="{{v|formkey}}">
|
2022-05-04 23:09:46 +00:00
|
|
|
|
|
|
|
<label for="ban-modal-link">Public ban reason (optional)</label>
|
2023-03-07 00:20:53 +00:00
|
|
|
|
|
|
|
<input autocomplete="off" name="reason" id="ban-modal-link" class="form-control" placeholder="Enter reason" maxlength="256">
|
2022-05-04 23:09:46 +00:00
|
|
|
|
2022-11-05 02:12:17 +00:00
|
|
|
<label for="days" class="mt-3">Days</label>
|
2023-03-06 23:51:18 +00:00
|
|
|
<input autocomplete="off" type="number" step="any" name="days" id="days" class="form-control" placeholder="Leave blank for permanent">
|
2022-05-04 23:09:46 +00:00
|
|
|
|
|
|
|
<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>
|
|
|
|
|
2023-02-10 04:33:55 +00:00
|
|
|
<div class="modal-footer pr-0">
|
|
|
|
<button type="button" class="btn btn-link text-muted" data-bs-dismiss="modal">Cancel</button>
|
|
|
|
<button type="button" id="banUserButton" class="btn btn-danger btn-primary mr-0" data-bs-dismiss="modal"></button>
|
|
|
|
</div>
|
2022-05-04 23:09:46 +00:00
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-07-09 08:35:47 +00:00
|
|
|
</div>
|
|
|
|
|
2023-01-20 07:14:59 +00:00
|
|
|
<div class="modal fade" id="chudModal" tabindex="-1">
|
|
|
|
<div class="modal-dialog modal-dialog-centered">
|
2022-11-05 02:12:17 +00:00
|
|
|
<div class="modal-content">
|
|
|
|
<div class="modal-header pt-3">
|
|
|
|
<h5 id="chudModalTitle"></h5>
|
2022-12-25 02:10:56 +00:00
|
|
|
<button type="button" class="close" data-bs-dismiss="modal">
|
|
|
|
<span><i class="far fa-times"></i></span>
|
2022-11-05 02:12:17 +00:00
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div class="modal-body pt-0" id="chud-modal-body">
|
|
|
|
|
|
|
|
<form id="chudModalForm">
|
2023-01-24 05:10:16 +00:00
|
|
|
<input hidden name="formkey" value="{{v|formkey}}">
|
|
|
|
<input hidden name="reason" id="chud-modal-link">
|
2022-11-05 02:12:17 +00:00
|
|
|
|
|
|
|
<label for="days">Days</label>
|
2023-03-06 23:51:18 +00:00
|
|
|
<input autocomplete="off" type="number" step="any" name="days" id="days" class="form-control" placeholder="Leave blank for permanent">
|
2023-02-10 04:33:55 +00:00
|
|
|
|
|
|
|
<div class="modal-footer pr-0">
|
|
|
|
<button type="button" class="btn btn-link text-muted" data-bs-dismiss="modal">Cancel</button>
|
|
|
|
<button type="button" id="chudUserButton" class="btn btn-danger btn-primary mr-0" data-bs-dismiss="modal"></button>
|
|
|
|
</div>
|
2022-11-05 02:12:17 +00:00
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2022-09-24 07:04:06 +00:00
|
|
|
<script defer src="{{'js/ban_modal.js' | asset}}"></script>
|