From dd2dc0ac65564f512137fe1d89bd90d9fee48f32 Mon Sep 17 00:00:00 2001 From: Skylar Grant Date: Fri, 6 Jan 2023 18:53:58 -0500 Subject: [PATCH] Remove pause int selection add feed rate reading --- www/public/main.js | 8 ++++---- www/views/index.html | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/www/public/main.js b/www/public/main.js index 9b204c2..9d72e82 100644 --- a/www/public/main.js +++ b/www/public/main.js @@ -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; diff --git a/www/views/index.html b/www/views/index.html index 2bb8d12..5305473 100644 --- a/www/views/index.html +++ b/www/views/index.html @@ -7,7 +7,7 @@ <%- include('trial.html') -%>
Hestia Web Portal
-
Auger: | On Time: | Off Time: | Pause Time:
+
Auger: | On Time: | Off Time: | Feed Rate:
@@ -16,7 +16,7 @@
-