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:
+8
-13
@@ -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…</button>
|
||||
<input type="file" id="sud-file-input" accept="application/json" class="hidden">
|
||||
<button id="btn-sud-save">Save…</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…</button>
|
||||
<input type="file" id="sud-file-input" accept="application/json" class="hidden">
|
||||
<button id="btn-sud-save">Save…</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>
|
||||
|
||||
Reference in New Issue
Block a user