[feat](trx-frontend-http): refine top bar and overview controls

Co-authored-by: OpenAI Codex <codex@openai.com>
Signed-off-by: Stan Grams <sjg@haxx.space>
This commit is contained in:
2026-02-28 00:37:37 +01:00
parent b5cac4be41
commit adc17507ce
3 changed files with 10 additions and 57 deletions
@@ -22,7 +22,8 @@
<select id="header-rig-switch-select" aria-label="Select active rig"></select>
<button id="header-rig-switch-btn" type="button">Switch Rig</button>
</div>
<button id="header-auth-btn" class="theme-toggle-btn" type="button" style="display:none;" aria-label="Login or Logout">Login</button>
<button id="theme-toggle" class="header-bar-btn" type="button" aria-label="Toggle dark or light theme">Light</button>
<button id="header-auth-btn" class="header-bar-btn" type="button" style="display:none;" aria-label="Login or Logout">Login</button>
</div>
</div>
<div class="header">
@@ -35,9 +36,6 @@
<div class="subtitle" id="rig-subtitle" style="font-weight: 700;">Rig: --</div>
<div class="subtitle" id="owner-subtitle">Owner: --</div>
</div>
<div class="header-actions">
<button id="theme-toggle" class="theme-toggle-btn" type="button" aria-label="Toggle dark or light theme">Light</button>
</div>
</div>
<div class="overview-strip">
<div class="overview-toolbar">
@@ -49,7 +47,6 @@
<option value="5000">5 s</option>
</select>
</label>
<span class="overview-label" id="overview-label">Signal History</span>
</div>
<canvas id="overview-canvas" aria-hidden="true"></canvas>
</div>
@@ -85,7 +82,7 @@
<button id="spectrum-bw-set-btn" type="button">Set</button>
</div>
<div id="spectrum-level-row">
<label id="spectrum-floor-label">Floor <input type="number" id="spectrum-floor-input" value="-100" step="5" /> dB</label>
<label id="spectrum-floor-label">Floor <input type="number" id="spectrum-floor-input" value="-115" step="5" /> dB</label>
<button id="spectrum-auto-btn" type="button">Auto</button>
</div>
</div>