From 8e07b09d7e94f672eb36287e561acb5d3a26c7d3 Mon Sep 17 00:00:00 2001 From: Andreas Wrede Date: Sun, 10 May 2026 08:21:17 -0400 Subject: [PATCH] feat: add host info section placeholder and CSS to plugins.html --- hbd/server/templates/plugins.html | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/hbd/server/templates/plugins.html b/hbd/server/templates/plugins.html index 2d9db17..60e7c9e 100644 --- a/hbd/server/templates/plugins.html +++ b/hbd/server/templates/plugins.html @@ -388,6 +388,29 @@ .container::-webkit-scrollbar-track { background: #f1f1f1; border-radius: 4px; } .container::-webkit-scrollbar-thumb { background: #ccc; border-radius: 4px; } .container::-webkit-scrollbar-thumb:hover { background: #999; } + + /* ── Host info section ──────────────────────────────────────────────────── */ + .host-info-section { + padding: 12px 16px; + background: #fafafa; + border-bottom: 1px solid #e0e0e0; + font-size: 0.85em; + } + .info-meta { + display: grid; + grid-template-columns: max-content 1fr; + gap: 3px 14px; + margin-bottom: 10px; + } + .info-label { font-weight: 600; color: #555; white-space: nowrap; } + .info-value { color: #222; } + .info-thresholds-title { + font-weight: 600; + color: #555; + margin-bottom: 6px; + } + .info-note { color: #888; font-style: italic; } + .info-loading { color: #bbb; font-style: italic; } @@ -436,6 +459,9 @@
+
+
Loading…
+
{% set plugin_order = ['os_info','cpu_monitor','memory_monitor','disk_monitor','network_monitor','zfs_monitor','nagios_runner','filesystem_info'] %} {% for plugin in plugin_order if plugin in host.plugins %}