2022-12-20 20:17:30 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
2022-12-21 19:16:29 +00:00
|
|
|
<title>Hestia Web Portal</title>
|
2023-01-10 17:48:19 +00:00
|
|
|
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/5.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
|
|
|
|
<script src="https://stackpath.bootstrapcdn.com/bootstrap/5.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
|
2022-12-20 20:17:30 +00:00
|
|
|
<link rel="stylesheet" href="/main.css">
|
|
|
|
</head>
|
2023-01-10 17:48:19 +00:00
|
|
|
<body onload="refreshData()" class="container">
|
2022-12-20 20:53:25 +00:00
|
|
|
<%- include('trial.html') -%>
|
2023-01-10 17:48:19 +00:00
|
|
|
<div id="title" class="text-center mb-4">
|
|
|
|
<a href='./'>Hestia Web Portal</a>
|
|
|
|
</div>
|
|
|
|
<div id="status" class="row">
|
2023-01-07 02:53:54 +00:00
|
|
|
<!--
|
|
|
|
| Auger | rows[0].cells[1] | On Time | rows[0].cells[3] |
|
|
|
|
| Feed Rate | rows[1].cells[1] | Off Time | rows[1].cells[3] |
|
|
|
|
-->
|
|
|
|
|
2023-01-10 17:48:19 +00:00
|
|
|
<table id="status-table" class="table table-bordered col-sm-12 col-md-6">
|
2023-01-07 02:53:54 +00:00
|
|
|
<tr>
|
|
|
|
<td>Auger</td>
|
|
|
|
<td></td>
|
|
|
|
<td>On Time</td>
|
|
|
|
<td></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>Feed Rate</td>
|
|
|
|
<td></td>
|
|
|
|
<td>Off Time</td>
|
|
|
|
<td></td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
2023-01-07 02:29:28 +00:00
|
|
|
<div class="controls-container">
|
2022-12-21 02:12:22 +00:00
|
|
|
<form action="/" method="post">
|
2022-12-20 20:17:30 +00:00
|
|
|
<!-- Start | Shutdown | Reload Settings -->
|
2023-01-10 17:48:19 +00:00
|
|
|
<div class="button-container d-flex justify-content-between">
|
|
|
|
<input class="btn btn-outline-secondary" type="submit" id="ignite" value="Enable Auger" name="start">
|
|
|
|
<input class="btn btn-outline-secondary" type="submit" id="shutdown" value="Disable Auger" name="shutdown">
|
2022-12-20 20:17:30 +00:00
|
|
|
</div>
|
|
|
|
<!-- Set feed rates -->
|
2023-01-10 17:48:19 +00:00
|
|
|
<div class="form-group">
|
|
|
|
<label for="feedRate">Feed Rate: </label>
|
|
|
|
<select name="feedRate" class="form-control">
|
|
|
|
<option value="600">Low</option>
|
|
|
|
<option value="800">Medium</option>
|
|
|
|
<option value="1000">High</option>
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
<div class="button-container d-flex justify-content-end">
|
|
|
|
<input class="btn btn-outline-secondary" type="submit" id="reload" value="Reload" name="reload">
|
2023-01-07 02:33:12 +00:00
|
|
|
</div>
|
2022-12-20 20:17:30 +00:00
|
|
|
</form>
|
|
|
|
</div>
|
2023-01-10 17:48:19 +00:00
|
|
|
<div class="text-center my-4">
|
|
|
|
<img src="./dancing_jesus.gif" class="img-fluid">
|
2022-12-22 02:07:46 +00:00
|
|
|
</div>
|
2023-01-10 17:48:19 +00:00
|
|
|
<div id="log-container" class="row">
|
|
|
|
<iframe id="log-area" src="log.txt" class="col-sm-12 col-md-6"></iframe>
|
2022-12-20 20:17:30 +00:00
|
|
|
</div>
|
2023-01-07 02:29:28 +00:00
|
|
|
<div class="controls-container">
|
|
|
|
<form action="/" method="POST">
|
2023-01-10 17:48:19 +00:00
|
|
|
<input class="btn btn-danger" type="submit" id="quit" value="Quit!!" name="quit" style="visibility: hidden;">
|
2023-01-07 02:29:28 +00:00
|
|
|
</form>
|
|
|
|
</div>
|
2022-12-23 03:22:35 +00:00
|
|
|
<script src="./main.js"></script>
|
2022-12-20 20:17:30 +00:00
|
|
|
</body>
|
2023-01-10 17:48:19 +00:00
|
|
|
</html>
|
|
|
|
|