Remove laggy elements of the portal
This commit is contained in:
parent
afce8a68a7
commit
53e3042940
@ -29,11 +29,11 @@ function parseStatus(data) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function refreshData() {
|
function refreshData() {
|
||||||
const log = document.getElementById('log-area');
|
// const log = document.getElementById('log-area');
|
||||||
log.contentWindow.location.reload();
|
// log.contentWindow.location.reload();
|
||||||
sleep(100).then(() => {
|
// sleep(100).then(() => {
|
||||||
document.getElementById('log-area').contentWindow.scrollTo(0, 9999999999);
|
// document.getElementById('log-area').contentWindow.scrollTo(0, 9999999999);
|
||||||
});
|
// });
|
||||||
|
|
||||||
// Get the elements we need to update
|
// Get the elements we need to update
|
||||||
const statusTable = document.getElementById('status-table');
|
const statusTable = document.getElementById('status-table');
|
||||||
|
@ -59,12 +59,9 @@
|
|||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
<div class="text-center my-4">
|
<!-- <div class="text-center my-4">
|
||||||
<img src="./dancing_jesus.gif" class="img-fluid">
|
<img src="./dancing_jesus.gif" class="img-fluid">
|
||||||
</div>
|
</div> -->
|
||||||
<div id="log-container" class="row">
|
|
||||||
<iframe id="log-area" src="log.txt" class="col-sm-12"></iframe>
|
|
||||||
</div>
|
|
||||||
<div class="controls-container">
|
<div class="controls-container">
|
||||||
<form action="/" method="POST">
|
<form action="/" method="POST">
|
||||||
<input class="btn btn-danger" type="submit" id="quit" value="Quit!!" name="quit" style="visibility: hidden;">
|
<input class="btn btn-danger" type="submit" id="quit" value="Quit!!" name="quit" style="visibility: hidden;">
|
||||||
|
Loading…
Reference in New Issue
Block a user