diff --git a/maintenance/scripts/maintenance.js b/maintenance/scripts/maintenance.js index 2a73e83..f212ec6 100644 --- a/maintenance/scripts/maintenance.js +++ b/maintenance/scripts/maintenance.js @@ -3,9 +3,7 @@ function reboot() { xhttp.onreadystatechange = function() { if (this.readyState == 4 && this.status == 200) { document.getElementById("logs").innerHTML = this.responseText; - setTimeout(function () { - document.location="https://www.thsf.net/thsf.net/maintenance/status.py"}, 5000 - ); + setTimeout(function () {location.reload()}, 5000); } }; xhttp.open("GET", "https://www.thsf.net/thsf.net/maintenance/reboot.py", true); diff --git a/maintenance/style/maintenance.css b/maintenance/style/maintenance.css index d5b3872..5656de3 100644 --- a/maintenance/style/maintenance.css +++ b/maintenance/style/maintenance.css @@ -55,7 +55,7 @@ } .container_log { text-align: left; - width: 48em; + width: 48.4em; padding: 0.2em; border-width: 1px; border-style: solid;