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;
|
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();
|
xhttp.send();
|
||||||
setTimeout(function () {
|
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;
|
font-weight: normal;
|
||||||
}
|
}
|
||||||
.container_log {
|
.container_log {
|
||||||
|
text-align: left;
|
||||||
}
|
}
|
||||||
.button {
|
.button {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
|
@ -31,7 +31,7 @@ Content-type: text/html
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="container_log" id="logs">
|
<div class="container_log" id="logs">
|
||||||
{{ container.logs }}
|
{{ container.logs | safe }}
|
||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user