summaryrefslogtreecommitdiff
path: root/src/main/resources/templates/index.html
diff options
context:
space:
mode:
authorPaul-Christian Volkmer2024-01-11 13:09:55 +0100
committerPaul-Christian Volkmer2024-01-11 13:29:33 +0100
commit8a11e6e85b2b2cb4f860ddca010386cb3f701f9b (patch)
treee5e21d21cba3f6d5845b185bce26a5d80e126b42 /src/main/resources/templates/index.html
parent5579ad14534111db6954b772ccd0ea72a09e4c15 (diff)
feat #18: initial support for authentication
Diffstat (limited to 'src/main/resources/templates/index.html')
-rw-r--r--src/main/resources/templates/index.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main/resources/templates/index.html b/src/main/resources/templates/index.html
index b34804b..b1c3142 100644
--- a/src/main/resources/templates/index.html
+++ b/src/main/resources/templates/index.html
@@ -1,5 +1,5 @@
<!DOCTYPE html>
-<html lang="de" xmlns:th="http://www.thymeleaf.org">
+<html lang="de" xmlns:th="http://www.thymeleaf.org" xmlns:sec="http://www.thymeleaf.org">
<head>
<meta charset="UTF-8">
<title>ETL-Prozessor</title>
@@ -42,7 +42,8 @@
<a th:href="@{/report/{id}(id=${request.uuid})}">[[ ${request.uuid} ]]</a>
</td>
<td><time th:datetime="${request.processedAt}">[[ ${request.processedAt} ]]</time></td>
- <td>[[ ${request.patientId} ]]</td>
+ <td class="patient-id" sec:authorize="authenticated">[[ ${request.patientId} ]]</td>
+ <td class="patient-id" sec:authorize="not authenticated">***</td>
</tr>
</tbody>
</table>