srv/poe_manager/templates/logs.html aktualisiert

This commit is contained in:
2025-09-28 12:33:28 +02:00
parent 80d596b94c
commit 57005486cb

View File

@@ -14,7 +14,11 @@ function fetchLog() {
.then(response => response.text())
.then(data => {
const box = document.getElementById("log-box");
box.innerText = data;
const filteredLines = data
.split("\n")
.filter(line => !line.includes("ist erreichbar!"))
.join("\n");
box.innerText = filteredLines;
box.scrollTop = box.scrollHeight;
lastUpdateTime = now;
})