Group GUI controls by camera

This commit is contained in:
2026-08-03 01:05:11 +02:00
parent f4ab49e0c8
commit 10d9936d22
7 changed files with 321 additions and 70 deletions
+2 -2
View File
@@ -14,11 +14,11 @@ function updateTimers() {
}
const remaining = target - now;
if (remaining <= 0) {
item.textContent = item.dataset.expiredLabel || "Auto-off pending";
item.textContent = item.dataset.expiredLabel || "Automatic turn-off pending";
item.classList.add("timer-expired");
return;
}
item.textContent = `${item.dataset.prefix || "Auto-off"} ${formatRemaining(remaining)}`;
item.textContent = `${item.dataset.prefix || "Automatic turn-off in"} ${formatRemaining(remaining)}`;
});
}