summaryrefslogtreecommitdiff
path: root/src/main/resources/templates/report.html
diff options
context:
space:
mode:
authorPaul-Christian Volkmer2024-01-09 18:09:44 +0100
committerPaul-Christian Volkmer2024-01-09 18:09:44 +0100
commitf98c9703488f04667fa30fc3172ca28b686f8bf3 (patch)
tree6a649dc88ded6ecd5d73ae13c3eda95444e77e32 /src/main/resources/templates/report.html
parent75872a149f85e92ace8e82b2aa53e887e3043035 (diff)
chore: layout and style changes
Diffstat (limited to 'src/main/resources/templates/report.html')
-rw-r--r--src/main/resources/templates/report.html16
1 files changed, 11 insertions, 5 deletions
diff --git a/src/main/resources/templates/report.html b/src/main/resources/templates/report.html
index 4aaad68..01accc4 100644
--- a/src/main/resources/templates/report.html
+++ b/src/main/resources/templates/report.html
@@ -15,6 +15,7 @@
<thead>
<tr>
<th>Status</th>
+ <th>Typ</th>
<th>ID</th>
<th>Datum</th>
<th>Patienten-ID</th>
@@ -27,6 +28,7 @@
<td th:if="${request.status.value == 'error'}" class="bg-red"><small>[[ ${request.status} ]]</small></td>
<td th:if="${request.status.value == 'unknown'}" class="bg-gray"><small>[[ ${request.status} ]]</small></td>
<td th:if="${request.status.value == 'duplication'}" class="bg-gray"><small>[[ ${request.status} ]]</small></td>
+ <td th:style="${request.type.value == 'delete'} ? 'color: red;'"><small>[[ ${request.type} ]]</small></td>
<td>[[ ${request.uuid} ]]</td>
<td><time th:datetime="${request.processedAt}">[[ ${request.processedAt} ]]</time></td>
<td>[[ ${request.patientId} ]]</td>
@@ -36,12 +38,16 @@
<h2 th:text="${request.report.description}"></h2>
- <table th:if="not ${issues.isEmpty()}">
+ <p th:if="${issues.isEmpty()}">
+ Keine weiteren Angaben.
+ </p>
+
+ <table th:if="${not issues.isEmpty()}">
<thead>
- <tr>
- <th>Schweregrad</th>
- <th>Beschreibung</th>
- </tr>
+ <tr>
+ <th>Schweregrad</th>
+ <th>Beschreibung</th>
+ </tr>
</thead>
<tbody>
<tr th:each="issue : ${issues}">