diff --git a/maintenance/scripts/maintenance.js b/maintenance/scripts/maintenance.js index 2ccefeb..c9ea850 100644 --- a/maintenance/scripts/maintenance.js +++ b/maintenance/scripts/maintenance.js @@ -5,9 +5,9 @@ function reboot() { document.getElementById("logs").innerHTML = this.responseText; } }; - xhttp.open("GET", "https://www.thsf.net/maintenance/reboot.py", true); + xhttp.open("GET", "https://www.thsf.net/thsf.net/maintenance/reboot.py", true); xhttp.send(); setTimeout(function () { - document.location="https://www.thsf.net/maintenance/status.py"}, 5000 + document.location="https://www.thsf.net/thsf.net/maintenance/status.py"}, 5000 ); } diff --git a/maintenance/style/maintenance.css b/maintenance/style/maintenance.css index faaf1d8..64a26b9 100644 --- a/maintenance/style/maintenance.css +++ b/maintenance/style/maintenance.css @@ -56,7 +56,7 @@ font-weight: normal; } .container_log { - + text-align: left; } .button { font-weight: bold; diff --git a/maintenance/templates/status.html b/maintenance/templates/status.html index ab60be7..ddbb64b 100644 --- a/maintenance/templates/status.html +++ b/maintenance/templates/status.html @@ -31,7 +31,7 @@ Content-type: text/html
- {{ container.logs }} + {{ container.logs | safe }}
{% endfor %}