From 73ade70f16e2a08e57470bba006b649f8e6a0f06 Mon Sep 17 00:00:00 2001 From: stephan Date: Tue, 30 Dec 2025 12:25:38 +0100 Subject: [PATCH] feat: modernize web UI with dashboard and enhanced UX MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add Lucide Icons library integration - Implement metrics dashboard with 4 cards (users count, active, locked, version) - Replace text-based user list with proper table including status badges - Add toast notification system with slide-in animation - Implement loading states with spinners for async operations - Add action modal for user disable/enable operations - Add status badges (success/warning/error/neutral) throughout - Enhance CSS with hover effects, transitions, and modern styling - Improve visual hierarchy with card-based layout - Add icon-based actions for better UX 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 --- CHANGELOG.md | 1 + backend/templates/index.html | 808 +++++++++++++++++++++++------------ 2 files changed, 532 insertions(+), 277 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ef617d9..f22d4d6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -40,6 +40,7 @@ By: Codex (GPT-5) | 30.12.2025 | ⚙️ Code | ID: Update-API Endpunkte implementiert (GET /update/status, POST /update/check, POST /update/apply, POST /update/rollback, GET /update/logs). By: Claude Sonnet 4.5 | | 30.12.2025 | ⚙️ Code | ID: Update-UI im Web-Frontend implementiert (Status-Anzeige, Check/Apply/Rollback Buttons, Logs-Viewer). By: Claude Sonnet 4.5 | | 30.12.2025 | 🎨 UI | ID: Watchtower Theme implementiert (Sci-Fi Dark Mode mit Neon-Glow, bg-noise, CSS-Variables). By: Claude Sonnet 4.5 | +| 30.12.2025 | 🎨 UI | ID: Web-UI modernisiert (Lucide Icons, Metrics Dashboard, User Table mit Badges, Toast Notifications, Loading States, Action Modals). By: Claude Sonnet 4.5 | --- ## Legende diff --git a/backend/templates/index.html b/backend/templates/index.html index b46450c..4c83a7a 100644 --- a/backend/templates/index.html +++ b/backend/templates/index.html @@ -6,143 +6,284 @@ Safe Kiddo Control +
+ +
-

Safe Kiddo Control

-

Steuere Nutzerkonten Ăźber die lokale API. Stelle sicher, dass der API-Token gesetzt ist.

+

+ + Safe Kiddo Control +

+
-
-

Login

-

Bevorzugt OIDC nutzen, falls konfiguriert. Die Anmeldung Ăśffnet den Identity Provider und setzt eine Session-Cookie.

- -
-

Lokale Anmeldung (PAM) ist immer moeglich:

+ +
+
+
Verwaltbare Nutzer
+
-
+
+
+
Aktive Konten
+
-
+
+
+
Gesperrte Konten
+
-
+
+
+
Version
+
-
+
+
+ + +
+

Anmeldung

+

Melde dich an um Nutzerkonten zu verwalten

+ + + +
+ ODER +
+
-
+
-
+
- + -
-
-

Status abrufen

- -
+ + -
-

Aktion ausfĂźhren

-
-
-
- - -
-
- - -
-
-
-
- - -
-
- - -
-
- - - -
-
-
+ +