diff --git a/plugins/sentinel/dashboard.html b/plugins/sentinel/dashboard.html index 0ea9c3c..2a3c32a 100644 --- a/plugins/sentinel/dashboard.html +++ b/plugins/sentinel/dashboard.html @@ -1,9 +1,11 @@

🛡️ Sentinel 集群监控

-
+
+ | +
@@ -52,6 +54,15 @@ .node-sys { font-size:.75rem; color:var(--text-dim); margin-bottom:4px } .node-url { font-size:.75rem; color:var(--text-dim); margin-bottom:8px; word-break:break-all } .node-notes { font-size:.75rem; color:var(--text-dim); font-style:italic; margin-bottom:8px } + /* 横版布局 */ + #sentinel-grid.layout-row { display:flex;flex-direction:column;gap:12px } + #sentinel-grid.layout-row .node-card { display:grid;grid-template-columns:200px 1fr 180px;gap:16px;align-items:start } + #sentinel-grid.layout-row .node-card .card-left { min-width:0 } + #sentinel-grid.layout-row .node-card .card-mid { display:flex;gap:16px;flex-wrap:wrap } + #sentinel-grid.layout-row .node-card .card-mid .chart-box { flex:1;min-width:120px;height:60px } + #sentinel-grid.layout-row .node-card .card-right { text-align:right } + #sentinel-grid.layout-row .metric-bar { display:none } + #sentinel-grid.layout-row .metric-row { margin-bottom:0 } .metric-row { display:flex; gap:12px; margin-bottom:8px } .metric { flex:1 } .metric-label { font-size:.7rem; color:var(--text-dim); text-transform:uppercase } @@ -74,6 +85,32 @@