diff --git a/network-poc/hub/src/main.rs b/network-poc/hub/src/main.rs index 8aef7a9..bbfd1a5 100644 --- a/network-poc/hub/src/main.rs +++ b/network-poc/hub/src/main.rs @@ -54,10 +54,11 @@ h1 { color:var(--accent); margin-bottom:5px; } .stat-card { background:var(--panel); border:1px solid var(--border); border-radius:8px; padding:16px; text-align:center; } .stat-card .val { font-size:28px; font-weight:700; color:var(--accent); } .stat-card .label { font-size:12px; color:#8b949e; margin-top:4px; } -table { width:100%; border-collapse:collapse; margin-bottom:24px; font-size:13px; } -th { background:var(--panel); color:var(--accent); text-align:left; padding:10px 8px; border-bottom:2px solid var(--border); position:sticky; top:0; } -td { padding:8px; border-bottom:1px solid var(--border); } +table { width:100%; border-collapse:collapse; margin-bottom:24px; font-size:13px; table-layout:fixed; } +th { background:var(--panel); color:var(--accent); text-align:left; padding:10px 8px; border-bottom:2px solid var(--border); position:sticky; top:0; z-index:1; white-space:nowrap; overflow:hidden; } +td { padding:8px; border-bottom:1px solid var(--border); height:36px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; } tr:hover td { background:#1c2333; } +.table-wrap { max-height:60vh; overflow-y:auto; border:1px solid var(--border); border-radius:6px; } .badge { display:inline-block; padding:2px 8px; border-radius:10px; font-size:11px; font-weight:600; } .badge-green { background:#23392050; color:var(--green); border:1px solid #23392080; } .badge-yellow { background:#d2992220; color:var(--yellow); border:1px solid #d2992240; } @@ -86,7 +87,13 @@ tr:hover td { background:#1c2333; }
| ID | Tila | Tehtävä | Tyyppi | IP | Alusta | OS | CPU | RAM | GPU | VRAM | WebGPU | Teht. | Yhdistetty | Kesto | @@ -217,7 +224,7 @@ async function load() { } load(); -setInterval(load, 1000); +setInterval(load, 5000);
|---|