dev #1
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user