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

@@ -42,7 +42,7 @@
urows="";
if (isO(umCfg)) {
for (const [k,o] of Object.entries(umCfg)) {
urows += `<button type="submit" onclick="window.location=\'./settings/um?um=${k}\'">${k} (UM)</button>`;
urows += `<button type="submit" onclick="window.location=\'./settings/um?um=${k}\'">${k} (UM)</button>`;
}
}
gId("configMenu").innerHTML = urows;
@@ -104,5 +104,6 @@
<button type="submit" onclick="window.location='./settings/sync'">Sync Interfaces</button>
<button type="submit" onclick="window.location='./settings/time'">Time & Macros</button>
<button type="submit" onclick="window.location='./settings/sec'">Security & Updates</button>
<button type="submit" onclick="window.location='./edit'">File System ☾</button> <!--WLEDMMalways expa-->
</body>
</html>