refactor: drop firmware-version display, move Enable toggle to Controller
Firmware version is already printed to the log at connect() time (HendiCtrl/Pololu1376) - remove the live GUI/websocket firmware reporting entirely (Connectable, HeaterHendi/StirrerPololu1376, Heater/StirrerTask, web GUI) as redundant. Also move the Heater panel's Closed-loop checkbox into the Controller panel and rename it "Enable" - the Controller panel now shows a live Enabled (green) / Disabled (gray) status badge next to its heading, matching the Connected/Disconnected badges on the Heater/ Stirrer panels. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YaPLuRPpyjWcwhMvCvpHCL
This commit is contained in:
+4
-6
@@ -38,7 +38,10 @@
|
||||
<button id="btn-manual-toggle" title="Collapse manual panel">◀</button>
|
||||
<div id="manual-panels">
|
||||
<div class="panel">
|
||||
<h3>Controller</h3>
|
||||
<h3>Controller <span id="closed-loop-status" class="panel-status status-connected">Enabled</span></h3>
|
||||
<label class="checkbox-label">
|
||||
<input type="checkbox" id="closed-loop" checked> Enable
|
||||
</label>
|
||||
<label>Temperature [°C]
|
||||
<div class="slider-row">
|
||||
<input type="range" id="temp-soll" min="0" max="100" step="1">
|
||||
@@ -52,13 +55,9 @@
|
||||
<div class="panel">
|
||||
<h3>Heater <span id="heater-status" class="panel-status status-disconnected">Disconnected</span></h3>
|
||||
<div class="device-status-row">
|
||||
<span id="heater-firmware" class="device-firmware"></span>
|
||||
<button id="btn-heater-connect">Connect</button>
|
||||
<button id="btn-heater-disconnect" disabled>Disconnect</button>
|
||||
</div>
|
||||
<label class="checkbox-label">
|
||||
<input type="checkbox" id="closed-loop" checked> Closed-loop
|
||||
</label>
|
||||
<label>Power [W]
|
||||
<div class="slider-row">
|
||||
<input type="range" id="heater-power" min="0" max="100" step="1">
|
||||
@@ -69,7 +68,6 @@
|
||||
<div class="panel">
|
||||
<h3>Stirrer <span id="stirrer-status" class="panel-status status-disconnected">Disconnected</span></h3>
|
||||
<div class="device-status-row">
|
||||
<span id="stirrer-firmware" class="device-firmware"></span>
|
||||
<button id="btn-stirrer-connect">Connect</button>
|
||||
<button id="btn-stirrer-disconnect" disabled>Disconnect</button>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user