mirror of
https://github.com/StefBuwalda/ProjectIOT.git
synced 2025-10-30 03:09:58 +00:00
Update dashboard.html
This commit is contained in:
@@ -47,11 +47,12 @@
|
|||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<h5 class="card-title fs-4">Numberplates</h5>
|
<h5 class="card-title fs-4">Numberplates</h5>
|
||||||
<div class="log-container" style="max-height: 250px; overflow-y: auto;">
|
<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>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="col" class="fs-5">ID</th>
|
<th scope="col" class="fs-5" style="width: 21%;">ID</th>
|
||||||
<th scope="col" class="fs-5">Numberplate</th>
|
<th scope="col" class="fs-5" style="width: 42%;">Numberplate</th>
|
||||||
|
<th scope="col" class="fs-5">Actions</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@@ -60,9 +61,9 @@
|
|||||||
<td><small class="fs-6">{{ plate.id }}</small></td>
|
<td><small class="fs-6">{{ plate.id }}</small></td>
|
||||||
<td><small class="fs-6">{{ plate.plate }}</small></td>
|
<td><small class="fs-6">{{ plate.plate }}</small></td>
|
||||||
<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?');">
|
<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>
|
</form>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
Reference in New Issue
Block a user