srv/poe_manager/templates/devices.html aktualisiert
This commit is contained in:
@@ -16,7 +16,7 @@
|
|||||||
<th>MAC-Adresse</th>
|
<th>MAC-Adresse</th>
|
||||||
<th>Port</th>
|
<th>Port</th>
|
||||||
<th>Switch</th>
|
<th>Switch</th>
|
||||||
<th>Aktiv</th>
|
<th>Status</th>
|
||||||
{% if current_user.is_admin %}<th>Aktionen</th>{% endif %}
|
{% if current_user.is_admin %}<th>Aktionen</th>{% endif %}
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
@@ -31,7 +31,7 @@
|
|||||||
<td>
|
<td>
|
||||||
<form method="post" action="{{ url_for('toggle_device', mac=d['mac']) }}" style="display:inline;">
|
<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">
|
<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>
|
</button>
|
||||||
</form>
|
</form>
|
||||||
</td>
|
</td>
|
||||||
|
|||||||
Reference in New Issue
Block a user