table background color dependend of status

This commit is contained in:
Thomas Ciesla
2026-01-09 12:41:36 +01:00
parent 65a47e5a08
commit 6e2f3946df

View File

@@ -1497,6 +1497,10 @@ def get_dashboard_html() -> str:
th.sortable.asc .sort-icon, th.sortable.desc .sort-icon { opacity: 1; color: var(--accent); }
td { border-top: 1px solid var(--border); font-size: 14px; }
tr:hover td { background: rgba(255,255,255,0.02); }
#tableLink11 tbody tr td { background: rgba(0, 210, 106, 0.08); }
#tableLink11 tbody tr:hover td { background: rgba(0, 210, 106, 0.15); }
#tableDirect tbody tr td { background: rgba(255, 71, 87, 0.08); }
#tableDirect tbody tr:hover td { background: rgba(255, 71, 87, 0.15); }
.status-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 20px; font-size: 12px; font-weight: 500; }
.status-online { background: rgba(0,210,106,0.15); color: var(--success); }
.status-offline { background: rgba(255,71,87,0.15); color: var(--danger); }