From 5a345650ce755516d25fdc6aa3443cd236956aad Mon Sep 17 00:00:00 2001 From: Paul-Christian Volkmer Date: Fri, 6 Mar 2026 20:00:56 +0100 Subject: chore: use card layout in report details --- .../dnpm/etl/processor/web/HomeControllerTest.kt | 2 +- src/main/resources/templates/report.html | 70 ++++++++++++++-------- 2 files changed, 45 insertions(+), 27 deletions(-) (limited to 'src') diff --git a/src/integrationTest/kotlin/dev/dnpm/etl/processor/web/HomeControllerTest.kt b/src/integrationTest/kotlin/dev/dnpm/etl/processor/web/HomeControllerTest.kt index e4fab05..b0b4ecb 100644 --- a/src/integrationTest/kotlin/dev/dnpm/etl/processor/web/HomeControllerTest.kt +++ b/src/integrationTest/kotlin/dev/dnpm/etl/processor/web/HomeControllerTest.kt @@ -167,7 +167,7 @@ class HomeControllerTest { ) val page = webClient.getPage("http://localhost/report/${requestId.value}") - assertThat(page.querySelectorAll("tbody tr")).hasSize(1) + assertThat(page.querySelectorAll("div.card")).hasSize(1) assertThat(page.querySelectorAll("div.notification.info")).isEmpty() } diff --git a/src/main/resources/templates/report.html b/src/main/resources/templates/report.html index 552a86c..1e2d97c 100644 --- a/src/main/resources/templates/report.html +++ b/src/main/resources/templates/report.html @@ -11,31 +11,49 @@

Anfrage [[ ${request.uuid} ]]

- - - - - - - - - - - - - - - - - - - - - - - - -
StatusTypIDDatumPatienten-ID
[[ ${request.status} ]][[ ${request.status} ]][[ ${request.status} ]][[ ${request.status} ]][[ ${request.status} ]][[ ${request.type} ]][[ ${request.uuid} ]][[ ${request.patientPseudonym} ]]***
+
+
Erfolgreiche Übertragung
+
Übertragung mit Warnungen
+
Übertragung mit Fehlern
+
Unbekannter Status
+
⏰ Unbekannter Status ⏰
+
Gestoppt: Duplikation
+
Gestoppt: Kein Consent
+
Gestoppt: Noch keine Meldebestätigung für vorhergehende Meldung
+
+
+ 📨 Übertragung vom + 🔄 Übertragung vom + ❓ Übertragung vom +
+
+ 🗑 Löschanfrage vom +
+
+
+
+
Request-ID
+
[[ ${request.uuid} ]]
+
Typ
+
+ + [[ ${request.type} ]] + ([[ ${request.submissionType} ]]) + +
+
Patienten-Pseudonym
+
+ [[ ${request.patientPseudonym} ]] +
+ +
TAN
+
+ [[ ${request.tan} ]] +
+
+

@@ -68,4 +86,4 @@ - \ No newline at end of file + -- cgit v1.2.3