Refine dashboard card icons and storage layout
This commit is contained in:
+558
-34
@@ -216,6 +216,491 @@
|
||||
.net-health-grid { grid-template-columns: 1fr; }
|
||||
#quick-access-grid { grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); }
|
||||
}
|
||||
|
||||
/* Density / reference lock overrides */
|
||||
.wrapper { max-width: 1640px; padding: 8px 12px 20px; }
|
||||
.header { padding: 10px 0 10px; margin-bottom: 8px; gap: 16px; }
|
||||
.logo-text { font-size: 18px; letter-spacing: 2px; }
|
||||
.logo-sub, .overall-status, .date-str, #last-updated { font-size: 10px; }
|
||||
.clock { font-size: 46px; }
|
||||
.section-header { margin-bottom: 5px; font-size: 9px; letter-spacing: 3px; }
|
||||
.widget-row { gap: 6px; margin-bottom: 6px; }
|
||||
.row-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
|
||||
.card {
|
||||
max-height: 120px;
|
||||
min-height: 118px;
|
||||
height: 118px;
|
||||
padding: 8px 10px 8px;
|
||||
border-radius: 10px;
|
||||
background: linear-gradient(180deg, rgba(7, 17, 14, 0.84), rgba(5, 11, 9, 0.72));
|
||||
box-shadow: inset 0 1px 0 rgba(255,255,255,0.03), 0 10px 28px rgba(0,0,0,0.22), 0 0 18px rgba(0,220,140,0.05);
|
||||
overflow: hidden;
|
||||
}
|
||||
.card-title { margin-bottom: 6px; min-height: 26px; }
|
||||
.card-title-left { gap: 7px; }
|
||||
.card-title .dot { width: 6px; height: 6px; }
|
||||
.stats-grid {
|
||||
display: grid;
|
||||
grid-auto-flow: column;
|
||||
grid-auto-columns: minmax(0, 1fr);
|
||||
align-items: end;
|
||||
justify-content: stretch;
|
||||
gap: 10px;
|
||||
flex-wrap: nowrap;
|
||||
}
|
||||
.stat-block {
|
||||
min-width: 0;
|
||||
text-align: center;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 2px;
|
||||
}
|
||||
.stat-num {
|
||||
font-size: 22px;
|
||||
line-height: 0.95;
|
||||
color: var(--teal-bright);
|
||||
text-shadow: 0 0 12px var(--teal-glow);
|
||||
}
|
||||
.stat-num.dim { font-size: 18px; color: var(--text-bright); }
|
||||
.stat-label { font-size: 8px; margin-top: 2px; }
|
||||
#cpu-percent, #ram-percent, #net-rx, #uptime-days, #docker-running { font-size: 30px; }
|
||||
.service-icon {
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
border-radius: 8px;
|
||||
position: relative;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
color: var(--icon-color, var(--teal-bright));
|
||||
background:
|
||||
radial-gradient(circle at 30% 30%, rgba(255,255,255,0.16), transparent 45%),
|
||||
linear-gradient(180deg, rgba(16, 36, 29, 0.96), rgba(7, 14, 11, 0.92));
|
||||
border: 1px solid rgba(255,255,255,0.06);
|
||||
box-shadow:
|
||||
inset 0 0 0 1px rgba(255,255,255,0.02),
|
||||
0 0 16px rgba(0,220,140,0.08);
|
||||
}
|
||||
.service-icon::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
border-radius: inherit;
|
||||
box-shadow: inset 0 0 14px rgba(0,0,0,0.18);
|
||||
pointer-events: none;
|
||||
}
|
||||
.icon-glyph {
|
||||
width: 15px;
|
||||
height: 15px;
|
||||
display: block;
|
||||
position: relative;
|
||||
color: inherit;
|
||||
opacity: 0.96;
|
||||
}
|
||||
.icon-cpu { --icon-color: #82ffbf; }
|
||||
.icon-memory { --icon-color: #98ffbf; }
|
||||
.icon-network { --icon-color: #7dc8ff; }
|
||||
.icon-host { --icon-color: #95ffbf; }
|
||||
.icon-docker { --icon-color: #81ffc8; }
|
||||
.icon-storage { --icon-color: #7effb6; }
|
||||
.icon-matrix { --icon-color: #7fc9ff; }
|
||||
.icon-scrutiny { --icon-color: #7effb0; }
|
||||
.icon-ha { --icon-color: #8ea6ff; }
|
||||
.icon-kuma { --icon-color: #89ffaf; }
|
||||
.icon-immich { --icon-color: #ffd84f; }
|
||||
.icon-backrest { --icon-color: #74d7ff; }
|
||||
.icon-adguard { --icon-color: #66f0ba; }
|
||||
.icon-services { --icon-color: #8affbe; }
|
||||
.glyph-cpu {
|
||||
border: 1.6px solid currentColor;
|
||||
border-radius: 3px;
|
||||
}
|
||||
.glyph-cpu::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
inset: 3px;
|
||||
border: 1.4px solid currentColor;
|
||||
border-radius: 2px;
|
||||
opacity: 0.92;
|
||||
}
|
||||
.glyph-cpu::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
inset: -3px;
|
||||
background:
|
||||
linear-gradient(currentColor,currentColor) 2px 1px / 1px 3px no-repeat,
|
||||
linear-gradient(currentColor,currentColor) 7px 1px / 1px 3px no-repeat,
|
||||
linear-gradient(currentColor,currentColor) 12px 1px / 1px 3px no-repeat,
|
||||
linear-gradient(currentColor,currentColor) 2px calc(100% - 1px) / 1px 3px no-repeat,
|
||||
linear-gradient(currentColor,currentColor) 7px calc(100% - 1px) / 1px 3px no-repeat,
|
||||
linear-gradient(currentColor,currentColor) 12px calc(100% - 1px) / 1px 3px no-repeat,
|
||||
linear-gradient(currentColor,currentColor) 1px 2px / 3px 1px no-repeat,
|
||||
linear-gradient(currentColor,currentColor) 1px 7px / 3px 1px no-repeat,
|
||||
linear-gradient(currentColor,currentColor) calc(100% - 1px) 2px / 3px 1px no-repeat,
|
||||
linear-gradient(currentColor,currentColor) calc(100% - 1px) 7px / 3px 1px no-repeat;
|
||||
opacity: 0.78;
|
||||
}
|
||||
.glyph-memory {
|
||||
background:
|
||||
linear-gradient(currentColor,currentColor) 2px 9px / 2px 4px no-repeat,
|
||||
linear-gradient(currentColor,currentColor) 6px 6px / 2px 7px no-repeat,
|
||||
linear-gradient(currentColor,currentColor) 10px 3px / 2px 10px no-repeat;
|
||||
}
|
||||
.glyph-memory::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
inset: 1px;
|
||||
border: 1.4px solid rgba(152,255,191,0.34);
|
||||
border-radius: 3px;
|
||||
}
|
||||
.glyph-network {
|
||||
background:
|
||||
radial-gradient(circle at 2px 11px, currentColor 0 2px, transparent 2.4px),
|
||||
radial-gradient(circle at 13px 11px, currentColor 0 2px, transparent 2.4px),
|
||||
radial-gradient(circle at 7.5px 3px, currentColor 0 2px, transparent 2.4px),
|
||||
linear-gradient(currentColor,currentColor) 7px 4px / 1.4px 7px no-repeat,
|
||||
linear-gradient(32deg, transparent 44%, currentColor 45% 55%, transparent 56%) 2px 5px / 10px 7px no-repeat,
|
||||
linear-gradient(-32deg, transparent 44%, currentColor 45% 55%, transparent 56%) 4px 5px / 10px 7px no-repeat;
|
||||
}
|
||||
.glyph-host {
|
||||
border: 1.6px solid currentColor;
|
||||
border-radius: 3px;
|
||||
}
|
||||
.glyph-host::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
left: 3px;
|
||||
right: 3px;
|
||||
bottom: -2px;
|
||||
height: 1.6px;
|
||||
background: currentColor;
|
||||
}
|
||||
.glyph-host::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
left: 5px;
|
||||
right: 5px;
|
||||
bottom: -5px;
|
||||
height: 1.6px;
|
||||
background: currentColor;
|
||||
border-radius: 999px;
|
||||
}
|
||||
.glyph-docker {
|
||||
background:
|
||||
linear-gradient(currentColor,currentColor) 1px 3px / 4px 4px no-repeat,
|
||||
linear-gradient(currentColor,currentColor) 6px 3px / 4px 4px no-repeat,
|
||||
linear-gradient(currentColor,currentColor) 11px 3px / 4px 4px no-repeat,
|
||||
linear-gradient(currentColor,currentColor) 6px 8px / 4px 4px no-repeat,
|
||||
linear-gradient(currentColor,currentColor) 1px 12px / 14px 1.5px no-repeat;
|
||||
border-radius: 3px;
|
||||
}
|
||||
.glyph-storage {
|
||||
background:
|
||||
linear-gradient(currentColor,currentColor) 1px 5px / 13px 1.6px no-repeat,
|
||||
linear-gradient(currentColor,currentColor) 1px 8px / 13px 1.6px no-repeat,
|
||||
linear-gradient(currentColor,currentColor) 1px 11px / 13px 1.6px no-repeat;
|
||||
}
|
||||
.glyph-storage::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
inset: 1px 1px 2px;
|
||||
border: 1.4px solid rgba(126,255,182,0.36);
|
||||
border-radius: 4px;
|
||||
}
|
||||
.glyph-matrix {
|
||||
background:
|
||||
linear-gradient(currentColor,currentColor) 1px 1px / 5px 5px no-repeat,
|
||||
linear-gradient(currentColor,currentColor) 9px 1px / 5px 5px no-repeat,
|
||||
linear-gradient(currentColor,currentColor) 1px 9px / 5px 5px no-repeat,
|
||||
linear-gradient(currentColor,currentColor) 9px 9px / 5px 5px no-repeat;
|
||||
opacity: 0.95;
|
||||
}
|
||||
.glyph-scrutiny {
|
||||
border: 1.6px solid currentColor;
|
||||
border-radius: 50%;
|
||||
}
|
||||
.glyph-scrutiny::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
inset: 3px;
|
||||
border: 1.4px solid currentColor;
|
||||
border-radius: 50%;
|
||||
}
|
||||
.glyph-scrutiny::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
left: 7px;
|
||||
top: 1px;
|
||||
width: 1.4px;
|
||||
height: 13px;
|
||||
background: currentColor;
|
||||
box-shadow: -6px 6px 0 -5px currentColor, 6px 6px 0 -5px currentColor;
|
||||
opacity: 0.9;
|
||||
}
|
||||
.glyph-home {
|
||||
background:
|
||||
linear-gradient(-35deg, transparent 45%, currentColor 46% 56%, transparent 57%) 0 1px / 8px 7px no-repeat,
|
||||
linear-gradient(35deg, transparent 45%, currentColor 46% 56%, transparent 57%) 7px 1px / 8px 7px no-repeat,
|
||||
linear-gradient(currentColor,currentColor) 3px 7px / 9px 6px no-repeat;
|
||||
}
|
||||
.glyph-kuma {
|
||||
background:
|
||||
linear-gradient(currentColor,currentColor) 1px 8px / 3px 1.5px no-repeat,
|
||||
linear-gradient(55deg, transparent 43%, currentColor 44% 56%, transparent 57%) 3px 6px / 4px 5px no-repeat,
|
||||
linear-gradient(-55deg, transparent 43%, currentColor 44% 56%, transparent 57%) 6px 4px / 4px 7px no-repeat,
|
||||
linear-gradient(55deg, transparent 43%, currentColor 44% 56%, transparent 57%) 9px 6px / 4px 5px no-repeat,
|
||||
linear-gradient(currentColor,currentColor) 12px 8px / 3px 1.5px no-repeat;
|
||||
}
|
||||
.glyph-image {
|
||||
border: 1.5px solid currentColor;
|
||||
border-radius: 3px;
|
||||
}
|
||||
.glyph-image::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
left: 2px;
|
||||
right: 2px;
|
||||
bottom: 2px;
|
||||
height: 5px;
|
||||
background:
|
||||
linear-gradient(140deg, transparent 35%, currentColor 36% 48%, transparent 49%) 0 0 / 8px 5px no-repeat,
|
||||
linear-gradient(45deg, transparent 32%, currentColor 33% 45%, transparent 46%) 5px 0 / 8px 5px no-repeat;
|
||||
}
|
||||
.glyph-image::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
right: 2px;
|
||||
top: 2px;
|
||||
width: 3px;
|
||||
height: 3px;
|
||||
border-radius: 50%;
|
||||
background: currentColor;
|
||||
}
|
||||
.glyph-backrest {
|
||||
border: 1.5px solid currentColor;
|
||||
border-radius: 3px;
|
||||
}
|
||||
.glyph-backrest::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
left: 2px;
|
||||
right: 2px;
|
||||
top: 3px;
|
||||
height: 2px;
|
||||
background: currentColor;
|
||||
box-shadow: 0 4px 0 currentColor;
|
||||
}
|
||||
.glyph-backrest::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
left: 5px;
|
||||
right: 5px;
|
||||
bottom: -2px;
|
||||
height: 1.5px;
|
||||
background: currentColor;
|
||||
}
|
||||
.glyph-shield {
|
||||
background:
|
||||
linear-gradient(currentColor,currentColor) 7px 2px / 1.8px 9px no-repeat;
|
||||
clip-path: polygon(50% 0%, 88% 16%, 88% 50%, 50% 100%, 12% 50%, 12% 16%);
|
||||
background-color: transparent;
|
||||
border: 1.5px solid currentColor;
|
||||
}
|
||||
.glyph-services {
|
||||
background:
|
||||
radial-gradient(circle at 2px 7px, currentColor 0 2px, transparent 2.4px),
|
||||
radial-gradient(circle at 13px 2px, currentColor 0 2px, transparent 2.4px),
|
||||
radial-gradient(circle at 13px 12px, currentColor 0 2px, transparent 2.4px),
|
||||
linear-gradient(currentColor,currentColor) 4px 6px / 7px 1.4px no-repeat,
|
||||
linear-gradient(currentColor,currentColor) 10px 4px / 1.4px 6px no-repeat;
|
||||
}
|
||||
.service-name { font-size: 10px; letter-spacing: 1.4px; }
|
||||
.status-pill {
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
min-width: 10px;
|
||||
border-radius: 999px;
|
||||
padding: 0;
|
||||
font-size: 0;
|
||||
border: none;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
box-shadow: 0 0 12px rgba(0,0,0,0.18);
|
||||
}
|
||||
.pill-online { box-shadow: 0 0 10px rgba(0,220,140,0.32); }
|
||||
.pill-degraded { box-shadow: 0 0 10px rgba(255,204,68,0.28); }
|
||||
.pill-offline { box-shadow: 0 0 10px rgba(255,68,102,0.28); }
|
||||
.progress-wrap {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 4px;
|
||||
margin-top: 6px;
|
||||
}
|
||||
.progress-meta {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
gap: 8px;
|
||||
font-family: var(--font-mono);
|
||||
font-size: 8px;
|
||||
color: var(--text-dim);
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.8px;
|
||||
}
|
||||
.progress-bar { height: 4px; border-radius: 999px; background: rgba(0,220,140,0.08); }
|
||||
.mini-graph {
|
||||
display: flex;
|
||||
align-items: end;
|
||||
gap: 3px;
|
||||
height: 16px;
|
||||
}
|
||||
.mini-bar {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
border-radius: 2px 2px 0 0;
|
||||
background: linear-gradient(180deg, rgba(127,255,199,0.9), rgba(0,220,140,0.22));
|
||||
box-shadow: 0 0 8px rgba(0,220,140,0.12);
|
||||
}
|
||||
.mini-bar.warn { background: linear-gradient(180deg, rgba(255,204,68,0.95), rgba(255,204,68,0.24)); }
|
||||
.mini-bar.danger { background: linear-gradient(180deg, rgba(255,68,102,0.95), rgba(255,68,102,0.24)); }
|
||||
.mini-bar.blue { background: linear-gradient(180deg, rgba(68,170,255,0.95), rgba(68,170,255,0.24)); }
|
||||
.services-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
gap: 6px;
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
.service-card { display: flex; flex-direction: column; justify-content: space-between; }
|
||||
.service-footer {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 8px;
|
||||
margin-top: 4px;
|
||||
font-family: var(--font-mono);
|
||||
font-size: 8px;
|
||||
color: var(--text-dim);
|
||||
text-transform: uppercase;
|
||||
}
|
||||
.micro-strip { display: flex; gap: 3px; min-height: 8px; align-items: center; }
|
||||
.micro-seg { width: 7px; height: 7px; border-radius: 999px; background: rgba(255,255,255,0.1); }
|
||||
.micro-seg.up { background: var(--teal); box-shadow: 0 0 8px rgba(0,220,140,0.22); }
|
||||
.micro-seg.down { background: var(--red); box-shadow: 0 0 8px rgba(255,68,102,0.22); }
|
||||
.micro-seg.warn { background: var(--yellow); box-shadow: 0 0 8px rgba(255,204,68,0.22); }
|
||||
#quick-access-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(6, minmax(0, 1fr));
|
||||
gap: 6px;
|
||||
}
|
||||
.quick-tile {
|
||||
min-height: 74px;
|
||||
padding: 8px 10px;
|
||||
border-radius: 10px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: flex-start;
|
||||
gap: 9px;
|
||||
text-align: left;
|
||||
}
|
||||
.quick-tile-icon {
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border-radius: 8px;
|
||||
font-size: 11px;
|
||||
font-family: var(--font-display);
|
||||
background: linear-gradient(135deg, var(--teal-bright), var(--teal));
|
||||
color: #04110d;
|
||||
}
|
||||
.quick-tile-copy {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 2px;
|
||||
min-width: 0;
|
||||
}
|
||||
.quick-tile-label { font-size: 9px; color: var(--text-bright); }
|
||||
.quick-tile-meta {
|
||||
font-family: var(--font-mono);
|
||||
font-size: 7px;
|
||||
color: var(--text-dim);
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 1px;
|
||||
}
|
||||
.quick-tile-icon-ha { background: linear-gradient(135deg, #6cb8ff, #9e8dff); }
|
||||
.quick-tile-icon-komodo { background: linear-gradient(135deg, #00e2b3, #68c7ff); }
|
||||
.quick-tile-icon-kuma { background: linear-gradient(135deg, #00d98a, #7fffc7); }
|
||||
.quick-tile-icon-beszel { background: linear-gradient(135deg, #53f1b4, #a9ffd8); }
|
||||
.quick-tile-icon-firefly { background: linear-gradient(135deg, #ffb54d, #ffd66f); }
|
||||
.quick-tile-icon-paperless { background: linear-gradient(135deg, #89ffdc, #46cfa0); }
|
||||
.quick-tile-icon-mealie { background: linear-gradient(135deg, #7ec2ff, #f6ff8c); }
|
||||
.quick-tile-icon-immich { background: linear-gradient(135deg, #ffd15c, #ff9d4d); }
|
||||
.quick-tile-icon-gitea { background: linear-gradient(135deg, #9cff87, #3cd675); }
|
||||
.quick-tile-icon-code { background: linear-gradient(135deg, #5cc4ff, #5f92ff); }
|
||||
.quick-tile-icon-files { background: linear-gradient(135deg, #6ec8ff, #9be1ff); }
|
||||
.quick-tile-icon-backrest { background: linear-gradient(135deg, #8bb4ff, #6fd8ff); }
|
||||
.quick-tile-icon-vault { background: linear-gradient(135deg, #ffe173, #ffaa5c); }
|
||||
.quick-tile-icon-adguard { background: linear-gradient(135deg, #57ffaa, #57d8ff); }
|
||||
.quick-tile-icon-traefik { background: linear-gradient(135deg, #8f9fff, #6cc4ff); }
|
||||
.quick-tile-icon-scrutiny { background: linear-gradient(135deg, #9cffcf, #61ffaa); }
|
||||
.storage-layout {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
gap: 6px;
|
||||
margin-bottom: 6px;
|
||||
align-items: stretch;
|
||||
}
|
||||
.storage-layout > div:first-child { display: contents; }
|
||||
#storage-grid { display: contents; }
|
||||
.scrutiny-row { padding: 1px 0; border-bottom: none; gap: 6px; font-size: 8px; }
|
||||
.scrutiny-offline { font-size: 8px; padding: 2px 0; }
|
||||
.scrutiny-strip,
|
||||
.storage-strip {
|
||||
display: flex;
|
||||
gap: 4px;
|
||||
flex-wrap: wrap;
|
||||
overflow: hidden;
|
||||
margin-top: 4px;
|
||||
}
|
||||
.scrutiny-chip,
|
||||
.storage-chip {
|
||||
font-family: var(--font-mono);
|
||||
font-size: 7px;
|
||||
color: var(--text-dim);
|
||||
padding: 2px 5px;
|
||||
border-radius: 999px;
|
||||
border: 1px solid rgba(0,220,140,0.12);
|
||||
background: rgba(255,255,255,0.02);
|
||||
white-space: nowrap;
|
||||
}
|
||||
.scrutiny-chip.ok { color: var(--teal-bright); border-color: rgba(0,220,140,0.22); }
|
||||
.scrutiny-chip.fail { color: var(--red); border-color: rgba(255,68,102,0.24); }
|
||||
.scrutiny-chip.unk { color: var(--text-dim); border-color: rgba(255,255,255,0.08); }
|
||||
.scrutiny-chip strong {
|
||||
color: currentColor;
|
||||
font-family: var(--font-display);
|
||||
font-size: 7px;
|
||||
letter-spacing: 0.6px;
|
||||
margin-right: 4px;
|
||||
}
|
||||
.storage-matrix-card .stats-grid { margin-bottom: 6px; }
|
||||
.storage-matrix-card .service-footer { margin-top: auto; }
|
||||
.system-card .card-title,
|
||||
.service-card .card-title,
|
||||
.storage-card .card-title { align-items: center; }
|
||||
@media (max-width: 1360px) {
|
||||
.services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
|
||||
#quick-access-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
|
||||
.row-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
|
||||
}
|
||||
@media (max-width: 960px) {
|
||||
.services-grid, #quick-access-grid, #storage-grid, .storage-layout, .row-5 { grid-template-columns: 1fr; }
|
||||
.card { max-height: none; }
|
||||
.stats-grid { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
@@ -247,57 +732,97 @@
|
||||
<!-- SYSTEM STATS ROW -->
|
||||
<div class="section-header"><span>⬡</span> SYSTEM</div>
|
||||
<div class="widget-row row-5" id="stats-row" style="margin-bottom:8px;">
|
||||
<div class="card">
|
||||
<div class="card-title"><span class="dot"></span>CPU</div>
|
||||
<div class="card service-card system-card">
|
||||
<div class="card-title">
|
||||
<div class="card-title-left"><span class="service-icon icon-cpu"><span class="icon-glyph glyph-cpu"></span></span><span class="service-name">CPU</span></div>
|
||||
<span class="status-pill pill-online">OK</span>
|
||||
</div>
|
||||
<div class="stats-grid">
|
||||
<div class="stat-block"><div class="stat-num" id="cpu-percent">—</div><div class="stat-label">Usage %</div></div>
|
||||
<div class="stat-block"><div class="stat-num dim" id="cpu-cores">—</div><div class="stat-label">Cores</div></div>
|
||||
<div class="stat-block"><div class="stat-num dim" id="cpu-load">—</div><div class="stat-label">Load 5m</div></div>
|
||||
</div>
|
||||
<div class="progress-wrap">
|
||||
<div class="progress-meta"><span>Compute Load</span><span id="cpu-progress-label">0%</span></div>
|
||||
<div class="progress-bar"><div class="progress-fill" id="cpu-progress"></div></div>
|
||||
<div class="mini-graph" id="cpu-graph"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card">
|
||||
<div class="card-title"><span class="dot"></span>MEMORY</div>
|
||||
<div class="card service-card system-card">
|
||||
<div class="card-title">
|
||||
<div class="card-title-left"><span class="service-icon icon-memory"><span class="icon-glyph glyph-memory"></span></span><span class="service-name">MEMORY</span></div>
|
||||
<span class="status-pill pill-online">OK</span>
|
||||
</div>
|
||||
<div class="stats-grid">
|
||||
<div class="stat-block"><div class="stat-num" id="ram-percent">—</div><div class="stat-label">Usage %</div></div>
|
||||
<div class="stat-block"><div class="stat-num dim" id="ram-used">—</div><div class="stat-label">Used GB</div></div>
|
||||
<div class="stat-block"><div class="stat-num dim" id="ram-total">—</div><div class="stat-label">Total GB</div></div>
|
||||
</div>
|
||||
<div class="progress-wrap">
|
||||
<div class="progress-meta"><span>Memory Pool</span><span id="ram-progress-label">0%</span></div>
|
||||
<div class="progress-bar"><div class="progress-fill" id="ram-progress"></div></div>
|
||||
<div class="mini-graph" id="ram-graph"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card">
|
||||
<div class="card-title"><span class="dot"></span>NETWORK</div>
|
||||
<div class="card service-card system-card">
|
||||
<div class="card-title">
|
||||
<div class="card-title-left"><span class="service-icon icon-network"><span class="icon-glyph glyph-network"></span></span><span class="service-name">NETWORK</span></div>
|
||||
<span class="status-pill pill-online">OK</span>
|
||||
</div>
|
||||
<div class="stats-grid">
|
||||
<div class="stat-block"><div class="stat-num" id="net-rx">—</div><div class="stat-label">↓ Mbps</div></div>
|
||||
<div class="stat-block"><div class="stat-num" id="net-tx">—</div><div class="stat-label">↑ Mbps</div></div>
|
||||
</div>
|
||||
<div class="progress-wrap">
|
||||
<div class="progress-meta"><span>Traffic Flow</span><span id="net-progress-label">0 Mbps</span></div>
|
||||
<div class="progress-bar"><div class="progress-fill" id="net-progress"></div></div>
|
||||
<div class="mini-graph" id="net-graph"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card">
|
||||
<div class="card-title"><span class="dot"></span>HOST</div>
|
||||
<div class="card service-card system-card">
|
||||
<div class="card-title">
|
||||
<div class="card-title-left"><span class="service-icon icon-host"><span class="icon-glyph glyph-host"></span></span><span class="service-name">HOST</span></div>
|
||||
<span class="status-pill pill-online">OK</span>
|
||||
</div>
|
||||
<div class="stats-grid">
|
||||
<div class="stat-block"><div class="stat-num" id="uptime-days">—</div><div class="stat-label">Uptime d</div></div>
|
||||
<div class="stat-block"><div class="stat-num dim" id="host-platform">—</div><div class="stat-label">OS</div></div>
|
||||
</div>
|
||||
<div class="progress-wrap">
|
||||
<div class="progress-meta"><span>Host Runtime</span><span id="host-progress-label">—</span></div>
|
||||
<div class="progress-bar"><div class="progress-fill" id="host-progress"></div></div>
|
||||
<div class="mini-graph" id="host-graph"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card">
|
||||
<div class="card-title"><span class="dot"></span>DOCKER</div>
|
||||
<div class="card service-card system-card">
|
||||
<div class="card-title">
|
||||
<div class="card-title-left"><span class="service-icon icon-docker"><span class="icon-glyph glyph-docker"></span></span><span class="service-name">DOCKER</span></div>
|
||||
<span class="status-pill pill-online">OK</span>
|
||||
</div>
|
||||
<div class="stats-grid">
|
||||
<div class="stat-block"><div class="stat-num" id="docker-running">—</div><div class="stat-label">Running</div></div>
|
||||
<div class="stat-block"><div class="stat-num dim" id="docker-stopped">—</div><div class="stat-label">Stopped</div></div>
|
||||
<div class="stat-block"><div class="stat-num dim" id="docker-total">—</div><div class="stat-label">Total</div></div>
|
||||
</div>
|
||||
<div class="progress-wrap">
|
||||
<div class="progress-meta"><span>Runtime Surface</span><span id="docker-progress-label">0%</span></div>
|
||||
<div class="progress-bar"><div class="progress-fill" id="docker-progress"></div></div>
|
||||
<div class="mini-graph" id="docker-graph"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- STORAGE + SCRUTINY ROW -->
|
||||
<div class="section-header"><span>⬡</span> STORAGE & HEALTH</div>
|
||||
<div style="display:grid; grid-template-columns: 1fr 280px; gap:8px; margin-bottom:8px;">
|
||||
<div class="storage-layout">
|
||||
<div>
|
||||
<div class="widget-row row-3" id="storage-grid">
|
||||
<!-- Disk cards injected by renderer -->
|
||||
</div>
|
||||
</div>
|
||||
<div class="card">
|
||||
<div class="card service-card">
|
||||
<div class="card-title">
|
||||
<div class="card-title-left"><span class="dot"></span>SCRUTINY</div>
|
||||
<div class="card-title-left"><span class="service-icon icon-scrutiny"><span class="icon-glyph glyph-scrutiny"></span></span><span class="service-name">SCRUTINY</span></div>
|
||||
<span class="status-pill pill-offline" id="scrutiny-pill">OFFLINE</span>
|
||||
</div>
|
||||
<div class="stats-grid" style="margin-bottom:5px;">
|
||||
@@ -311,11 +836,11 @@
|
||||
|
||||
<!-- SERVICE WIDGETS ROW 1 -->
|
||||
<div class="section-header"><span>⬡</span> SERVICES</div>
|
||||
<div class="widget-row row-3" style="margin-bottom:8px;">
|
||||
<div class="card">
|
||||
<div class="services-grid">
|
||||
<div class="card service-card">
|
||||
<div class="card-title">
|
||||
<div class="card-title-left">
|
||||
<span class="service-icon" style="background:rgba(65,105,225,0.15);">🏠</span>
|
||||
<span class="service-icon icon-ha"><span class="icon-glyph glyph-home"></span></span>
|
||||
<span class="service-name">HOME ASSISTANT</span>
|
||||
</div>
|
||||
<span class="status-pill pill-offline" id="ha-pill">OFFLINE</span>
|
||||
@@ -326,12 +851,12 @@
|
||||
<div class="stat-block"><div class="stat-num" id="ha-doors">—</div><div class="stat-label">Doors</div></div>
|
||||
<div class="stat-block"><div class="stat-num danger" id="ha-alerts">—</div><div class="stat-label">Alerts</div></div>
|
||||
</div>
|
||||
<div style="margin-top:4px; font-family:var(--font-mono); font-size:8px; color:var(--text-dim);" id="ha-version"></div>
|
||||
<div class="service-footer"><span id="ha-version">Core automation hub</span><span></span></div>
|
||||
</div>
|
||||
<div class="card">
|
||||
<div class="card service-card">
|
||||
<div class="card-title">
|
||||
<div class="card-title-left">
|
||||
<span class="service-icon" style="background:rgba(0,220,140,0.12);">🐻</span>
|
||||
<span class="service-icon icon-kuma"><span class="icon-glyph glyph-kuma"></span></span>
|
||||
<span class="service-name">UPTIME KUMA</span>
|
||||
</div>
|
||||
<span class="status-pill pill-offline" id="uk-pill">OFFLINE</span>
|
||||
@@ -339,15 +864,15 @@
|
||||
<div class="stats-grid" style="margin-bottom:5px;">
|
||||
<div class="stat-block"><div class="stat-num" id="uk-up">—</div><div class="stat-label">Up</div></div>
|
||||
<div class="stat-block"><div class="stat-num danger" id="uk-down">—</div><div class="stat-label">Down</div></div>
|
||||
<div class="stat-block"><div class="stat-num warn" id="uk-paused">—</div><div class="stat-label">Paused</div></div>
|
||||
<div class="stat-block"><div class="stat-num" id="uk-uptime">—</div><div class="stat-label">24h %</div></div>
|
||||
</div>
|
||||
<div id="uk-down-list"></div>
|
||||
<div id="uk-bars"></div>
|
||||
<div class="service-footer"><span id="uk-footer">No monitor data</span><div class="micro-strip" id="uk-bars"></div></div>
|
||||
</div>
|
||||
<div class="card">
|
||||
<div class="card service-card">
|
||||
<div class="card-title">
|
||||
<div class="card-title-left">
|
||||
<span class="service-icon" style="background:rgba(255,204,68,0.12);">📷</span>
|
||||
<span class="service-icon icon-immich"><span class="icon-glyph glyph-image"></span></span>
|
||||
<span class="service-name">IMMICH</span>
|
||||
</div>
|
||||
<span class="status-pill pill-offline" id="immich-pill">OFFLINE</span>
|
||||
@@ -358,14 +883,10 @@
|
||||
<div class="stat-block"><div class="stat-num dim" id="immich-storage">—</div><div class="stat-label">Storage</div></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- SERVICE WIDGETS ROW 2 -->
|
||||
<div class="widget-row row-3" style="margin-bottom:8px;">
|
||||
<div class="card">
|
||||
<div class="card service-card">
|
||||
<div class="card-title">
|
||||
<div class="card-title-left">
|
||||
<span class="service-icon" style="background:rgba(68,170,255,0.12);">💾</span>
|
||||
<span class="service-icon icon-backrest"><span class="icon-glyph glyph-backrest"></span></span>
|
||||
<span class="service-name">BACKREST</span>
|
||||
<span class="status-dot dot-unk" id="backrest-status-dot" title="unknown"></span>
|
||||
</div>
|
||||
@@ -377,10 +898,10 @@
|
||||
<div class="stat-block"><div class="stat-num danger" id="backrest-errors">—</div><div class="stat-label">Errors</div></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card">
|
||||
<div class="card service-card">
|
||||
<div class="card-title">
|
||||
<div class="card-title-left">
|
||||
<span class="service-icon" style="background:rgba(0,220,140,0.12);">🛡️</span>
|
||||
<span class="service-icon icon-adguard"><span class="icon-glyph glyph-shield"></span></span>
|
||||
<span class="service-name">ADGUARD DNS</span>
|
||||
</div>
|
||||
<span class="status-pill pill-offline" id="adguard-pill">OFFLINE</span>
|
||||
@@ -393,9 +914,12 @@
|
||||
</div>
|
||||
<div class="adguard-bar-wrap"><div class="adguard-bar"><div class="adguard-bar-fill" id="adguard-bar-fill"></div></div></div>
|
||||
</div>
|
||||
<div class="card">
|
||||
<div class="card service-card">
|
||||
<div class="card-title">
|
||||
<div class="card-title-left"><span class="dot"></span>SERVICES OVERVIEW</div>
|
||||
<div class="card-title-left">
|
||||
<span class="service-icon icon-services"><span class="icon-glyph glyph-services"></span></span>
|
||||
<span class="service-name">SERVICES OVERVIEW</span>
|
||||
</div>
|
||||
<span class="status-pill pill-offline" id="services-pill">—</span>
|
||||
</div>
|
||||
<div class="stats-grid">
|
||||
@@ -428,4 +952,4 @@
|
||||
setInterval(updateClock, 1000);
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user