From 8c6109c1d73eee6b37383dbe368ef5e854c48a1d Mon Sep 17 00:00:00 2001 From: 4cuck <40539855+4cuck@users.noreply.github.com> Date: Wed, 30 Aug 2023 01:09:12 +0200 Subject: [PATCH] use two cols for last-seen --- server/templates/instances.html.j2 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/server/templates/instances.html.j2 b/server/templates/instances.html.j2 index d047f8f..07ce767 100644 --- a/server/templates/instances.html.j2 +++ b/server/templates/instances.html.j2 @@ -40,7 +40,7 @@ {%- else -%} ❌ {%- endif -%} - + {%- if host.recent_pings|length > 0 -%} {%- set height = 57 -%} {%- set width = 100 -%} @@ -91,7 +91,9 @@ No recent data! {%- endif -%} + {%- if host.ping_min -%} {{host.ping_avg}} + {% endif %} {% if host.rss -%} ✅ {%- else -%} ❌ {%- endif -%} {%- if host.healthy and not host.version -%} {%- set version = "Dmissing" -%}