Skip to content

Commit f6e843b

Browse files
committed
No simple UI detection.
1 parent a7bad5d commit f6e843b

File tree

3 files changed

+207
-196
lines changed

3 files changed

+207
-196
lines changed

wled00/data/settings_ui.htm

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
}
4444
};
4545
function gId(s) { return d.getElementById(s); }
46+
function toggle(el) { gId(el).classList.toggle("hide"); gId('No'+el).classList.toggle("hide"); }
4647
function isObject(item) {
4748
return (item && typeof item === 'object' && !Array.isArray(item));
4849
}
@@ -247,7 +248,10 @@
247248
<h2>Web Setup</h2>
248249
Server description: <input type="text" name="DS" maxlength="32"><br>
249250
Sync button toggles both send and receive: <input type="checkbox" name="ST"><br>
250-
Enable simplified UI: <input type="checkbox" name="SU"><br>
251+
<div id="NoSimple" class="hide">
252+
<em style="color:#fa0;">This firmware build does not include simplified UI support.<br></em>
253+
</div>
254+
<div id="Simple">Enable simplified UI: <input type="checkbox" name="SU"><br></div>
251255
<i>The following UI customization settings are unique both to the WLED device and this browser.<br>
252256
You will need to set them again if using a different browser, device or WLED IP address.<br>
253257
Refresh the main UI to apply changes.</i><br>

0 commit comments

Comments
 (0)