Skip to content

Commit

Permalink
No simple UI detection.
Browse files Browse the repository at this point in the history
  • Loading branch information
blazoncek committed Dec 13, 2022
1 parent a7bad5d commit f6e843b
Show file tree
Hide file tree
Showing 3 changed files with 207 additions and 196 deletions.
6 changes: 5 additions & 1 deletion wled00/data/settings_ui.htm
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
}
};
function gId(s) { return d.getElementById(s); }
function toggle(el) { gId(el).classList.toggle("hide"); gId('No'+el).classList.toggle("hide"); }
function isObject(item) {
return (item && typeof item === 'object' && !Array.isArray(item));
}
Expand Down Expand Up @@ -247,7 +248,10 @@
<h2>Web Setup</h2>
Server description: <input type="text" name="DS" maxlength="32"><br>
Sync button toggles both send and receive: <input type="checkbox" name="ST"><br>
Enable simplified UI: <input type="checkbox" name="SU"><br>
<div id="NoSimple" class="hide">
<em style="color:#fa0;">This firmware build does not include simplified UI support.<br></em>
</div>
<div id="Simple">Enable simplified UI: <input type="checkbox" name="SU"><br></div>
<i>The following UI customization settings are unique both to the WLED device and this browser.<br>
You will need to set them again if using a different browser, device or WLED IP address.<br>
Refresh the main UI to apply changes.</i><br>
Expand Down
Loading

0 comments on commit f6e843b

Please sign in to comment.