forked from rDrama/rDrama
58 lines
2.2 KiB
HTML
58 lines
2.2 KiB
HTML
<div class="modal" id="m-ban" tabindex="-1">
|
|
<div class="modal-dialog modal-dialog-centered">
|
|
<div class="modal-content">
|
|
<div class="modal-header pt-3">
|
|
<h5 id="banModalTitle"></h5>
|
|
<button type="button" class="close" dismiss_modal>
|
|
<span><i class="fas fa-times"></i></span>
|
|
</button>
|
|
</div>
|
|
<div class="modal-body" id="ban-modal-body">
|
|
|
|
<label for="ban_reason">Public ban reason (optional)</label>
|
|
|
|
<input autocomplete="off" name="reason" id="ban_reason" class="form-control" placeholder="Enter reason" maxlength="256">
|
|
|
|
<label for="days" class="mt-3">Days</label>
|
|
<input autocomplete="off" type="number" step="any" name="days" max="{{max_days()}}" id="ban_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="ban_alts" name="alts">
|
|
<label class="custom-control-label" for="ban_alts">Ban known alts</label>
|
|
</div>
|
|
|
|
<div class="modal-footer pr-0">
|
|
<button type="button" class="btn btn-link text-muted" dismiss_modal>Cancel</button>
|
|
<button type="button" id="banUserButton" class="btn btn-danger btn-primary mr-0" dismiss_modal></button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="modal" id="m-chud" tabindex="-1">
|
|
<div class="modal-dialog modal-dialog-centered">
|
|
<div class="modal-content">
|
|
<div class="modal-header pt-3">
|
|
<h5 id="chudModalTitle"></h5>
|
|
<button type="button" class="close" dismiss_modal>
|
|
<span><i class="fas fa-times"></i></span>
|
|
</button>
|
|
</div>
|
|
<div class="modal-body pt-0" id="chud-modal-body">
|
|
<input id="chud_reason" hidden name="reason" id="chud_reason">
|
|
|
|
<label for="days">Days</label>
|
|
<input autocomplete="off" type="number" step="any" name="days" max="{{max_days()}}" id="chud_days" class="form-control" placeholder="Leave blank for permanent">
|
|
|
|
<div class="modal-footer pr-0">
|
|
<button type="button" class="btn btn-link text-muted" dismiss_modal>Cancel</button>
|
|
<button type="button" id="chudUserButton" class="btn btn-danger btn-primary mr-0" dismiss_modal></button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<script defer src="{{'js/admin/punish_modal.js' | asset}}"></script>
|