From c81f603cccaf1a396dcb16752d4ac45f5dcd6fc6 Mon Sep 17 00:00:00 2001 From: kodi Date: Thu, 19 Feb 2026 15:46:57 +0100 Subject: [PATCH] feat(containers-dashboard): podheader uitgebreid met cpu en mem totalen --- webui/html/index.html | 37 +++++++++++++++++++++++++++++++++++-- 1 file changed, 35 insertions(+), 2 deletions(-) diff --git a/webui/html/index.html b/webui/html/index.html index cf40bd3..bda5b5a 100644 --- a/webui/html/index.html +++ b/webui/html/index.html @@ -707,6 +707,7 @@ const table = tbody.closest('table'); const colCount = table ? table.querySelectorAll('thead th').length : 9; + containersC2P = new Map(); let html = ''; @@ -768,8 +769,9 @@ - - ${isRealPod ? 'pod' : '-'} - - - - + + - + - ${esc(podPortsText)} ${isRealPod ? ` @@ -787,6 +789,8 @@ `; for (const c of items) { + const cname = normalizeContainerName((c.Names && c.Names[0]) ? c.Names[0] : (c.Names || c.Name || c.name || '')); + if (cname) containersC2P.set(cname, pod); const row = renderContainerRow(c).replace( '