From 49dee560fd592f6a93017e885512b492793bab63 Mon Sep 17 00:00:00 2001 From: Blaz Kristan Date: Fri, 5 Mar 2021 09:50:59 +0100 Subject: [PATCH] Sticky save & back buttons. --- wled00/data/settings_dmx.htm | 2 + wled00/data/settings_leds.htm | 2 + wled00/data/settings_sec.htm | 2 + wled00/data/settings_sync.htm | 2 + wled00/data/settings_time.htm | 2 + wled00/data/settings_ui.htm | 2 +- wled00/data/settings_wifi.htm | 2 + wled00/data/style.css | 6 ++ wled00/html_settings.h | 149 +++++++++++++++++----------------- 9 files changed, 93 insertions(+), 76 deletions(-) diff --git a/wled00/data/settings_dmx.htm b/wled00/data/settings_dmx.htm index 2053fa15e..1ab5e3910 100644 --- a/wled00/data/settings_dmx.htm +++ b/wled00/data/settings_dmx.htm @@ -37,8 +37,10 @@ function GetV(){}
+

+

Imma firin ma lazer (if it has DMX support)

Proxy Universe from E1.31 to DMX (0=disabled)
diff --git a/wled00/data/settings_leds.htm b/wled00/data/settings_leds.htm index 7388b3635..6ddeefc02 100644 --- a/wled00/data/settings_leds.htm +++ b/wled00/data/settings_leds.htm @@ -272,8 +272,10 @@ Reverse (rotated 180°): +

+

LED & Hardware setup

Total LED count:
Recommended power supply for brightest white:
diff --git a/wled00/data/settings_sec.htm b/wled00/data/settings_sec.htm index f9d1a3a53..a5a2a9dcb 100644 --- a/wled00/data/settings_sec.htm +++ b/wled00/data/settings_sec.htm @@ -28,8 +28,10 @@ +

+

Security & Update setup

Lock wireless (OTA) software update:
Passphrase:
diff --git a/wled00/data/settings_sync.htm b/wled00/data/settings_sync.htm index cd61870b5..585e38075 100644 --- a/wled00/data/settings_sync.htm +++ b/wled00/data/settings_sync.htm @@ -12,8 +12,10 @@ function GetV(){var d=document;} +

+

Sync setup

Button setup

On/Off button enabled:
diff --git a/wled00/data/settings_time.htm b/wled00/data/settings_time.htm index 9924530f3..d0544af10 100644 --- a/wled00/data/settings_time.htm +++ b/wled00/data/settings_time.htm @@ -82,8 +82,10 @@ +

+

Time setup

Get time from NTP server:

diff --git a/wled00/data/settings_ui.htm b/wled00/data/settings_ui.htm index eb80d6342..6ae078347 100644 --- a/wled00/data/settings_ui.htm +++ b/wled00/data/settings_ui.htm @@ -192,7 +192,7 @@ -
+

diff --git a/wled00/data/settings_wifi.htm b/wled00/data/settings_wifi.htm index 31924526e..2279b2540 100644 --- a/wled00/data/settings_wifi.htm +++ b/wled00/data/settings_wifi.htm @@ -24,8 +24,10 @@ +

+

WiFi setup

Connect to existing network

Network name (SSID, empty to not connect):

diff --git a/wled00/data/style.css b/wled00/data/style.css index 6fb1a55d1..0fc3fa211 100644 --- a/wled00/data/style.css +++ b/wled00/data/style.css @@ -21,6 +21,12 @@ button { padding: 8px 12px; min-width: 48px; } +.toprow { + top: 0; + position: sticky; + background-color:#222; + z-index:1; +} .helpB { text-align: left; position: absolute; diff --git a/wled00/html_settings.h b/wled00/html_settings.h index dacfc4c9b..45757f3aa 100644 --- a/wled00/html_settings.h +++ b/wled00/html_settings.h @@ -6,7 +6,7 @@ */ // Autogenerated from wled00/data/style.css, do not edit!! -const char PAGE_settingsCss[] PROGMEM = R"=====()====="; +const char PAGE_settingsCss[] PROGMEM = R"=====()====="; // Autogenerated from wled00/data/settings.htm, do not edit!! @@ -31,10 +31,10 @@ const char PAGE_settings_wifi[] PROGMEM = R"=====(WiFi Settings