mirror of
https://github.com/hyper-neptune/yuuki.git
synced 2024-12-26 06:40:57 +08:00
Add settings.js
This commit is contained in:
parent
091941706d
commit
c56a4ce4cb
1 changed files with 6 additions and 0 deletions
6
libs/webadmin/static/js/settings.js
Normal file
6
libs/webadmin/static/js/settings.js
Normal 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"
|
||||
});
|
||||
}
|
Loading…
Reference in a new issue