feat: status page + maintenance

This commit is contained in:
mco-system 2023-05-27 18:46:33 +11:00
parent 21a747e097
commit 6cdf83b6d0
2 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,8 @@
$( "#reboot" ).on( "click", function(){
$("#reboot").on("click", function(){
console.log("vroom");
$.get("https://www.thsf.net/thsf.net/maintenance/reboot.py", function(data, status){
console.log(status);
$("#logs").innerHTML = data;
$("#logs").html = data;
setTimeout(function () {document.location.reload()}, 5000);
});
});

View File

@ -61,7 +61,6 @@ body {
border-style: solid;
}
.button {
font-size: 3em;
font-weight: bold;
cursor: pointer;
}