Remove pause int selection add feed rate reading
This commit is contained in:
parent
7cf4677791
commit
dd2dc0ac65
@ -51,16 +51,16 @@ function refreshData() {
|
||||
|
||||
switch (config.intervals.augerOn) {
|
||||
case 600:
|
||||
feedRate.selectedIndex = 0;
|
||||
feedRate.innerHTML = 'Low';
|
||||
break;
|
||||
case 800:
|
||||
feedRate.selectedIndex = 1;
|
||||
feedRate.innerHTML = 'Medium';
|
||||
break;
|
||||
case 1000:
|
||||
feedRate.selectedIndex = 2;
|
||||
feedRate.innerHTML = 'High';
|
||||
break;
|
||||
default:
|
||||
feedRate.selectedIndex = 0;
|
||||
feedRate.innerHTML = 'Unknown';
|
||||
break;
|
||||
}
|
||||
feedRate.value = config.intervals.augerOn;
|
||||
|
@ -7,7 +7,7 @@
|
||||
<body onload="refreshData()">
|
||||
<%- include('trial.html') -%>
|
||||
<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> | Pause Time: <span id="pause-int"></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">
|
||||
<form action="/" method="post">
|
||||
<!-- Start | Shutdown | Reload Settings -->
|
||||
@ -16,7 +16,7 @@
|
||||
</div>
|
||||
<!-- Set feed rates -->
|
||||
<label for="feedRate">Feed Rate: </label>
|
||||
<select name="feedRate" id="feed-rate">
|
||||
<select name="feedRate">
|
||||
<option value="600">Low</option>
|
||||
<option value="800">Medium</option>
|
||||
<option value="1000">High</option>
|
||||
|
Loading…
Reference in New Issue
Block a user