diff --git a/src/web/ui-v2-dist/index.html b/src/web/ui-v2-dist/index.html index c4d3c33..61d011b 100644 --- a/src/web/ui-v2-dist/index.html +++ b/src/web/ui-v2-dist/index.html @@ -116,6 +116,12 @@ body{display:flex;flex-direction:column;max-height:100vh;user-select:none;-webki /* Settings */ .setting-group{margin-bottom:12px} .setting-group-title{font-size:10px;font-weight:700;color:var(--text-sec);text-transform:uppercase;letter-spacing:.06em;margin-bottom:4px;padding:0 4px} +/* Settings section nav */ +.settings-nav{display:flex;gap:4px;overflow-x:auto;padding:0 0 8px 0;flex-shrink:0;scrollbar-width:none;-ms-overflow-style:none} +.settings-nav::-webkit-scrollbar{display:none} +.sn-btn{flex-shrink:0;padding:5px 12px;border-radius:6px;border:1px solid var(--border);background:var(--surface);color:var(--text-dim);font-family:var(--font);font-size:10px;font-weight:600;cursor:pointer;white-space:nowrap;transition:all .12s} +.sn-btn:active{background:var(--panel);transform:scale(.95)} +.sn-btn.active{border-color:var(--amber);color:var(--amber);background:rgba(232,160,48,.08)} .setting-row{display:flex;align-items:center;justify-content:space-between;padding:6px 8px;background:var(--surface);border-radius:6px;border:1px solid var(--border);margin-bottom:3px;min-height:42px} .setting-row .sr-label{font-size:11px;font-weight:600} .setting-row .sr-value{font-size:10px;color:var(--text-sec)} @@ -241,7 +247,15 @@ body{display:flex;flex-direction:column;max-height:100vh;user-select:none;-webki
⚙ Settings
-
Network
+ +
+ + + + + +
+
Network
🌐 Eth IP
🔗 MAC
🚪 Gateway
@@ -253,14 +267,14 @@ body{display:flex;flex-direction:column;max-height:100vh;user-select:none;-webki
🔥 HotspotOff
-
Audio
+
Audio
🎛 Profile
🎸 InstrumentGuitar
🔄 Channel ModeDual Mono
🔗 Routing4CM
-
🎚 Audio Interface
+
🎚 Audio Interface
🔌 Input Device
@@ -298,12 +312,12 @@ body{display:flex;flex-direction:column;max-height:100vh;user-select:none;-webki
Dual Mono: each channel has independent presets. Same instrument = shared presets.
-
Bluetooth
+
Bluetooth
🔵 Status
🎛 MIDIOff
🔓 DiscoverableOn
-
System
+
System
🔧 CPU0%
🌡 Temp
⏱ Uptime
@@ -703,6 +717,15 @@ async function loadBtMidi(){ }catch(e){} } +// Settings section nav — scroll to section and highlight active button +function scrollToSection(id){ + const el=document.getElementById('section-'+id); + if(el) el.scrollIntoView({behavior:'smooth',block:'start'}); + document.querySelectorAll('.sn-btn').forEach(b=>b.classList.remove('active')); + const btn=document.querySelector('.sn-btn[data-section="'+id+'"]'); + if(btn) btn.classList.add('active'); +} + async function loadHotspotStatus(){ try{ const hs=await API.hotspotStatus();