diff --git a/app/sovran_systemsos_web/static/css/header.css b/app/sovran_systemsos_web/static/css/header.css index d889e3d..f0c89d9 100644 --- a/app/sovran_systemsos_web/static/css/header.css +++ b/app/sovran_systemsos_web/static/css/header.css @@ -6,30 +6,33 @@ padding: 16px 24px; display: flex; align-items: center; - gap: 16px; + justify-content: center; position: sticky; top: 0; z-index: 100; - justify-content: center; +} + +.header-center { + display: flex; + flex-direction: column; + align-items: center; + gap: 6px; } .header-bar .title { font-size: 1.15rem; font-weight: 700; color: var(--text-primary); - display: flex; - flex-direction: column; - align-items: center; - gap: 4px; - flex: 1; } -.header-bar .header-right { - display: flex; - align-items: center; - gap: 16px; +.header-right { position: absolute; right: 24px; + top: 50%; + transform: translateY(-50%); + display: flex; + align-items: center; + gap: 10px; } .header-logo { diff --git a/app/sovran_systemsos_web/static/js/events.js b/app/sovran_systemsos_web/static/js/events.js index b120492..74ba7a0 100644 --- a/app/sovran_systemsos_web/static/js/events.js +++ b/app/sovran_systemsos_web/static/js/events.js @@ -3,7 +3,6 @@ // ── Event listeners ─────────────────────────────────────────────── if ($updateBtn) $updateBtn.addEventListener("click", openUpdateModal); -if ($refreshBtn) $refreshBtn.addEventListener("click", function() { refreshServices(); }); if ($btnCloseModal) $btnCloseModal.addEventListener("click", closeUpdateModal); if ($btnReboot) $btnReboot.addEventListener("click", doReboot); if ($btnSave) $btnSave.addEventListener("click", saveErrorReport); @@ -77,4 +76,4 @@ async function init() { } } -document.addEventListener("DOMContentLoaded", init); +document.addEventListener("DOMContentLoaded", init); \ No newline at end of file diff --git a/app/sovran_systemsos_web/static/js/state.js b/app/sovran_systemsos_web/static/js/state.js index 8113571..4da0501 100644 --- a/app/sovran_systemsos_web/static/js/state.js +++ b/app/sovran_systemsos_web/static/js/state.js @@ -33,7 +33,6 @@ const $sidebarSupport = document.getElementById("sidebar-support"); const $sidebarFeatures = document.getElementById("sidebar-features"); const $updateBtn = document.getElementById("btn-update"); const $updateBadge = document.getElementById("update-badge"); -const $refreshBtn = document.getElementById("btn-refresh"); const $internalIp = document.getElementById("ip-internal"); const $externalIp = document.getElementById("ip-external"); @@ -91,4 +90,4 @@ const $portReqBody = document.getElementById("port-req-body"); const $portReqClose = document.getElementById("port-req-close-btn"); // System status banner -// (removed — health is now shown per-tile via the composite health field) +// (removed — health is now shown per-tile via the composite health field) \ No newline at end of file diff --git a/app/sovran_systemsos_web/templates/index.html b/app/sovran_systemsos_web/templates/index.html index 346ebf7..7ef3a54 100644 --- a/app/sovran_systemsos_web/templates/index.html +++ b/app/sovran_systemsos_web/templates/index.html @@ -18,20 +18,19 @@ -
- - - Sovran_SystemsOS Hub - -
- Loading… - - -
-
+
+
+ + Sovran_SystemsOS Hub +
+
+ Loading… + +
+
@@ -204,4 +203,4 @@ - + \ No newline at end of file