Minor QoL
This commit is contained in:
parent
df349afede
commit
21f076f403
@ -37,7 +37,7 @@ html, body {
|
|||||||
height: 30px;
|
height: 30px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#controls-container input {
|
.controls-container input {
|
||||||
margin: 5px;
|
margin: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -66,7 +66,7 @@ function refreshData() {
|
|||||||
feedRate.value = config.intervals.augerOn;
|
feedRate.value = config.intervals.augerOn;
|
||||||
|
|
||||||
// Run this again after 2 seconds
|
// Run this again after 2 seconds
|
||||||
sleep(5000).then(() => {
|
sleep(1000).then(() => {
|
||||||
refreshData();
|
refreshData();
|
||||||
});
|
});
|
||||||
};
|
};
|
@ -8,7 +8,7 @@
|
|||||||
<%- include('trial.html') -%>
|
<%- include('trial.html') -%>
|
||||||
<div id="title"><a href='./'>Hestia Web Portal</a></div>
|
<div id="title"><a href='./'>Hestia Web Portal</a></div>
|
||||||
<div id="status">Auger: <span id="auger-status"></span> | On Time: <span id="auger-on"></span> | Off Time: <span id="auger-off"></span> | Feed Rate: <span id="feed-rate"></span></div>
|
<div id="status">Auger: <span id="auger-status"></span> | On Time: <span id="auger-on"></span> | Off Time: <span id="auger-off"></span> | Feed Rate: <span id="feed-rate"></span></div>
|
||||||
<div id="controls-container">
|
<div class="controls-container">
|
||||||
<form action="/" method="post">
|
<form action="/" method="post">
|
||||||
<!-- Start | Shutdown | Reload Settings -->
|
<!-- Start | Shutdown | Reload Settings -->
|
||||||
<div class="button-container">
|
<div class="button-container">
|
||||||
@ -37,9 +37,11 @@
|
|||||||
<!-- <textarea id="log-area"></textarea> -->
|
<!-- <textarea id="log-area"></textarea> -->
|
||||||
<iframe id="log-area" src="log.txt"></iframe>
|
<iframe id="log-area" src="log.txt"></iframe>
|
||||||
</div>
|
</div>
|
||||||
<form action="/" method="POST">
|
<div class="controls-container">
|
||||||
<input class="button-unselected" type="submit" id="quit" value="Quit!!" name="quit">
|
<form action="/" method="POST">
|
||||||
</form>
|
<input class="button-unselected" type="submit" id="quit" value="Quit!!" name="quit">
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
<script src="./main.js"></script>
|
<script src="./main.js"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
Loading…
Reference in New Issue
Block a user