feat: status page + maintenance
This commit is contained in:
parent
21a747e097
commit
6cdf83b6d0
@ -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){
|
$.get("https://www.thsf.net/thsf.net/maintenance/reboot.py", function(data, status){
|
||||||
console.log(status);
|
console.log(status);
|
||||||
$("#logs").innerHTML = data;
|
$("#logs").html = data;
|
||||||
setTimeout(function () {document.location.reload()}, 5000);
|
setTimeout(function () {document.location.reload()}, 5000);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
@ -61,7 +61,6 @@ body {
|
|||||||
border-style: solid;
|
border-style: solid;
|
||||||
}
|
}
|
||||||
.button {
|
.button {
|
||||||
font-size: 3em;
|
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user