feat: status page + maintenance

This commit is contained in:
mco-system 2023-05-27 18:05:19 +11:00
parent f3d697699d
commit 429e2d221e
2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
$("reboot").click(function(){ $("#reboot").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){
document.getElementById("logs").innerHTML = data; $("#logs").innerHTML = data;
setTimeout(function () {document.location.reload()}, 5000); setTimeout(function () {document.location.reload()}, 5000);
}); });
}); });

View File

@ -55,7 +55,7 @@
} }
.container_log { .container_log {
text-align: left; text-align: left;
width: 48.6em; width: 48.8em;
padding: 0.2em; padding: 0.2em;
border-width: 1px; border-width: 1px;
border-style: solid; border-style: solid;