05/24 Enhance functionalities
This commit is contained in:
@@ -22,6 +22,28 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Missed shifts alert -->
|
||||
{% if missed %}
|
||||
<div class="card mt-3" style="border-color:var(--warning-border)">
|
||||
<div class="card-header" style="background:var(--warning-bg)">
|
||||
<span class="card-title" style="color:var(--warning)">⚠ Missed Shifts Today</span>
|
||||
<span class="text-muted text-sm">Users with 0 sites checked so far</span>
|
||||
</div>
|
||||
<table class="table table-sm">
|
||||
<thead><tr><th>Shift</th><th>User</th><th>Sites Checked</th></tr></thead>
|
||||
<tbody>
|
||||
{% for m in missed %}
|
||||
<tr>
|
||||
<td>{{ m.shift_name }}</td>
|
||||
<td>{{ m.full_name }}</td>
|
||||
<td class="text-muted">{{ m.checked_sites }} / {{ m.total_sites }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
<!-- Per-user completion table -->
|
||||
<div class="card mt-4">
|
||||
<div class="card-header">
|
||||
|
||||
Reference in New Issue
Block a user