From 05faf28c267f33b286ed51103045628a856d37cd Mon Sep 17 00:00:00 2001 From: mco-system Date: Sat, 27 May 2023 18:22:38 +1100 Subject: [PATCH] feat: status page + maintenance --- maintenance/scripts/maintenance.js | 3 ++- maintenance/style/maintenance.css | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/maintenance/scripts/maintenance.js b/maintenance/scripts/maintenance.js index 13ba714..daa7279 100644 --- a/maintenance/scripts/maintenance.js +++ b/maintenance/scripts/maintenance.js @@ -1,5 +1,6 @@ -$("#reboot").click(function(){ +$( "#reboot" ).on( "click", function(){ $.get("https://www.thsf.net/thsf.net/maintenance/reboot.py", function(data, status){ + console.log(status); $("#logs").innerHTML = data; setTimeout(function () {document.location.reload()}, 5000); }); diff --git a/maintenance/style/maintenance.css b/maintenance/style/maintenance.css index cc6ec9f..eca0d81 100644 --- a/maintenance/style/maintenance.css +++ b/maintenance/style/maintenance.css @@ -1,4 +1,4 @@ -.body { +body { font-size: 2em; font-family: Arial, Helvetica, sans-serif; }