From a6adb314ec6c50c48d7784eaa25140dbdf69267c Mon Sep 17 00:00:00 2001 From: Blaz Kristan Date: Mon, 11 Oct 2021 17:55:26 +0200 Subject: [PATCH] Clean up settings CSS. --- wled00/data/settings_leds.htm | 10 +++++----- wled00/data/settings_time.htm | 18 +++++++++--------- wled00/data/style.css | 8 ++++---- wled00/html_settings.h | 33 +++++++++++++++++---------------- 4 files changed, 35 insertions(+), 34 deletions(-) diff --git a/wled00/data/settings_leds.htm b/wled00/data/settings_leds.htm index 986e9979..ce247079 100644 --- a/wled00/data/settings_leds.htm +++ b/wled00/data/settings_leds.htm @@ -326,11 +326,11 @@ ${i+1}: Start:  
Length:

-GPIO: - - - - +GPIO: + + + +

Reversed:

Skip 1st LED:

Off Refresh:  
diff --git a/wled00/data/settings_time.htm b/wled00/data/settings_time.htm index 5dfe0515..13e4d3b9 100644 --- a/wled00/data/settings_time.htm +++ b/wled00/data/settings_time.htm @@ -43,16 +43,16 @@ } function BTa() { - var ih="ActiveHourMinutePresetMTWTFSS"; + var ih="En.HourMinutePresetMTWTFSS"; for (i=0;i<8;i++) { - ih+=""; + ih+=""; for (j=1;j<8;j++) ih+=""; ih+=""; } - ih+="Sunrise"; + ih+="Sunrise"; for (j=1;j<8;j++) ih+=""; - ih+="Sunset"; + ih+="Sunset"; for (j=1;j<8;j++) ih+=""; ih+=""; gId("TMT").innerHTML=ih; @@ -159,16 +159,16 @@ Countdown Mode:
Countdown Goal:
- Year: 20 Month: Day:
- Hour: Minute: Second:
+ Year: 20 Month: Day:
+ Hour: Minute: Second:

Macro presets

Macros have moved!
Presets now also can be used as macros to save both JSON and HTTP API commands.
Just enter the preset id below!
Use 0 for the default action instead of a preset
- Alexa On/Off Preset:
- Countdown-Over Preset:
- Timed-Light-Over Presets:
+ Alexa On/Off Preset:
+ Countdown-Over Preset:
+ Timed-Light-Over Presets:

Button actions

diff --git a/wled00/data/style.css b/wled00/data/style.css index 9c222031..4a4877d3 100644 --- a/wled00/data/style.css +++ b/wled00/data/style.css @@ -61,16 +61,16 @@ input[type="number"].xl { width: 85px; } input[type="number"].l { - width: 65px; + width: 64px; } input[type="number"].m { - width: 59px; + width: 56px; } input[type="number"].s { - width: 52px; + width: 48px; } input[type="number"].xs { - width: 46px; + width: 40px; } select { margin: 2px; diff --git a/wled00/html_settings.h b/wled00/html_settings.h index 67ed1ba3..d558a1c8 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!! @@ -77,7 +77,7 @@ onclick="B()">Back // Autogenerated from wled00/data/settings_leds.htm, do not edit!! const char PAGE_settings_leds[] PROGMEM = R"=====(LED Settings