feat: status page + maintenance

This commit is contained in:
mco-system 2023-05-27 18:22:38 +11:00
parent 154ab9089d
commit 05faf28c26
2 changed files with 3 additions and 2 deletions

View File

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

View File

@ -1,4 +1,4 @@
.body { body {
font-size: 2em; font-size: 2em;
font-family: Arial, Helvetica, sans-serif; font-family: Arial, Helvetica, sans-serif;
} }