mirror of
https://github.com/StefBuwalda/ProjectIOT.git
synced 2025-10-29 18:59:57 +00:00
Update dashboard.html
This commit is contained in:
@@ -47,11 +47,12 @@
|
||||
<div class="card-body">
|
||||
<h5 class="card-title fs-4">Numberplates</h5>
|
||||
<div class="log-container" style="max-height: 250px; overflow-y: auto;">
|
||||
<table class="table table-sm table-hover">
|
||||
<table class="table table-sm table-hover align-middle">
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col" class="fs-5">ID</th>
|
||||
<th scope="col" class="fs-5">Numberplate</th>
|
||||
<th scope="col" class="fs-5" style="width: 21%;">ID</th>
|
||||
<th scope="col" class="fs-5" style="width: 42%;">Numberplate</th>
|
||||
<th scope="col" class="fs-5">Actions</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@@ -60,9 +61,9 @@
|
||||
<td><small class="fs-6">{{ plate.id }}</small></td>
|
||||
<td><small class="fs-6">{{ plate.plate }}</small></td>
|
||||
<td>
|
||||
<a href="{{ url_for('dash.edit', plate=plate.plate) }}" class="btn btn-sm btn-primary">Edit</a>
|
||||
<a href="{{ url_for('dash.edit', plate=plate.plate) }}" class="btn btn-sm btn-secondary">Edit</a>
|
||||
<form method="POST" action="{{ url_for('dash.delete_plate', plate=plate.plate) }}" style="display:inline;" onsubmit="return confirm('Are you sure you want to delete this numberplate?');">
|
||||
<button type="submit" class="btn btn-sm btn-danger">Delete</button>
|
||||
<button type="submit" class="btn btn-sm btn-secondary">Delete</button>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
Reference in New Issue
Block a user