diff --git a/server/src/wled_controller/static/app.js b/server/src/wled_controller/static/app.js index 72de7a2..37e29ae 100644 --- a/server/src/wled_controller/static/app.js +++ b/server/src/wled_controller/static/app.js @@ -2,6 +2,16 @@ const API_BASE = '/api/v1'; let refreshInterval = null; let apiKey = null; +// Toggle hint description visibility next to a label +function toggleHint(btn) { + const hint = btn.closest('.label-row').nextElementSibling; + if (hint && hint.classList.contains('input-hint')) { + const visible = hint.style.display !== 'none'; + hint.style.display = visible ? 'none' : 'block'; + btn.classList.toggle('active', !visible); + } +} + // Backdrop click helper: only closes modal if both mousedown and mouseup were on the backdrop itself. // Prevents accidental close when user drags text selection outside the dialog. function setupBackdropClose(modal, closeFn) { diff --git a/server/src/wled_controller/static/index.html b/server/src/wled_controller/static/index.html index eb85ed8..3d1a342 100644 --- a/server/src/wled_controller/static/index.html +++ b/server/src/wled_controller/static/index.html @@ -203,15 +203,21 @@
- +
+ + +
+ - IP address or hostname of your WLED device
- +
+ + +
+ - How often to check the WLED device status (5-600 seconds)
@@ -236,35 +242,47 @@
- +
+ + +
+ - Select a stream that defines what this device captures and processes
- +
+ + +
+ - How many pixels from the screen edge to sample for LED colors (1-100)
- +
+ + +
+ - How to calculate LED color from sampled pixels
- +
+ + +
+ - Temporal blending between frames (0=none, 1=full). Reduces flicker.
@@ -290,7 +308,11 @@ Please enter your API key to authenticate and access the WLED Grab.

- +
+ + +
+
- Your API key will be stored securely in your browser's local storage.
@@ -380,7 +401,11 @@
- +
+ + +
+ @@ -506,18 +531,30 @@
- +
+ + +
+
- +
+ + +
+
- +
+ + +
+
30 @@ -528,11 +565,19 @@ @@ -540,9 +585,12 @@