display shutdown msg

This commit is contained in:
Justin 2023-01-30 21:33:45 +08:00 committed by GitHub
parent c6436b7c5b
commit 2fdf146b0f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -930,6 +930,7 @@ shutdownButton.addEventListener("click", () => {
fetch("/shutdown", {
method: "GET",
});
document.getElementById('yooo').style.display = "block";
});
@ -939,6 +940,7 @@ restartButton.addEventListener("click", () => {
fetch("/restart", {
method: "GET",
});
document.getElementById('yooo').style.display = "block";
});
var resetButton = document.getElementById("reset-btn");