diff options
| author | jlidke | 2025-07-22 20:02:15 +0200 |
|---|---|---|
| committer | GitHub | 2025-07-22 20:02:15 +0200 |
| commit | 199511e567884bb703277c276b782e54e528f744 (patch) | |
| tree | 42c19612ae161f98a252a13f4bd8234d7bae0527 /src/main/resources/templates/configs | |
| parent | 1319be8b3f5fbb3c4800dc9b942fc1982ac928d3 (diff) | |
63 check consent status (#120)
Co-authored-by: Paul-Christian Volkmer <code@pcvolkmer.de>
Diffstat (limited to 'src/main/resources/templates/configs')
| -rw-r--r-- | src/main/resources/templates/configs/gIcsConnectionAvailable.html | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/main/resources/templates/configs/gIcsConnectionAvailable.html b/src/main/resources/templates/configs/gIcsConnectionAvailable.html new file mode 100644 index 0000000..907a5a2 --- /dev/null +++ b/src/main/resources/templates/configs/gIcsConnectionAvailable.html @@ -0,0 +1,24 @@ +<th:block th:if="${gIcsConnectionAvailable == null}"> + <h2><span>🟦</span> gICS nicht konfiguriert - Einwilligung wird über Dateiinhalt geprüft</h2> +</th:block> +<th:block th:if="${gIcsConnectionAvailable != null}"> + <h2><span th:if="${gIcsConnectionAvailable.available}">✅</span><span th:if="${not(gIcsConnectionAvailable.available)}">⚡</span> Verbindung zu gICS</h2> + <div> + Stand: <time style="font-weight: bold" th:datetime="${#temporals.formatISO(gIcsConnectionAvailable.timestamp)}" th:text="${#temporals.formatISO(gIcsConnectionAvailable.timestamp)}"></time> + | + Letzte Änderung: <time style="font-weight: bold" th:datetime="${#temporals.formatISO(gIcsConnectionAvailable.lastChange)}" th:text="${#temporals.formatISO(gIcsConnectionAvailable.lastChange)}"></time> + </div> + <div> + <span>Die Verbindung ist aktuell</span> + <strong th:if="${gIcsConnectionAvailable.available}" style="color: green">verfügbar.</strong> + <strong th:if="${not(gIcsConnectionAvailable.available)}" 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="${gIcsConnectionAvailable.available ? 'available' : ''}"></span> + <img th:src="@{/server.png}" alt="gICS" /> + <span>ETL-Processor</span> + <span></span> + <span>gICS</span> + </div> +</th:block>
\ No newline at end of file |
