From 31e7b93546c1ccad33995971947bb78f31a1edda Mon Sep 17 00:00:00 2001 From: Christoph Gasser Date: Mon, 20 Apr 2026 09:04:02 +0200 Subject: [PATCH] time local --- templates/index.html | 34 +++++++++++++++++++++++++++------- 1 file changed, 27 insertions(+), 7 deletions(-) diff --git a/templates/index.html b/templates/index.html index 4c523c5..610592c 100644 --- a/templates/index.html +++ b/templates/index.html @@ -59,7 +59,7 @@
{% set last_fetch = logs | selectattr('event_type', 'equalto', 'yodeck_fetch') | first %} - {% if last_fetch %}{{ last_fetch.timestamp[:19] }} UTC{% else %}—{% endif %} + {% if last_fetch %}{{ last_fetch.timestamp[:19] }}{% else %}—{% endif %}
Last API Fetch
@@ -86,7 +86,7 @@ Workspace Type Status - Last Seen (UTC) + Last Seen Last Pushed Status Updated Resolution @@ -112,9 +112,9 @@ ● Offline {% endif %} - {{ (p.last_seen or '—')[:19] }} - {{ (p.last_pushed or '—')[:19] }} - {{ (p.status_last_updated or '—')[:19] }} + {% if p.last_seen %}{{ p.last_seen[:19] }}{% else %}—{% endif %} + {% if p.last_pushed %}{{ p.last_pushed[:19] }}{% else %}—{% endif %} + {% if p.status_last_updated %}{{ p.status_last_updated[:19] }}{% else %}—{% endif %} {{ p.screen_resolution or '—' }} {{ p.hardware_version or '—' }} {{ p.last_ip_address or '—' }} @@ -140,7 +140,7 @@ - + @@ -148,7 +148,7 @@ {% for l in logs %} - + @@ -171,6 +171,26 @@
Timestamp (UTC)Timestamp Event Message
{{ l.timestamp[:19] }}{{ l.timestamp[:19] }} {{ l.event_type }}