a
This commit is contained in:
@@ -5,44 +5,51 @@
|
|||||||
|
|
||||||
<div class="container py-4">
|
<div class="container py-4">
|
||||||
|
|
||||||
<div class="card bg-dark bg-opacity-75 p-3 mb-4 d-flex justify-content-start gap-3 flex-wrap">
|
<div class="card bg-dark bg-opacity-75 p-3 mb-4">
|
||||||
|
<form method="post" action="/submit" class="row g-2 align-items-center justify-content-start">
|
||||||
|
|
||||||
<form method="post" action="/submit" class="d-flex align-items-center gap-2">
|
<div class="col-md-4">
|
||||||
<input
|
<input
|
||||||
type="text"
|
type="text"
|
||||||
name="query"
|
name="query"
|
||||||
class="form-control bg-dark text-white"
|
class="form-control bg-dark text-white"
|
||||||
placeholder="Nom de la machine">
|
placeholder="Nom de la machine">
|
||||||
<select name="time" class="form-select bg-dark text-white" id="time-select">
|
</div>
|
||||||
{% for hour in range(0, 24) %}
|
<div class="col-md-2">
|
||||||
<option value="{{ '%02d:00'|format(hour) }}">{{ '%02d:00'|format(hour) }}</option>
|
<select name="time" class="form-select bg-dark text-white" id="time-select">
|
||||||
<option value="{{ '%02d:30'|format(hour) }}">{{ '%02d:30'|format(hour) }}</option>
|
{% for hour in range(0, 24) %}
|
||||||
{% endfor %}
|
<option value="{{ '%02d:00'|format(hour) }}">{{ '%02d:00'|format(hour) }}</option>
|
||||||
</select>
|
<option value="{{ '%02d:30'|format(hour) }}">{{ '%02d:30'|format(hour) }}</option>
|
||||||
<div class="form-check text-white">
|
{% endfor %}
|
||||||
<input class="form-check-input" type="checkbox" name="noshutdown" id="noshutdown">
|
</select>
|
||||||
<label class="form-check-label" for="noshutdown">
|
</div>
|
||||||
Whitelist shutdown
|
<div class="col-md-2">
|
||||||
</label>
|
<div class="form-check text-white">
|
||||||
</div>
|
<input class="form-check-input" type="checkbox" name="noshutdown" id="noshutdown">
|
||||||
<button type="submit" class="btn btn-primary">
|
<label class="form-check-label" for="noshutdown">
|
||||||
<i class="bi bi-plus-lg"></i> Ajouter
|
Whitelist shutdown
|
||||||
</button>
|
</label>
|
||||||
</form>
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-auto">
|
||||||
|
<button type="submit" class="btn btn-primary">
|
||||||
|
<i class="bi bi-plus-lg"></i> Ajouter
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
|
||||||
<form method="post" action="/submit-default" class="d-flex align-items-center gap-2">
|
</form>
|
||||||
<select name="default-time" class="form-select bg-dark text-white" id="default-time-select">
|
<form method="post" action="/submit-default" class="row g-2 align-items-center justify-content-start">
|
||||||
{% for hour in range(0, 24) %}
|
<select name="default-time" class="form-select bg-dark text-white" id="default-time-select">
|
||||||
<option value="{{ '%02d:00'|format(hour) }}">{{ '%02d:00'|format(hour) }}</option>
|
{% for hour in range(0, 24) %}
|
||||||
<option value="{{ '%02d:30'|format(hour) }}">{{ '%02d:30'|format(hour) }}</option>
|
<option value="{{ '%02d:00'|format(hour) }}">{{ '%02d:00'|format(hour) }}</option>
|
||||||
{% endfor %}
|
<option value="{{ '%02d:30'|format(hour) }}">{{ '%02d:30'|format(hour) }}</option>
|
||||||
</select>
|
{% endfor %}
|
||||||
<button type="submit" class="btn btn-sm btn-primary">
|
</select>
|
||||||
<i class="bi bi-save"></i> Sauvegarder
|
<button type="submit" class="btn btn-sm btn-primary">
|
||||||
</button>
|
<i class="bi bi-save"></i> Sauvegarder
|
||||||
</form>
|
</button>
|
||||||
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="card bg-dark bg-opacity-75 p-3">
|
<div class="card bg-dark bg-opacity-75 p-3">
|
||||||
<h5 class="text-white mb-3">Liste des éléments</h5>
|
<h5 class="text-white mb-3">Liste des éléments</h5>
|
||||||
|
|||||||
Reference in New Issue
Block a user