From fd06103704f1498c47e902172f805ac81c615ed4 Mon Sep 17 00:00:00 2001 From: andersonid Date: Fri, 17 Oct 2025 17:01:52 -0300 Subject: [PATCH] =?UTF-8?q?Fix:=20Removido=20card=20de=20storage=20da=20se?= =?UTF-8?q?=C3=A7=C3=A3o=20de=20m=C3=A9tricas=20-=20apenas=20donut=20chart?= =?UTF-8?q?=20na=20se=C3=A7=C3=A3o=20de=20gr=C3=A1ficos?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/static/index.html | 41 +---------------------------------------- 1 file changed, 1 insertion(+), 40 deletions(-) diff --git a/app/static/index.html b/app/static/index.html index 5fa85ad..e1c0c54 100644 --- a/app/static/index.html +++ b/app/static/index.html @@ -1822,37 +1822,6 @@ - -
-
-
- -
-
-
-
Storage Utilization
-
-
-
- -
-
-
-
Total PVCs
-
-
-
- -
-
-
-
Storage Warnings
-
-
-
- -
-
-
-
Storage Classes
-
-
@@ -2800,15 +2769,7 @@ function updateDashboardStorageMetrics(data) { try { - const storageUtilization = data.storage_utilization_percent || 0; - - // Update storage metrics cards - document.getElementById('dashboard-storage-utilization').textContent = `${storageUtilization.toFixed(1)}%`; - document.getElementById('dashboard-total-pvcs').textContent = data.total_pvcs || '0'; - document.getElementById('dashboard-storage-warnings').textContent = data.storage_warnings || '0'; - document.getElementById('dashboard-storage-classes').textContent = data.storage_classes ? data.storage_classes.length : '0'; - - // Update storage donut chart + // Update storage donut chart only updateStorageDonutChart(data); } catch (error) {