From 60d8e5f214ce0db97dab90de4ff720b6bd0dfa93 Mon Sep 17 00:00:00 2001 From: Thomas Ciesla Date: Thu, 8 Jan 2026 09:06:46 +0100 Subject: [PATCH] notifikation glocke --- jtl-wafi-dashboard.py | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/jtl-wafi-dashboard.py b/jtl-wafi-dashboard.py index 6830ac6..d77989d 100644 --- a/jtl-wafi-dashboard.py +++ b/jtl-wafi-dashboard.py @@ -1566,7 +1566,16 @@ def get_dashboard_html() -> str: .toast.success { border-color: var(--success); } .toast.error { border-color: var(--danger); } .toast.info { border-color: var(--accent); } + .toast.warning { border-color: var(--warning); } @keyframes slideIn { from { transform: translateX(100px); opacity: 0; } } + .notification-badge { position: absolute; top: -4px; right: -4px; background: var(--danger); color: white; font-size: 10px; font-weight: 700; min-width: 16px; height: 16px; border-radius: 8px; display: flex; align-items: center; justify-content: center; padding: 0 4px; } + .notification-item { padding: 12px 16px; border-bottom: 1px solid var(--border); font-size: 13px; display: flex; gap: 10px; align-items: flex-start; } + .notification-item:last-child { border-bottom: none; } + .notification-item:hover { background: var(--bg); } + .notification-icon { font-size: 16px; flex-shrink: 0; } + .notification-content { flex: 1; min-width: 0; } + .notification-text { color: var(--text); word-break: break-word; } + .notification-time { font-size: 11px; color: var(--text-secondary); margin-top: 4px; } @media (max-width: 1400px) { .stats-grid { grid-template-columns: repeat(3, 1fr); } .top-shops-list { grid-template-columns: repeat(3, 1fr); } } @media (max-width: 900px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } .detail-grid { grid-template-columns: repeat(2, 1fr); } } @@ -1579,6 +1588,7 @@ def get_dashboard_html() -> str:
Verbinde...
Update:
+
Abmelden
@@ -1661,6 +1671,7 @@ def get_dashboard_html() -> str: