a
This commit is contained in:
@@ -25,14 +25,12 @@
|
||||
{% endfor %}
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<div class="form-check text-white">
|
||||
<input class="form-check-input" type="checkbox" name="noshutdown" id="noshutdown">
|
||||
<label class="form-check-label" for="noshutdown">
|
||||
Whitelist shutdown
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-1 gap-1">
|
||||
<button type="submit" class="btn btn-primary w-100">
|
||||
<i class="bi bi-plus-lg">Save</i>
|
||||
@@ -43,12 +41,14 @@
|
||||
|
||||
<div class="col-3 gap-1">
|
||||
<form method="post" action="/submit-default" class="d-flex gap-1">
|
||||
<select name="default-time" class="form-select bg-dark text-white flex-grow-1" id="default-time-select">
|
||||
{% for hour in range(0, 24) %}
|
||||
<option value="{{ '%02d:00'|format(hour) }}">{{ '%02d:00'|format(hour) }}</option>
|
||||
<option value="{{ '%02d:30'|format(hour) }}">{{ '%02d:30'|format(hour) }}</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
<div class="col-md-3">
|
||||
<select name="default-time" class="form-select bg-dark text-white flex-grow-1" id="default-time-select">
|
||||
{% for hour in range(0, 24) %}
|
||||
<option value="{{ '%02d:00'|format(hour) }}">{{ '%02d:00'|format(hour) }}</option>
|
||||
<option value="{{ '%02d:30'|format(hour) }}">{{ '%02d:30'|format(hour) }}</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
</div>
|
||||
<button type="submit" class="btn btn-sm btn-primary">
|
||||
<i class="bi bi-save">Save</i>
|
||||
</button>
|
||||
|
||||
Reference in New Issue
Block a user