extra changes frontend

This commit is contained in:
Anh-Thy04
2025-06-19 21:19:38 +02:00
parent 850a9f2b37
commit 397bdd12b4
4 changed files with 52 additions and 116 deletions

View File

@@ -18,9 +18,10 @@
<table class="table table-sm table-hover">
<thead>
<tr>
<th scope="col" class="fs-5">Time</th>
<th scope="col" class="fs-5">Numberplate</th>
<th scope="col" class="fs-5" style="width: 21%">Time</th>
<th scope="col" class="fs-5" style="width: 42%">Numberplate</th>
<th scope="col" class="fs-5">Gate Status</th>
<th scope="col" class="fs-5"> </th>
</tr>
</thead>
<tbody>
@@ -33,6 +34,10 @@
{{ log.allowed }}
</span>
</td>
<td><form method="POST" action="{{ url_for('dash.delete_log', id=log.id) }}" style="display:inline;" onsubmit="return confirm('Are you sure you want to delete this log entry?');">
<button type="submit" class="btn btn-sm btn-secondary">Delete</button>
</form>
</td>
</tr>
{% endfor %}
</tbody>