diff options
| author | Paul-Christian Volkmer | 2024-03-06 10:00:17 +0100 |
|---|---|---|
| committer | Paul-Christian Volkmer | 2024-03-06 10:00:17 +0100 |
| commit | 36549622948da2cb2e66012876e5eef15e839aa2 (patch) | |
| tree | 8a96a9d54a74fd149a51d055d663769bee7dbc8c /src/main/resources/templates/configs/gPasConnectionAvailable.html | |
| parent | 9382da7101c0bff0c4877dcfb4e3cb9fcd5f2377 (diff) | |
feat: initial implementation of gPAS connection check
Diffstat (limited to 'src/main/resources/templates/configs/gPasConnectionAvailable.html')
| -rw-r--r-- | src/main/resources/templates/configs/gPasConnectionAvailable.html | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/main/resources/templates/configs/gPasConnectionAvailable.html b/src/main/resources/templates/configs/gPasConnectionAvailable.html new file mode 100644 index 0000000..6dccc60 --- /dev/null +++ b/src/main/resources/templates/configs/gPasConnectionAvailable.html @@ -0,0 +1,19 @@ +<th:block th:if="${gPasConnectionAvailable == null}"> + <h2><span>🟦</span> gPAS nicht konfiguriert - Patienten-IDs werden intern anonymisiert</h2> +</th:block> +<th:block th:if="${gPasConnectionAvailable != null}"> + <h2><span th:if="${gPasConnectionAvailable}">✅</span><span th:if="${not(gPasConnectionAvailable)}">⚡</span> Verbindung zu gPAS</h2> + <div> + Die Verbindung ist aktuell + <strong th:if="${gPasConnectionAvailable}" style="color: green">verfügbar.</strong> + <strong th:if="${not(gPasConnectionAvailable)}" style="color: red">nicht verfügbar.</strong> + </div> + <div class="connection-display border"> + <img th:src="@{/server.png}" alt="ETL-Processor" /> + <span class="connection" th:classappend="${gPasConnectionAvailable ? 'available' : ''}"></span> + <img th:src="@{/server.png}" alt="gPAS" /> + <span>ETL-Processor</span> + <span></span> + <span>gPAS</span> + </div> +</th:block>
\ No newline at end of file |
