srv/poe_manager/templates/devices.html aktualisiert

This commit is contained in:
2025-10-07 17:32:18 +02:00
parent ffd2a03e6d
commit ecbba08074

View File

@@ -16,7 +16,7 @@
<th>MAC-Adresse</th>
<th>Port</th>
<th>Switch</th>
<th>Aktiv</th>
<th>Status</th>
{% if current_user.is_admin %}<th>Aktionen</th>{% endif %}
</tr>
</thead>
@@ -31,7 +31,7 @@
<td>
<form method="post" action="{{ url_for('toggle_device', mac=d['mac']) }}" style="display:inline;">
<button class="btn btn-sm {% if d['is_active'] %}btn-success{% else %}btn-secondary{% endif %}" type="submit">
{% if d['is_active'] %}Aktiv{% else %}Inaktiv{% endif %}
{% if d['is_active'] %}Deaktivieren{% else %}Aktivieren{% endif %}
</button>
</form>
</td>