Missing settings page.

This commit is contained in:
Blaz Kristan 2022-01-27 16:37:49 +01:00
parent 91dd03ba67
commit 4518f089cc
2 changed files with 3 additions and 7 deletions

View File

@ -264,11 +264,7 @@ writeChunks(
prepend: "=====(",
append: ")=====",
method: "plaintext",
filter: "html-minify",
mangle: (str) =>
str
.replace("%", "%%")
.replace(/Usermods\<\/button\>\<\/form\>/gms, "Usermods\<\/button\>\<\/form\>%DMXMENU%"),
filter: "html-minify"
},
{
file: "settings_wifi.htm",

View File

@ -66,7 +66,7 @@ const uint8_t PAGE_settingsCss[] PROGMEM = {
const char PAGE_settings[] PROGMEM = R"=====(<!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"><meta
content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no"
name="viewport"><title>WLED Settings</title><style>
body{text-align:center;background:#222;height:100px;margin:0}html{--h:10.2vh}button{background:#333;color:#fff;font-family:Verdana,Helvetica,sans-serif;display:inline-block;border:1px solid #333;border-radius:var(--h);font-size:6vmin;height:var(--h);width:calc(100%%% - 40px);margin-top:2vh}
body{text-align:center;background:#222;height:100px;margin:0}html{--h:10.2vh}button{background:#333;color:#fff;font-family:Verdana,Helvetica,sans-serif;display:inline-block;border:1px solid #333;border-radius:var(--h);font-size:6vmin;height:var(--h);width:calc(100%% - 40px);margin-top:2vh}
</style></head><body><form action="/"><button type="submit" id="b">Back</button>
</form><form action="/settings/wifi"><button type="submit">WiFi Setup</button>
</form><form action="/settings/leds"><button type="submit">LED Preferences
@ -74,7 +74,7 @@ body{text-align:center;background:#222;height:100px;margin:0}html{--h:10.2vh}but
</button></form>%DMXMENU%<form action="/settings/sync"><button type="submit">
Sync Interfaces</button></form><form action="/settings/time"><button
type="submit">Time & Macros</button></form><form action="/settings/um"><button
type="submit">Usermods</button></form>%DMXMENU%<form action="/settings/sec"><button
type="submit">Usermods</button></form><form action="/settings/sec"><button
type="submit">Security & Updates</button></form></body></html>)=====";