feat: status page + maintenance
This commit is contained in:
parent
b183059f85
commit
c969dc0e2d
|
@ -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
|
||||
);
|
||||
}
|
||||
|
|
|
@ -56,7 +56,7 @@
|
|||
font-weight: normal;
|
||||
}
|
||||
.container_log {
|
||||
|
||||
text-align: left;
|
||||
}
|
||||
.button {
|
||||
font-weight: bold;
|
||||
|
|
|
@ -31,7 +31,7 @@ Content-type: text/html
|
|||
</div>
|
||||
</div>
|
||||
<div class="container_log" id="logs">
|
||||
{{ container.logs }}
|
||||
{{ container.logs | safe }}
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue