dev #1
@@ -14,8 +14,8 @@
|
|||||||
<th>Hostname</th>
|
<th>Hostname</th>
|
||||||
<th>IP-Adresse</th>
|
<th>IP-Adresse</th>
|
||||||
<th>MAC-Adresse</th>
|
<th>MAC-Adresse</th>
|
||||||
<th>Port</th>
|
|
||||||
<th>Switch</th>
|
<th>Switch</th>
|
||||||
|
<th>Port</th>
|
||||||
{% if current_user.is_admin %}<th>Status</th>{% endif %}
|
{% if current_user.is_admin %}<th>Status</th>{% endif %}
|
||||||
{% if current_user.is_admin %}<th>Aktionen</th>{% endif %}
|
{% if current_user.is_admin %}<th>Aktionen</th>{% endif %}
|
||||||
</tr>
|
</tr>
|
||||||
@@ -26,8 +26,8 @@
|
|||||||
<td>{{ d['name'] }}</td>
|
<td>{{ d['name'] }}</td>
|
||||||
<td>{{ d['rpi_ip'] }}</td>
|
<td>{{ d['rpi_ip'] }}</td>
|
||||||
<td>{{ d['mac'] }}</td>
|
<td>{{ d['mac'] }}</td>
|
||||||
<td>{{ d['port'] }}</td>
|
|
||||||
<td>{{ d['switch_hostname'] or '-' }}</td>
|
<td>{{ d['switch_hostname'] or '-' }}</td>
|
||||||
|
<td>{{ d['port'] }}</td>
|
||||||
{% if current_user.is_admin %}
|
{% if current_user.is_admin %}
|
||||||
<td>
|
<td>
|
||||||
<button class="btn btn-sm {% if d['is_active'] %}btn-success{% else %}btn-secondary{% endif %}"
|
<button class="btn btn-sm {% if d['is_active'] %}btn-success{% else %}btn-secondary{% endif %}"
|
||||||
|
|||||||
Reference in New Issue
Block a user