diff options
Diffstat (limited to 'html/index.html')
-rwxr-xr-x | html/index.html | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/html/index.html b/html/index.html index 20e7387..ef9778b 100755 --- a/html/index.html +++ b/html/index.html @@ -216,6 +216,8 @@ <input type="date" id="datep" name="datep"><br> <label for="brightness">Brightness:</label> <input type="range" min="0" max="15" value="3" class="slider" name="brightness" id="brightness"> + <label for="autoBrightness">Auto Brightness:</label> + <input type="checkbox" id="autoBrightness" name="autoBrightness" value="autoBrightness"><br><br> <input class="block" type="submit" value="Save"> <br> <div style="overflow-y: scroll; height:400px;"> @@ -379,6 +381,7 @@ */ document.getElementById("brightness").value = data.brightness; + document.getElementById("autoBrightness").checked = data.autoBrightness; document.getElementById("cssid").value = data["cssid"]; document.getElementById("cpassword").value = data["cpassword"]; document.getElementById("datep").valueAsDate = new Date(data["datep"]); |