summaryrefslogtreecommitdiff
path: root/src/main/resources/templates/configs/outputConnectionAvailable.html
diff options
context:
space:
mode:
authorPaul-Christian Volkmer2024-03-06 10:00:17 +0100
committerPaul-Christian Volkmer2024-03-06 10:00:17 +0100
commit36549622948da2cb2e66012876e5eef15e839aa2 (patch)
tree8a96a9d54a74fd149a51d055d663769bee7dbc8c /src/main/resources/templates/configs/outputConnectionAvailable.html
parent9382da7101c0bff0c4877dcfb4e3cb9fcd5f2377 (diff)
feat: initial implementation of gPAS connection check
Diffstat (limited to 'src/main/resources/templates/configs/outputConnectionAvailable.html')
-rw-r--r--src/main/resources/templates/configs/outputConnectionAvailable.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/main/resources/templates/configs/outputConnectionAvailable.html b/src/main/resources/templates/configs/outputConnectionAvailable.html
new file mode 100644
index 0000000..699c614
--- /dev/null
+++ b/src/main/resources/templates/configs/outputConnectionAvailable.html
@@ -0,0 +1,16 @@
+<h2><span th:if="${outputConnectionAvailable}">✅</span><span th:if="${not(outputConnectionAvailable)}">⚡</span> Verbindung zum bwHC-Backend</h2>
+<div>
+ Verbindung über <code>[[ ${mtbFileSender} ]]</code>. Die Verbindung ist aktuell
+ <strong th:if="${outputConnectionAvailable}" style="color: green">verfügbar.</strong>
+ <strong th:if="${not(outputConnectionAvailable)}" 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="${outputConnectionAvailable ? 'available' : ''}"></span>
+ <img th:if="${mtbFileSender.startsWith('Rest')}" th:src="@{/server.png}" alt="bwHC-Backend" />
+ <img th:if="${mtbFileSender.startsWith('Kafka')}" th:src="@{/kafka.png}" alt="Kafka-Broker" />
+ <span>ETL-Processor</span>
+ <span></span>
+ <span th:if="${mtbFileSender.startsWith('Rest')}">bwHC-Backend</span>
+ <span th:if="${mtbFileSender.startsWith('Kafka')}">Kafka-Broker</span>
+</div> \ No newline at end of file