From 6cdf83b6d0b2a2053ff2e4bea62dd83e73e48bf4 Mon Sep 17 00:00:00 2001 From: mco-system Date: Sat, 27 May 2023 18:46:33 +1100 Subject: [PATCH] feat: status page + maintenance --- maintenance/scripts/maintenance.js | 5 +++-- maintenance/style/maintenance.css | 1 - 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/maintenance/scripts/maintenance.js b/maintenance/scripts/maintenance.js index daa7279..5b2616e 100644 --- a/maintenance/scripts/maintenance.js +++ b/maintenance/scripts/maintenance.js @@ -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); }); }); diff --git a/maintenance/style/maintenance.css b/maintenance/style/maintenance.css index 1ffb1ab..dde1da2 100644 --- a/maintenance/style/maintenance.css +++ b/maintenance/style/maintenance.css @@ -61,7 +61,6 @@ body { border-style: solid; } .button { - font-size: 3em; font-weight: bold; cursor: pointer; }