Grotti 3.0.0: Aufträge, Wartung, SSE, Ausschuss-Dialog, UI-Umbau.

Migrationen 003–009, Kundaufträge mit Lieferschein, Abräumen mit Urteil,
ntfy/Backup/Zeitfenster, Live-Stream und Mobile-Mehr-Menü.
This commit is contained in:
Dominic Gundel committed 2026-10-18 00:54:51 +02:00
1 parent 0236278929
commit 8e88efc094
45 files changed
+3121 -122

No files matched your search

+5 -3
View File
@@ -1562,19 +1562,21 @@ async function handleWallClick(event) {
return;
}
if (button.dataset.cmd === "abraeumen") {
armButton(button, "Platte frei?", async () => {
(async () => {
const payload = await promptAbraeumen(host);
if (!payload) return;
button.disabled = true;
try {
await api("/drucker/" + encodeURIComponent(host) + "/abraeumen", {
method: "POST",
json: { confirm: true },
json: payload,
});
toast("Platte quittiert — der nächste Job darf starten.");
refresh();
if (window.refreshTasks) window.refreshTasks();
} catch (error) { toast(error.message, "bad"); }
finally { button.disabled = false; }
});
})();
return;
}
button.disabled = true;