MarseyWorld/files/templates/ban_modal.html

38 lines
1.6 KiB
HTML
Raw Normal View History

2021-10-15 14:08:27 +00:00
2022-02-28 02:06:15 +00:00
<script src="/static/assets/js/ban_modal.js?v=240"></script>
2021-10-15 14:08:27 +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">
2021-12-14 22:48:37 +00:00
<div class="modal-content">
2021-10-15 14:08:27 +00:00
<div class="modal-header pt-3">
<h5 id="banModalTitle"></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>
<div class="modal-body" id="ban-modal-body">
<form id="banModalForm">
2022-03-19 16:19:02 +00:00
<input type="hidden" name="formkey" value="{{v.formkey}}">
2021-10-15 14:08:27 +00:00
<label for="ban-modal-link">Public ban reason (optional)</label>
2021-12-28 12:41:26 +00:00
<textarea autocomplete="off" maxlength="64" name="reason" form="banModalForm" class="form-control" id="ban-modal-link" aria-label="With textarea" placeholder="Enter reason"></textarea>
2021-10-15 14:08:27 +00:00
<label for="days" class="mt-3">Duration days</label>
2022-03-06 01:53:11 +00:00
<input autocomplete="off" type="number" step="any" name="days" id="days" class="form-control" placeholder="leave blank for permanent">
2021-10-15 14:08:27 +00:00
<div class="custom-control custom-switch mt-3">
2021-12-28 12:41:26 +00:00
<input autocomplete="off" type="checkbox" class="custom-control-input" id="alts" name="alts">
2021-10-15 14:08:27 +00:00
<label class="custom-control-label" for="alts">Ban known alts</label>
</div>
</form>
</div>
<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="banUserButton" class="btn btn-danger" data-bs-dismiss="modal"></button>
2021-10-15 14:08:27 +00:00
</div>
</div>
</div>
2021-09-17 14:02:47 +00:00
</div>