From 7cf16766c4e674830feb9405a92671fcf8817983 Mon Sep 17 00:00:00 2001 From: Blaz Kristan Date: Fri, 20 Aug 2021 19:38:24 +0200 Subject: [PATCH] Clear local storage button. Removed skin.css from settings pages. --- wled00/data/settings_leds.htm | 3 +- wled00/data/settings_sec.htm | 1 - wled00/data/settings_ui.htm | 8 + wled00/html_settings.h | 47 +-- wled00/html_ui.h | 769 +++++++++++++++++----------------- wled00/wled.cpp | 1 + wled00/wled.h | 2 +- 7 files changed, 418 insertions(+), 413 deletions(-) diff --git a/wled00/data/settings_leds.htm b/wled00/data/settings_leds.htm index 3dff4363..1e569916 100644 --- a/wled00/data/settings_leds.htm +++ b/wled00/data/settings_leds.htm @@ -343,7 +343,6 @@ Reverse (rotated 180°): } -
@@ -407,7 +406,7 @@ Reverse (rotated 180°):
IR info
- Relay pin: invert  ×
+ Relay GPIO: invert  ×

Defaults

Turn LEDs on after power up/reset:
diff --git a/wled00/data/settings_sec.htm b/wled00/data/settings_sec.htm index 40f4ee70..0d37ac51 100644 --- a/wled00/data/settings_sec.htm +++ b/wled00/data/settings_sec.htm @@ -54,7 +54,6 @@ - diff --git a/wled00/data/settings_ui.htm b/wled00/data/settings_ui.htm index baf0f058..2cae7ac4 100644 --- a/wled00/data/settings_ui.htm +++ b/wled00/data/settings_ui.htm @@ -147,6 +147,13 @@ gId('lserr').innerHTML = "⚠ Settings JSON saving failed. (" + e + ")"; } } + + function cLS() + { + localStorage.removeItem('wledP'); + localStorage.removeItem('wledPmt'); + localStorage.removeItem('wledPalx'); + } function Save() { SetLS(); @@ -243,6 +250,7 @@ :
Holidays:
+

diff --git a/wled00/html_settings.h b/wled00/html_settings.h index 22d1dbd7..c05b3732 100644 --- a/wled00/html_settings.h +++ b/wled00/html_settings.h @@ -78,19 +78,18 @@ onclick="B()">Back const char PAGE_settings_leds[] PROGMEM = R"=====(LED Settings