From d73fda1935ef45758a309abd0a58de1679a9361d Mon Sep 17 00:00:00 2001 From: Tim Eertmoed Date: Sun, 12 Oct 2025 17:03:52 +0200 Subject: [PATCH] revert aa2895ccf594792b7b0ce76ad20f4b873ed3e504 revert srv/poe_manager/templates/index.html aktualisiert --- srv/poe_manager/templates/index.html | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/srv/poe_manager/templates/index.html b/srv/poe_manager/templates/index.html index f68abab..135a496 100644 --- a/srv/poe_manager/templates/index.html +++ b/srv/poe_manager/templates/index.html @@ -22,17 +22,7 @@ {% if d[2] == 0 %} Deaktiviert {% else %} - {% if status[d[0]] == 'online' %} - Online - {% elif status[d[0]] == 'offline' %} - Offline
- {% if last_seen[d[0]] %} - {{ last_seen[d[0]][0] }}
- {{ last_seen[d[0]][1] }} - {% endif %} - {% else %} - Unbekannt - {% endif %} + {% if status[d[0]] %}{{ status[d[0]]|capitalize }}{% else %}Unbekannt{% endif %} {% endif %}