Fixed layouts

This commit is contained in:
Skylar Grant 2023-11-17 10:54:00 -05:00
parent c52fca4b5a
commit 51ba50c0c6
1 changed files with 12 additions and 12 deletions

View File

@ -28,7 +28,6 @@
-->
<table id="status-table" class="table table-bordered col-sm-12 col-md-6">
<tr>
<tr>
<td>Igniter</td>
<td></td>
@ -37,6 +36,7 @@
<td>Exhaust</td>
<td></td>
</tr>
<tr>
<td>Auger</td>
<td></td>
</tr>
@ -131,17 +131,17 @@
// Get the elements we need to update
const statusTable = document.getElementById('status-table');
const igniterStatus = statusTable.rows[0].cells[1];
const exhaustStatus = statusTable.rows[1].cells[1];
const augerStatus = statusTable.rows[2].cells[1];
const igniterStatus = statusTable.rows[1].cells[1];
const exhaustStatus = statusTable.rows[2].cells[1];
const augerStatus = statusTable.rows[0].cells[1];
const feedRate = statusTable.rows[3].cells[1];
const feedRateSelect = document.getElementById('feed-rate-select');
// console.log(config);
augerStatus.innerHTML = parseStatus(config.status.auger);
igniterStatus.innerHTML = parseStatus(config.status.igniter);
exhaustStatus.innerHTML = parseStatus(config.status.exhaust);
augerStatus.innerHTML = parseStatus(config.status.auger);
switch (config.intervals.augerOn) {
case '500':