Resources card: CPU, Memory and Network on top, More/Less for Swap, Disk and a bandwidth test

The test downloads random bytes from the VPS for 5 s and shows the fastest half second. It's refused
while players are connected, since it saturates the uplink.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
neil 2026-10-26 20:22:28 -07:00
parent a963dc1bf4
commit 169a6154ab
No known key found for this signature in database
4 changed files with 112 additions and 4 deletions

View file

@ -75,8 +75,12 @@ header { display: flex; justify-content: space-between; align-items: center; gap
a { color: var(--accent); }
/* resources */
.meters { display: grid; grid-template-columns: repeat(4, 1fr) 1.4fr; gap: 14px; }
@media (max-width: 900px) { .meters { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); } }
.meters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 640px) { .meters { grid-template-columns: 1fr; } }
.more-meters { margin-top: 14px; }
.more-toggle { display: flex; justify-content: center; margin: 10px 0 -8px; }
#resources-toggle { border: 0; color: var(--muted); }
#resources-toggle:hover { color: var(--text); }
.meter-label { display: flex; justify-content: space-between; gap: 8px; white-space: nowrap; font-size: 13px; margin-bottom: 4px; }
.meter-label span:last-child { color: var(--muted); font-variant-numeric: tabular-nums; }
.bar { height: 8px; background: var(--bar); border-radius: 4px; overflow: hidden; }