Remove laggy elements of the portal

This commit is contained in:
Skylar Grant 2023-01-19 17:48:04 -05:00
parent afce8a68a7
commit 53e3042940
2 changed files with 7 additions and 10 deletions

View File

@ -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');

View File

@ -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;">