32 lines
940 B
HTML
32 lines
940 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>Einstellungen</title>
|
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css">
|
|
</head>
|
|
<body class="p-5">
|
|
|
|
<h2>PoE-Check Intervall</h2>
|
|
<a href="{{ url_for('index') }}" class="btn btn-secondary mb-3">Zurück zum Dashboard</a>
|
|
|
|
{% with messages = get_flashed_messages() %}
|
|
{% if messages %}
|
|
<div class="mt-2 alert alert-info">
|
|
{% for message in messages %}{{ message }}<br>{% endfor %}
|
|
</div>
|
|
{% endif %}
|
|
{% endwith %}
|
|
|
|
<form method="post" class="row g-2">
|
|
<div class="col-auto">
|
|
<label for="interval" class="form-label">Intervall (Minuten)</label>
|
|
<input type="number" name="interval" id="interval" class="form-control" value="{{ interval }}" min="1" required>
|
|
</div>
|
|
<div class="col-auto align-self-end">
|
|
<button class="btn btn-primary">Speichern</button>
|
|
</div>
|
|
</form>
|
|
|
|
</body>
|
|
</html>
|