From 4b9202b47cbdc7b207c8baa81e9cb05424ba78d5 Mon Sep 17 00:00:00 2001 From: OfficeCom Codex Date: Mon, 27 Jul 2026 14:39:10 +0200 Subject: [PATCH] Redesign recipient management dashboard --- infra/debug-dashboard/static/app.css | 1 + .../debug-dashboard/templates/recipients.html | 34 ++++++++++++------- 2 files changed, 23 insertions(+), 12 deletions(-) diff --git a/infra/debug-dashboard/static/app.css b/infra/debug-dashboard/static/app.css index 965d598..f2308e7 100644 --- a/infra/debug-dashboard/static/app.css +++ b/infra/debug-dashboard/static/app.css @@ -26,3 +26,4 @@ table { width:100%; border-collapse:collapse; font-family:'Roboto',sans-serif; f .recipient-form input,.recipient-form select { border-radius:5px; background:#fff; } .recipient-form input:focus,.recipient-form select:focus { outline:2px solid rgba(36,90,133,.25); border-color:#245a85; } .rule-actions .button-secondary { border-color:var(--line); background:#f8fbfd; } +.recipient-intro { max-width:720px; margin:6px 0 28px; }.recipient-intro h1 { margin:9px 0 10px; font-size:46px; line-height:1; letter-spacing:-.055em; }.recipient-intro p { margin:0; color:var(--muted); font-size:16px; line-height:1.55; }.recipient-intro strong { color:var(--ink); }.recipient-create-panel { margin-top:0; border-color:#c8dbe8; }.recipient-create-panel .panel-heading h2,.recipient-rules-panel .panel-heading h2 { margin:7px 0 8px; }.recipient-create-panel .panel-heading p { margin:0 0 20px; }.recipient-form button { white-space:nowrap; }.recipient-rules-panel { padding-bottom:12px; }.recipient-rules-panel .panel-heading { display:flex; align-items:end; justify-content:space-between; gap:16px; }.recipient-rules-panel .panel-heading h2 { margin-bottom:20px; }.recipient-rules-panel .panel-heading small { display:inline-block; margin-left:7px; padding:4px 7px; border-radius:12px; background:#edf4f8; color:#4d687b; font-size:10px; font-weight:700; letter-spacing:.04em; vertical-align:middle; }.recipient-table td { height:64px; }.recipient-table tr:last-child td { border-bottom:0; }.recipient-email { color:#245a85; font-weight:500; }.actions-heading { text-align:right; }.recipient-table .rule-actions { justify-content:flex-end; }.empty-state { padding:30px 10px !important; color:var(--muted); text-align:center; } diff --git a/infra/debug-dashboard/templates/recipients.html b/infra/debug-dashboard/templates/recipients.html index d46d23a..a86da41 100644 --- a/infra/debug-dashboard/templates/recipients.html +++ b/infra/debug-dashboard/templates/recipients.html @@ -1,17 +1,27 @@ {% extends "base.html" %} {% block title %}Empfaenger - OC Sentinel{% endblock %} {% block content %} -

Empfaenger hinzufuegen

-
- - - - - -
+
+ Wochenberichte +

Empfaenger verwalten

+

Lege fest, welche Personen den Sicherheitsbericht einer Organisation erhalten. Regeln fuer Alle Organisationen gelten zusaetzlich zu den einzelnen Organisationen.

+
-

E-Mail-Verteiler

-
-{% for rule in rules %}{% else %}{% endfor %} -
OrganisationE-Mail-AdresseStatusAktion
{{ rule[2] }}{{ rule[3] }}{{ 'aktiv' if rule[4] else 'pausiert' }}
Keine Empfaengerregeln.
+
+
Neue Regel

Bericht zustellen

Die Adresse wird beim naechsten Wochenbericht automatisch beruecksichtigt.

+
+ + + + + +
+
+ +
+
Aktive Konfiguration

E-Mail-Verteiler {{ rules|length }} Regel{{ '' if rules|length == 1 else 'n' }}

+
+{% for rule in rules %}{% else %}{% endfor %} +
OrganisationE-Mail-AdresseStatusVerwalten
{{ rule[2] }}{{ rule[3] }}{{ 'aktiv' if rule[4] else 'pausiert' }}
Noch keine Empfaengerregeln angelegt.
+
{% endblock %}