6ebe889d5e
Improved user interface Added Nightlight user interface page Added Welcome page for new users Added 12 User Interface Themes Added option for custom theme, including font Separated settings page into 6 sub-pages Fixed Favicon not working Fixed Alexa discovery bug Added options to specify receiving brightness/color/effect from notifications Added effect intensity setting. Only experimental use by 3 effects (blink) at the moment Improved speed of Access point availability on initial setup Removed need to reboot after enabling NTP time TODO: IX bug Updating readmes
106 lines
7.5 KiB
HTML
106 lines
7.5 KiB
HTML
<!DOCTYPE html>
|
||
<html>
|
||
<head>
|
||
<title>Misc Settings</title>
|
||
<script>
|
||
function H()
|
||
{
|
||
window.open("https://github.com/Aircoookie/WLED/wiki/Settings#security-settings");
|
||
}
|
||
function B()
|
||
{
|
||
window.open("/settings","_self");
|
||
}
|
||
function U()
|
||
{
|
||
window.open("/update","_self");
|
||
}
|
||
function GetV()
|
||
{
|
||
//values injected by server while sending HTML
|
||
}
|
||
</script>
|
||
<style>
|
||
:root {
|
||
--aCol: #D9B310;
|
||
--bCol: #0B3C5D;
|
||
--cCol: #1D2731;
|
||
--dCol: #328CC1;
|
||
--sCol: #000;
|
||
}
|
||
body {
|
||
font-family: Verdana, Helvetica, sans-serif;
|
||
text-align: center;
|
||
background: var(--cCol);
|
||
color: var(--dCol);
|
||
line-height: 200%;
|
||
margin: 0;
|
||
background-attachment: fixed;
|
||
}
|
||
hr {
|
||
border-color: var(--dCol);
|
||
filter: drop-shadow( -5px -5px 5px var(--sCol) );
|
||
}
|
||
button {
|
||
background: var(--bCol);
|
||
color: var(--dCol);
|
||
border: 0.3ch solid var(--bCol);
|
||
display: inline-block;
|
||
filter: drop-shadow( -5px -5px 5px var(--sCol) );
|
||
font-size: 20px;
|
||
margin: 8px;
|
||
margin-top: 12px;
|
||
}
|
||
.helpB {
|
||
text-align: left;
|
||
position: absolute;
|
||
width:60px;
|
||
}
|
||
input {
|
||
background: var(--bCol);
|
||
color: var(--dCol);
|
||
border: 0.5ch solid var(--bCol);
|
||
filter: drop-shadow( -5px -5px 5px var(--sCol) );
|
||
}
|
||
input[type=number] {
|
||
width: 3em;
|
||
}
|
||
</style>
|
||
</head>
|
||
<body onload="GetV()">
|
||
<form id="form_s" name="Sf" method="post">
|
||
<div class="helpB"><button type="button" onclick="H()">?</button></div>
|
||
<button type="button" onclick="B()">Back</button><button type="submit" name="SUBM">Save & Reboot</button><hr>
|
||
<h2>Security & Update setup</h2>
|
||
Enable OTA lock: <input type="checkbox" name="NOOTA"><br>
|
||
Passphrase: <input type="password" name="OPASS" maxlength="32"><br>
|
||
To enable OTA, for security reasons you need to also enter the correct password!<br>
|
||
The password may/should be changed when OTA is enabled.<br>
|
||
<b>Disable OTA when not in use, otherwise an attacker could reflash device software!</b><br>
|
||
<i>Settings on this page are only changable if OTA lock is disabled!</i><br>
|
||
Deny access to WiFi settings if locked: <input type="checkbox" name="OWIFI"><br><br>
|
||
Disable recovery AP: <input type="checkbox" name="NORAP"><br>
|
||
In case of a connection error there will be no wireless recovery possible!<br>
|
||
Completely disables all Access Point functions.<br><br>
|
||
Factory reset: <input type="checkbox" name="RESET"><br>
|
||
All EEPROM content (settings) will be erased.<br><br>
|
||
HTTP traffic is not encrypted. An attacker in the same network could intercept form data!
|
||
<h3>Software Update</h3>
|
||
<button type="button" onclick="U()">Manual OTA Update</button><br>
|
||
Enable ArduinoOTA: <input type="checkbox" name="AROTA"><br>
|
||
<h3>About</h3>
|
||
<a href="https://github.com/Aircoookie/WLED">WLED</a> version 0.5dev<br>
|
||
(c) 2016-2018 Christian Schwinne <br>
|
||
<i>Licensed under the MIT license</i><br><br>
|
||
<i>Uses libraries:</i><br>
|
||
<i>ESP8266/ESP32 Arduino Core</i><br>
|
||
<i>(ESP32) <a href="https://github.com/bbx10/WebServer_tng">WebServer_tng</a> by bbx10</i><br>
|
||
<i><a href="https://github.com/kitesurfer1404/WS2812FX">WS2812FX</a> by kitesurfer1404 (modified)</i><br>
|
||
<i><a href="https://github.com/JChristensen/Timezone">Timezone</a> library by JChristensen</i><br>
|
||
<i><a href="https://github.com/Aircoookie/Espalexa">Espalexa</a> by Aircoookie (modified)</i><br><br>
|
||
<i>UI icons by <a href="https://linearicons.com">Linearicons</a> created by <a href="https://perxis.com">Perxis</a>! (CC-BY-SA 4.0)</i> <br><br>
|
||
Server message: <span class="msg"> Response error! </span><hr>
|
||
<button type="button" onclick="B()">Back</button><button type="submit" name="SUBM">Save & Reboot</button>
|
||
</form>
|
||
</body>
|
||
</html> |