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