diff --git a/libs/webadmin/static/js/settings.js b/libs/webadmin/static/js/settings.js new file mode 100644 index 0000000..ee31eee --- /dev/null +++ b/libs/webadmin/static/js/settings.js @@ -0,0 +1,6 @@ +function shutdown() { + $(".container").html("

Disconnected.

"); + $.post("/api", { + task: "shutdown" + }); +} \ No newline at end of file