From c41cdad90d7285077be84cde77e5f22a9d2842fe Mon Sep 17 00:00:00 2001 From: Sven Carstensen Date: Mon, 16 Mar 2026 12:38:08 +0100 Subject: [PATCH] =?UTF-8?q?UI-Verbesserungen:=20Rechnungsmen=C3=BC=20entfe?= =?UTF-8?q?rnt,=20TS=20zu=20Trockenstellerprobe,=20Auff=C3=A4llig=20statt?= =?UTF-8?q?=20=E2=9A=A0,=20Erregerkacheln=20bereinigt,=20Layout-Abst=C3=A4?= =?UTF-8?q?nde=20optimiert?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/App.tsx | 2 - frontend/src/layout/AppShell.tsx | 4 - frontend/src/pages/AdministrationPage.tsx | 2 +- frontend/src/pages/AnamnesisPage.tsx | 9 +- frontend/src/pages/InvoiceTemplatePage.tsx | 2635 ----------------- frontend/src/pages/LoginPage.tsx | 2 +- frontend/src/pages/ReportTemplatePage.tsx | 2281 +++++++++++++- frontend/src/pages/SampleRegistrationPage.tsx | 6 +- frontend/src/styles/global.css | 9 + 9 files changed, 2281 insertions(+), 2669 deletions(-) delete mode 100644 frontend/src/pages/InvoiceTemplatePage.tsx diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index f4293b6..f3679b6 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -13,7 +13,6 @@ import SearchPage from "./pages/SearchPage"; import SearchFarmerPage from "./pages/SearchFarmerPage"; import SearchCalendarPage from "./pages/SearchCalendarPage"; import UserManagementPage from "./pages/UserManagementPage"; -import InvoiceTemplatePage from "./pages/InvoiceTemplatePage"; import ReportTemplatePage from "./pages/ReportTemplatePage"; function ProtectedRoutes() { @@ -37,7 +36,6 @@ function ProtectedRoutes() { } /> } /> } /> - } /> } /> } /> } /> diff --git a/frontend/src/layout/AppShell.tsx b/frontend/src/layout/AppShell.tsx index 98c9679..80b64ba 100644 --- a/frontend/src/layout/AppShell.tsx +++ b/frontend/src/layout/AppShell.tsx @@ -5,7 +5,6 @@ const PAGE_TITLES: Record = { "/home": "Startseite", "/samples/new": "Neuanlage einer Probe", "/portal": "MUH-Portal", - "/invoice-template": "Rechnung", "/report-template": "Bericht", }; @@ -84,9 +83,6 @@ export default function AppShell() {
Vorlagen
- `nav-sublink ${isActive ? "is-active" : ""}`}> - Rechnung - `nav-sublink ${isActive ? "is-active" : ""}`}> Bericht diff --git a/frontend/src/pages/AdministrationPage.tsx b/frontend/src/pages/AdministrationPage.tsx index bc72fd2..8ad100d 100644 --- a/frontend/src/pages/AdministrationPage.tsx +++ b/frontend/src/pages/AdministrationPage.tsx @@ -287,7 +287,7 @@ export default function AdministrationPage() { - + ) : null} diff --git a/frontend/src/pages/AnamnesisPage.tsx b/frontend/src/pages/AnamnesisPage.tsx index c4c5814..1c1c60d 100644 --- a/frontend/src/pages/AnamnesisPage.tsx +++ b/frontend/src/pages/AnamnesisPage.tsx @@ -153,7 +153,7 @@ export default function AnamnesisPage() { onClick={() => setActiveQuarter(quarter.quarterKey)} > {quarter.label} - {quarter.flagged ? " ⚠" : ""} + {quarter.flagged ? " Auffällig" : ""} ))}
@@ -186,12 +186,11 @@ export default function AnamnesisPage() { disabled={!sample.anamnesisEditable} > {pathogen.name} - {pathogen.code ?? pathogen.kind} ))}
-