feat: status page + maintenance

このコミットが含まれているのは:
mco-system 2023-05-27 18:46:33 +11:00
コミット 6cdf83b6d0
2個のファイルの変更3行の追加3行の削除

ファイルの表示

@ -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);
});
});

ファイルの表示

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