feat: style panel #1

Merged
airex merged 6 commits from feat/style-panel into develop 2025-06-16 10:12:36 +00:00
3 changed files with 119 additions and 14 deletions
Showing only changes of commit 6872348375 - Show all commits

View File

@@ -28,8 +28,7 @@
{% for pc in pcs.values() %}
<tr>
<td><a href="{{ url_for('details', pc_id=pc.id) }}">{{ pc.id }}</a></td>
<td>{{ pc.status if pc.status else 'Unknown' }}</td>
<td>{{ pc.last_seen if pc.last_seen else 'Never' }}</td>
<td class='{% if pc.status == "online" %}green-bg{% elif pc.status == "offline" %}red-bg{% else %}yellow-bg{% endif %}'>{{ pc.status if pc.status else 'Unknown' }}</td> <td>{{ pc.last_seen if pc.last_seen else 'Never' }}</td>
</tr>
{% else %}
<tr>