new options
This commit is contained in:
@ -2,6 +2,18 @@
|
||||
{% block title %}Logi - Aplikacja Updatera{% endblock %}
|
||||
{% block content %}
|
||||
<h2>Logi</h2>
|
||||
<!-- Formularz kasowania logów starszych niż podana liczba dni -->
|
||||
<div class="mt-4">
|
||||
<h4>Usuń logi starsze niż podana liczba dni</h4>
|
||||
<form method="POST" action="{{ url_for('clean_logs') }}">
|
||||
<div class="mb-3">
|
||||
<label for="days" class="form-label">Liczba dni</label>
|
||||
<input type="number" class="form-control" name="days" id="days" placeholder="Podaj liczbę dni">
|
||||
</div>
|
||||
<button type="submit" class="btn btn-danger">Usuń logi</button>
|
||||
</form>
|
||||
</div>
|
||||
<hr>
|
||||
<table class="table table-striped">
|
||||
<thead class="table-dark">
|
||||
<tr>
|
||||
@ -30,4 +42,5 @@
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
{% endblock %}
|
||||
|
Reference in New Issue
Block a user