From 1a84ba758dba1f47950bc507571e4d943935f42d Mon Sep 17 00:00:00 2001
From: 4cuck <40539855+4cuck@users.noreply.github.com>
Date: Mon, 30 Oct 2023 00:56:56 +0100
Subject: [PATCH] mintor table formating
---
server/templates/instances.html.j2 | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/server/templates/instances.html.j2 b/server/templates/instances.html.j2
index 6f03088..635c2dd 100644
--- a/server/templates/instances.html.j2
+++ b/server/templates/instances.html.j2
@@ -54,7 +54,7 @@
{%- else -%}
❌
{%- endif -%}
-
+ |
{%- set height = 28 -%}
{%- set width = 110 -%}
{%- set width_bar = 5 -%}
@@ -82,10 +82,8 @@
{%- endif -%}
{%- endif -%}
|
- {%- if host.recent_checks -%}
- {{host.ping_avg}}ms |
- {% endif %}
- {{host.healthy_percentage_overall}} |
+ {%- if not host.__show_last_seen -%}{{host.ping_avg}}ms{% endif %} |
+ {{host.healthy_percentage_overall}}% |
{% if host.rss -%} ✅ {%- else -%} ❌ {%- endif -%} |
{%- if host.healthy and not host.version -%}
{%- set version = "Dmissing" -%}
@@ -116,7 +114,6 @@
outdated
{%- endif -%}
- {# {%- if host.connectivity == -%} | #}
{{host.connectivity}} |
{{host.points}} |