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) {
|
switch (config.intervals.augerOn) {
|
||||||
case 600:
|
case 600:
|
||||||
feedRate.selectedIndex = 0;
|
feedRate.innerHTML = 'Low';
|
||||||
break;
|
break;
|
||||||
case 800:
|
case 800:
|
||||||
feedRate.selectedIndex = 1;
|
feedRate.innerHTML = 'Medium';
|
||||||
break;
|
break;
|
||||||
case 1000:
|
case 1000:
|
||||||
feedRate.selectedIndex = 2;
|
feedRate.innerHTML = 'High';
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
feedRate.selectedIndex = 0;
|
feedRate.innerHTML = 'Unknown';
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
feedRate.value = config.intervals.augerOn;
|
feedRate.value = config.intervals.augerOn;
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
<body onload="refreshData()">
|
<body onload="refreshData()">
|
||||||
<%- 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> | 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">
|
<div id="controls-container">
|
||||||
<form action="/" method="post">
|
<form action="/" method="post">
|
||||||
<!-- Start | Shutdown | Reload Settings -->
|
<!-- Start | Shutdown | Reload Settings -->
|
||||||
@ -16,7 +16,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<!-- Set feed rates -->
|
<!-- Set feed rates -->
|
||||||
<label for="feedRate">Feed Rate: </label>
|
<label for="feedRate">Feed Rate: </label>
|
||||||
<select name="feedRate" id="feed-rate">
|
<select name="feedRate">
|
||||||
<option value="600">Low</option>
|
<option value="600">Low</option>
|
||||||
<option value="800">Medium</option>
|
<option value="800">Medium</option>
|
||||||
<option value="1000">High</option>
|
<option value="1000">High</option>
|
||||||
|
Loading…
Reference in New Issue
Block a user