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