2023-10-02 06:04:05 +00:00
|
|
|
<div class="modal fade" id="banModal" tabindex="-1">
|
2023-03-17 14:37:13 +00:00
|
|
|
<div class="modal-dialog modal-dialog-centered">
|
|
|
|
<div class="modal-content">
|
|
|
|
<div class="modal-header pt-3">
|
|
|
|
<h5 id="banModalTitle"></h5>
|
2023-10-02 06:04:05 +00:00
|
|
|
<button type="button" class="close" data-bs-dismiss="modal">
|
2023-08-23 00:52:50 +00:00
|
|
|
<span><i class="fas fa-times"></i></span>
|
2023-03-17 14:37:13 +00:00
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div class="modal-body" id="ban-modal-body">
|
|
|
|
|
|
|
|
<label for="ban_reason">Public ban reason (optional)</label>
|
|
|
|
|
2024-02-14 15:54:36 +00:00
|
|
|
<input autocomplete="off" id="ban_reason" class="form-control" placeholder="Enter reason" maxlength="256">
|
2023-03-17 14:37:13 +00:00
|
|
|
|
|
|
|
<label for="days" class="mt-3">Days</label>
|
2024-02-14 15:54:36 +00:00
|
|
|
<input autocomplete="off" type="number" step="any" max="{{max_days()}}" id="ban_days" class="form-control" placeholder="Leave blank for permanent">
|
2023-03-17 14:37:13 +00:00
|
|
|
|
|
|
|
<div class="custom-control custom-switch mt-3">
|
2024-02-14 15:54:36 +00:00
|
|
|
<input autocomplete="off" type="checkbox" class="custom-control-input" id="ban_alts">
|
2023-03-17 14:37:13 +00:00
|
|
|
<label class="custom-control-label" for="ban_alts">Ban known alts</label>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="modal-footer pr-0">
|
2023-10-02 06:04:05 +00:00
|
|
|
<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>
|
2023-03-17 14:37:13 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2023-10-02 06:04:05 +00:00
|
|
|
<div class="modal fade" id="chudModal" tabindex="-1">
|
2023-03-17 14:37:13 +00:00
|
|
|
<div class="modal-dialog modal-dialog-centered">
|
|
|
|
<div class="modal-content">
|
|
|
|
<div class="modal-header pt-3">
|
|
|
|
<h5 id="chudModalTitle"></h5>
|
2023-10-02 06:04:05 +00:00
|
|
|
<button type="button" class="close" data-bs-dismiss="modal">
|
2023-08-23 00:52:50 +00:00
|
|
|
<span><i class="fas fa-times"></i></span>
|
2023-03-17 14:37:13 +00:00
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div class="modal-body pt-0" id="chud-modal-body">
|
2024-02-14 15:54:36 +00:00
|
|
|
<input id="chud_reason" hidden id="chud_reason">
|
2023-03-17 14:37:13 +00:00
|
|
|
|
2024-02-14 16:01:05 +00:00
|
|
|
<label for="note">The phrase they will have to say:</label>
|
|
|
|
|
|
|
|
<div class="input-group">
|
|
|
|
<select id="chud_phrase_modal" autocomplete="off" class="form-control">
|
|
|
|
{% for entry in CHUD_PHRASES %}
|
|
|
|
<option value="{{entry}}">
|
|
|
|
{{entry}}
|
|
|
|
</option>
|
|
|
|
{% endfor %}
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<label class="mt-3" for="days">Days</label>
|
2024-02-14 15:54:36 +00:00
|
|
|
<input autocomplete="off" type="number" step="any" max="{{max_days()}}" id="chud_days" class="form-control" placeholder="Leave blank for permanent">
|
2023-03-17 14:37:13 +00:00
|
|
|
|
|
|
|
<div class="modal-footer pr-0">
|
2023-10-02 06:04:05 +00:00
|
|
|
<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>
|
2023-03-17 14:37:13 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<script defer src="{{'js/admin/punish_modal.js' | asset}}"></script>
|