Add settings.js

This commit is contained in:
SuperSonic 2020-02-08 17:24:19 +08:00
parent 091941706d
commit c56a4ce4cb

View file

@ -0,0 +1,6 @@
function shutdown() {
$(".container").html("<p class=\"my-3 p-3 bg-white rounded shadow-sm\">Disconnected.</p>");
$.post("/api", {
task: "shutdown"
});
}