From aa2895ccf594792b7b0ce76ad20f4b873ed3e504 Mon Sep 17 00:00:00 2001 From: Tim Eertmoed Date: Sun, 12 Oct 2025 16:53:23 +0200 Subject: [PATCH] srv/poe_manager/templates/index.html aktualisiert --- srv/poe_manager/templates/index.html | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/srv/poe_manager/templates/index.html b/srv/poe_manager/templates/index.html index 135a496..f68abab 100644 --- a/srv/poe_manager/templates/index.html +++ b/srv/poe_manager/templates/index.html @@ -22,7 +22,17 @@ {% if d[2] == 0 %} Deaktiviert {% else %} - {% if status[d[0]] %}{{ status[d[0]]|capitalize }}{% else %}Unbekannt{% endif %} + {% 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 %} {% endif %}