From 89d6651af20b3818ac3b694ef635ca79652b2004 Mon Sep 17 00:00:00 2001 From: Sven Carstensen Date: Mon, 16 Mar 2026 16:56:55 +0100 Subject: [PATCH] Admin Dashboard reduziert: Nur noch Statistiken und Benutzerverwaltung-Kachel --- frontend/src/pages/AdminDashboardPage.tsx | 85 +---------------------- 1 file changed, 3 insertions(+), 82 deletions(-) diff --git a/frontend/src/pages/AdminDashboardPage.tsx b/frontend/src/pages/AdminDashboardPage.tsx index 9a2bc18..8890ca2 100644 --- a/frontend/src/pages/AdminDashboardPage.tsx +++ b/frontend/src/pages/AdminDashboardPage.tsx @@ -34,48 +34,13 @@ export default function AdminDashboardPage() { }, []); const adminModules = [ - { - title: "Landwirte", - description: "Verwaltung der Landwirte und Betriebe", - icon: "๐Ÿ‘จโ€๐ŸŒพ", - route: "/admin/landwirte", - color: "#4a7c59", - }, { title: "Benutzer", - description: "Benutzerverwaltung und Berechtigungen", + description: "Freigabe und Sperre von Benutzerkonten", icon: "๐Ÿ‘ฅ", route: "/admin/benutzer", color: "#5b7ba8", }, - { - title: "Medikamente", - description: "Verwaltung der Medikamentenkataloge", - icon: "๐Ÿ’Š", - route: "/admin/medikamente", - color: "#8b5a7c", - }, - { - title: "Erreger", - description: "Verwaltung der Erreger und Kรผrzel", - icon: "๐Ÿฆ ", - route: "/admin/erreger", - color: "#7c5a5a", - }, - { - title: "Antibiogramm", - description: "Verwaltung der Antibiotika-Kataloge", - icon: "๐Ÿ“Š", - route: "/admin/antibiogramm", - color: "#5a7c7c", - }, - { - title: "Berichtsvorlage", - description: "Gestaltung der PDF-Berichtsvorlagen", - icon: "๐Ÿ“„", - route: "/report-template", - color: "#7c7c5a", - }, ]; return ( @@ -86,7 +51,7 @@ export default function AdminDashboardPage() {

Administration

Administrator Dashboard

- Verwalten Sie Landwirte, Benutzer, Medikamente, Erreger und Systemeinstellungen. + Verwalten Sie die Freigabe und Sperre von Benutzerkonten.

@@ -142,51 +107,7 @@ export default function AdminDashboardPage() { - {/* Schnellzugriffe */} -
-
-
-
-

Schnellzugriff

-

Hรคufige Aktionen

-
-
-
- - - - -
-
-
+ ); }