fix: groups
This commit is contained in:
parent
671a9a59cd
commit
496ba0f9fb
|
|
@ -64,6 +64,7 @@ h1 { font-size: 1.75rem; font-weight: 700; margin: 0 0 0.5rem; }
|
|||
.monitor-compact { background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 0.75rem 1rem; }
|
||||
.monitor-compact-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 0.5rem; }
|
||||
.monitor-compact .bars { height: 24px; }
|
||||
.page-components { display: flex; flex-direction: column; gap: 0.5rem; }
|
||||
.monitors { display: flex; flex-direction: column; gap: 0.5rem; }
|
||||
/* All monitors share one structure: a clickable header row + a collapsible
|
||||
detail panel. display_mode just controls whether `expanded-state` is set
|
||||
|
|
|
|||
|
|
@ -181,6 +181,7 @@
|
|||
return d.toLocaleString(undefined, { month: 'short', day: 'numeric', hour: '2-digit', minute: '2-digit' });
|
||||
}
|
||||
%>
|
||||
<div class="page-components">
|
||||
<% groupOrder.forEach(function(gid, gi) {
|
||||
const list = grouped[gid];
|
||||
if (!list || list.length === 0) return;
|
||||
|
|
@ -307,6 +308,7 @@
|
|||
</div>
|
||||
<% } %>
|
||||
<% }); %>
|
||||
</div>
|
||||
|
||||
<% if (incidents.recent.length > 0) { %>
|
||||
<%
|
||||
|
|
|
|||
Loading…
Reference in New Issue