display shutdown msg
This commit is contained in:
@@ -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");
|
||||||
|
Reference in New Issue
Block a user