diff --git a/static/app.js b/static/app.js index d753b12..3fe4e00 100644 --- a/static/app.js +++ b/static/app.js @@ -53,6 +53,7 @@ async function refreshAll() { const status = statusResult.value; updateEventsTable(status.events || [], status.total_active); updateStatusBar(status.summary || {}, status.last_check || '', status.daemon_ok); + if (typeof window.gandalfNotifUpdate === 'function') window.gandalfNotifUpdate(status.events || []); } else { showToast('Status data unavailable', 'warning'); } diff --git a/templates/base.html b/templates/base.html index e4e0887..e605a11 100644 --- a/templates/base.html +++ b/templates/base.html @@ -140,6 +140,38 @@ {% if user.groups and 'admin' in user.groups %} ADMIN {% endif %} + + +
+ + +
+ + + + @@ -170,12 +202,19 @@ {% block content %}{% endblock %} - +