diff --git a/templates/index.html b/templates/index.html
index e0f8985..3885b5c 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -37,13 +37,33 @@
{% for node in nodes %}
-
+
-
{{ node.name }}
-
{{ node.ip }}
-
+
+
+
{{ node.name }}
+
+ {% if "Docker" in node.status or "Online" in node.status %}
+
+ {% else %}
+
+ {% endif %}
+
+
+
+
{{ node.ip }}
+
+
+
+ {{ node.status }}
+
+
+
+
{% endfor %}
@@ -120,6 +140,11 @@
const l = document.getElementById('install-log');
l.innerHTML += `
${ev.data}
`;
l.parentElement.scrollTop = l.parentElement.scrollHeight;
+
+ // Wenn der Log "fertig" oder "abgeschlossen" meldet, lade die Node-Liste nach 2 Sek neu
+ if (ev.data.includes("abgeschlossen") || ev.data.includes("fertig")) {
+ setTimeout(() => { location.reload(); }, 2000);
+ }
};
const chatWs = new WebSocket(`ws://${location.host}/ws/chat`);