Add File System in settings and disable peek if not expandeed

index.htm and index.js and peek.js:
- add expand and peek function for peek expand to removeEventListener if not expanded

- add peekexp and segvexp in settings to save status (wip)

- add File System in settings
This commit is contained in:
Ewoud
2023-03-17 23:53:27 +01:00
parent 5ac9ffa073
commit aa6b1735d3
9 changed files with 2460 additions and 2429 deletions

View File

@@ -25,6 +25,8 @@
"seglen": "Set segment length instead of stop LED",
"segpwr": "Hide segment power & brightness",
"segexp" : "Always expand first segment",
"peekexp" : "Expand peek ☾",
"segvexp" : "Expand segment visualization ☾",
"css": "Enable custom CSS",
"hdays": "Enable custom Holidays list"
},
@@ -265,6 +267,8 @@
<span class="l"></span>: <input type="checkbox" id="comp_seglen" class="agi cb"><br>
<span class="l"></span>: <input type="checkbox" id="comp_segpwr" class="agi cb"><br>
<span class="l"></span>: <input type="checkbox" id="comp_segexp" class="agi cb"><br>
<span class="l"></span>: <input type="checkbox" id="comp_peekexp" class="agi cb"><br>
<span class="l"></span>: <input type="checkbox" id="comp_segvexp" class="agi cb"><br>
I hate dark mode: <input type="checkbox" id="dm" onchange="UI()"><br>
<span id="idonthateyou" style="display:none"><i>Why would you? </i>&#x1F97A;<br></span>
<span class="l"></span>: <input type="number" min=0.0 max=1.0 step=0.01 id="theme_alpha_tab" class="agi"><br>