Move Sud controls into the header bar next to Connect

New/Load/Save/Start/Stop now live in #sud-controls inside
#connection-bar, visible regardless of which tab is active, instead of
a standalone panel above the tabs. Drops the now-unused .button-row
rule along with it.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0189FkmyJkY77HqsNomr1DwV
This commit is contained in:
2026-06-25 00:28:03 +02:00
co-authored by Claude Sonnet 4.6
parent 0e343655b7
commit 9b7ef5832e
2 changed files with 18 additions and 19 deletions
+8 -13
View File
@@ -11,6 +11,14 @@
<label>Host <input id="host" type="text"></label>
<button id="btn-connect">Connect</button>
<span id="conn-status" class="status-disconnected">Disconnected</span>
<span id="sud-controls">
<button id="btn-sud-new">New</button>
<button id="btn-sud-load">Load&hellip;</button>
<input type="file" id="sud-file-input" accept="application/json" class="hidden">
<button id="btn-sud-save">Save&hellip;</button>
<button id="btn-sud-start">Start</button>
<button id="btn-sud-stop">Stop</button>
</span>
</header>
<div id="lcd-panel">
@@ -43,19 +51,6 @@
<main>
<section id="tab-manual" class="tab-content active">
<div class="panel">
<h3>Sud</h3>
<div class="button-row">
<button id="btn-sud-new">New</button>
<button id="btn-sud-load">Load&hellip;</button>
<input type="file" id="sud-file-input" accept="application/json" class="hidden">
<button id="btn-sud-save">Save&hellip;</button>
</div>
<div class="button-row">
<button id="btn-sud-start">Start</button>
<button id="btn-sud-stop">Stop</button>
</div>
</div>
<div class="panel">
<h3>Controller</h3>
<label><input type="checkbox" id="tc-enabled"> Enabled</label>