diff --git a/steward/templates/hosts/detail.html b/steward/templates/hosts/detail.html index 81fb23e..fee31ea 100644 --- a/steward/templates/hosts/detail.html +++ b/steward/templates/hosts/detail.html @@ -26,8 +26,16 @@ {% set inp = "width:100%;padding:0.4rem 0.65rem;background:var(--bg);border:1px solid var(--border-mid);border-radius:4px;color:var(--text);font-size:0.88rem;" %} {% set lbl = "font-size:0.75rem;color:var(--text-muted);display:block;margin-bottom:0.2rem;" %} +{# ── Agent vitals + lifecycle (host_agent fragment) — primary, full width on top ── #} +
+
Loading agent…
+
+ +{# ── Monitors + Ansible, side by side on wide screens, stacked when narrow ──── #} +
+ {# ── Monitors ─────────────────────────────────────────────────────────────── #} -
+

Monitors

{% if uptime %} @@ -114,21 +122,10 @@ {% endif %} -
- -{# ── Agent (host_agent plugin fragment, embedded across the plugin boundary) ── #} -
-
Loading agent…
-
- -{# ── Docker (docker plugin fragment; renders nothing if the host has none) ──── #} -{% if "docker" in enabled_plugins %} -
-{% endif %} +
{# Monitors card #} {# ── Ansible ──────────────────────────────────────────────────────────────── #} -
+

Ansible

{% if linked_target %}
@@ -213,7 +210,13 @@
{% endif %} -
+
{# Ansible card #} +
{# Monitors + Ansible grid #} + +{# ── Docker (docker plugin fragment; renders nothing if the host has none) ──── #} +{% if "docker" in enabled_plugins %} +
+{% endif %} {{ toggle_script() }}