diff --git a/app/static/index.html b/app/static/index.html index ac6a9fb..b597ec1 100644 --- a/app/static/index.html +++ b/app/static/index.html @@ -873,10 +873,10 @@
-
Namespaces in Overcommit
-
-
-
-
Resource Utilization
-
+
+
-
+
Resource Utilization ℹ️
+
@@ -1807,6 +1807,59 @@ }; } + function showResourceUtilizationDetails() { + const modal = document.createElement('div'); + modal.className = 'modal'; + modal.innerHTML = ` + + `; + document.body.appendChild(modal); + modal.style.display = 'block'; + + // Add close functionality + const closeBtn = modal.querySelector('.close'); + closeBtn.onclick = () => modal.remove(); + + modal.onclick = (e) => { + if (e.target === modal) modal.remove(); + }; + } + function closeModal() { const modals = document.querySelectorAll('.modal'); modals.forEach(modal => modal.remove());