display shutdown msg
This commit is contained in:
parent
c6436b7c5b
commit
2fdf146b0f
@ -930,6 +930,7 @@ shutdownButton.addEventListener("click", () => {
|
|||||||
fetch("/shutdown", {
|
fetch("/shutdown", {
|
||||||
method: "GET",
|
method: "GET",
|
||||||
});
|
});
|
||||||
|
document.getElementById('yooo').style.display = "block";
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
@ -939,6 +940,7 @@ restartButton.addEventListener("click", () => {
|
|||||||
fetch("/restart", {
|
fetch("/restart", {
|
||||||
method: "GET",
|
method: "GET",
|
||||||
});
|
});
|
||||||
|
document.getElementById('yooo').style.display = "block";
|
||||||
});
|
});
|
||||||
|
|
||||||
var resetButton = document.getElementById("reset-btn");
|
var resetButton = document.getElementById("reset-btn");
|
||||||
|
Loading…
Reference in New Issue
Block a user