feat: status page + maintenance
This commit is contained in:
parent
674edf2bf2
commit
7a2fdec8d4
@ -3,9 +3,7 @@ function reboot() {
|
|||||||
xhttp.onreadystatechange = function() {
|
xhttp.onreadystatechange = function() {
|
||||||
if (this.readyState == 4 && this.status == 200) {
|
if (this.readyState == 4 && this.status == 200) {
|
||||||
document.getElementById("logs").innerHTML = this.responseText;
|
document.getElementById("logs").innerHTML = this.responseText;
|
||||||
setTimeout(function () {
|
setTimeout(function () {location.reload()}, 5000);
|
||||||
document.location="https://www.thsf.net/thsf.net/maintenance/status.py"}, 5000
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
xhttp.open("GET", "https://www.thsf.net/thsf.net/maintenance/reboot.py", true);
|
xhttp.open("GET", "https://www.thsf.net/thsf.net/maintenance/reboot.py", true);
|
||||||
|
@ -55,7 +55,7 @@
|
|||||||
}
|
}
|
||||||
.container_log {
|
.container_log {
|
||||||
text-align: left;
|
text-align: left;
|
||||||
width: 48em;
|
width: 48.4em;
|
||||||
padding: 0.2em;
|
padding: 0.2em;
|
||||||
border-width: 1px;
|
border-width: 1px;
|
||||||
border-style: solid;
|
border-style: solid;
|
||||||
|
Loading…
Reference in New Issue
Block a user