[feat](trx-frontend-http): restructure top frontend bars
Co-authored-by: OpenAI Codex <codex@openai.com> Signed-off-by: Stan Grams <sjg@haxx.space>
This commit is contained in:
@@ -11,15 +11,13 @@
|
||||
</head>
|
||||
<body>
|
||||
<div class="card" id="card">
|
||||
<div class="header">
|
||||
<div class="header-text">
|
||||
<div class="title"><span id="rig-title">trx-rs</span></div>
|
||||
<div class="subtitle" id="server-subtitle"></div>
|
||||
<div class="subtitle" id="rig-subtitle" style="font-weight: 700;">Rig: --</div>
|
||||
<div class="subtitle" id="owner-subtitle">Owner: --</div>
|
||||
<div class="tab-bar" style="display:none;" id="tab-bar">
|
||||
<div class="tab-bar-nav">
|
||||
<button class="tab active" data-tab="main">Main</button>
|
||||
<button class="tab" data-tab="plugins">Plugins</button>
|
||||
<button class="tab" data-tab="about">About</button>
|
||||
</div>
|
||||
<div class="header-right">
|
||||
<img id="logo" class="header-logo" src="/logo.png?v=1" alt="trx logo" onerror="this.style.display='none'" />
|
||||
<div class="top-bar-actions">
|
||||
<div class="header-rig-switch">
|
||||
<select id="header-rig-switch-select" aria-label="Select active rig"></select>
|
||||
<button id="header-rig-switch-btn" type="button">Switch Rig</button>
|
||||
@@ -30,19 +28,16 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="overview-strip">
|
||||
<div class="overview-toolbar">
|
||||
<span class="overview-label" id="overview-label">Signal History</span>
|
||||
<label class="overview-control">Peak Hold
|
||||
<select id="overview-peak-hold" class="status-input">
|
||||
<option value="500">0.5 s</option>
|
||||
<option value="1000">1 s</option>
|
||||
<option value="2000" selected>2 s</option>
|
||||
<option value="5000">5 s</option>
|
||||
</select>
|
||||
</label>
|
||||
<div class="header">
|
||||
<div class="header-text">
|
||||
<div class="title"><span id="rig-title">trx-rs</span></div>
|
||||
<div class="subtitle" id="server-subtitle"></div>
|
||||
<div class="subtitle" id="rig-subtitle" style="font-weight: 700;">Rig: --</div>
|
||||
<div class="subtitle" id="owner-subtitle">Owner: --</div>
|
||||
</div>
|
||||
<div class="header-right">
|
||||
<img id="logo" class="header-logo" src="/logo.png?v=1" alt="trx logo" onerror="this.style.display='none'" />
|
||||
</div>
|
||||
<canvas id="overview-canvas" aria-hidden="true"></canvas>
|
||||
</div>
|
||||
<!-- Auth gate (hidden by default, shown if auth is required) -->
|
||||
<div id="auth-gate" style="display:none; padding: 3rem 2rem; text-align: center;">
|
||||
@@ -58,10 +53,19 @@
|
||||
<div id="auth-error" style="color: #ff6b6b; font-size: 0.9rem; margin-top: 1rem; display: none;"></div>
|
||||
<div id="auth-role" style="margin-top: 1rem; color: var(--text-muted); font-size: 0.85rem; display: none;"></div>
|
||||
</div>
|
||||
<div class="tab-bar" style="display:none;" id="tab-bar">
|
||||
<button class="tab active" data-tab="main">Main</button>
|
||||
<button class="tab" data-tab="plugins">Plugins</button>
|
||||
<button class="tab" data-tab="about">About</button>
|
||||
<div class="overview-strip">
|
||||
<div class="overview-toolbar">
|
||||
<span class="overview-label" id="overview-label">Signal History</span>
|
||||
<label class="overview-control">Peak Hold
|
||||
<select id="overview-peak-hold" class="status-input">
|
||||
<option value="500">0.5 s</option>
|
||||
<option value="1000">1 s</option>
|
||||
<option value="2000" selected>2 s</option>
|
||||
<option value="5000">5 s</option>
|
||||
</select>
|
||||
</label>
|
||||
</div>
|
||||
<canvas id="overview-canvas" aria-hidden="true"></canvas>
|
||||
</div>
|
||||
<div id="tab-main" class="tab-panel">
|
||||
<div id="loading" style="text-align:center; padding:2rem 0;">
|
||||
|
||||
Reference in New Issue
Block a user