diff --git a/package-lock.json b/package-lock.json index 3e39dbc7a..d44c4c77f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "wled", - "version": "1.0.0", + "version": "0.10.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/tools/cdata.js b/tools/cdata.js index 3802ceecc..4bf2bba3a 100644 --- a/tools/cdata.js +++ b/tools/cdata.js @@ -84,7 +84,14 @@ function writeHtmlGzipped(sourceFile, resultFile) { console.info("Compressed " + result.length + " bytes"); const array = hexdump(result); - const src = ` + const src = `/* + * Binary array for the Web UI. + * gzip is used for smaller size and improved speeds. + * + * Please see https://github.com/Aircoookie/WLED/wiki/Add-own-functionality#web-ui + * to find out how to easily modify the web UI source! + */ + // Autogenerated from ${sourceFile}, do not edit!! const uint16_t PAGE_index_L = ${result.length}; const uint8_t PAGE_index[] PROGMEM = { @@ -153,7 +160,13 @@ ${result} } function writeChunks(srcDir, specs, resultFile) { - let src = ""; + let src = `/* + * More web UI HTML source arrays. + * This file is auto generated, please don't make any changes manually. + * Instead, see https://github.com/Aircoookie/WLED/wiki/Add-own-functionality#web-ui + * to find out how to easily modify the web UI source! + */ +`; specs.forEach((s) => { try { console.info("Reading " + srcDir + "/" + s.file + " as " + s.name); diff --git a/wled00/data/settings_leds.htm b/wled00/data/settings_leds.htm index f8b313be4..39baf00ac 100644 --- a/wled00/data/settings_leds.htm +++ b/wled00/data/settings_leds.htm @@ -86,57 +86,7 @@ } @@ -216,7 +166,7 @@
Reverse LED order (rotate 180):
- Skip first LED:
+ Skip first LED:
diff --git a/wled00/data/settings_sec.htm b/wled00/data/settings_sec.htm index 2b3d415d0..08d9427f6 100644 --- a/wled00/data/settings_sec.htm +++ b/wled00/data/settings_sec.htm @@ -23,51 +23,7 @@ } diff --git a/wled00/data/settings_sync.htm b/wled00/data/settings_sync.htm index 4df677034..42b493fae 100644 --- a/wled00/data/settings_sync.htm +++ b/wled00/data/settings_sync.htm @@ -9,7 +9,7 @@ function SetVal(){switch(parseInt(d.Sf.EP.value)){case 5568: d.Sf.DI.value = 556 function S(){GetV();SetVal();} function GetV(){var d=document;} - +
diff --git a/wled00/data/settings_time.htm b/wled00/data/settings_time.htm index c4064e76a..c0231277d 100644 --- a/wled00/data/settings_time.htm +++ b/wled00/data/settings_time.htm @@ -77,64 +77,7 @@ } @@ -208,7 +151,8 @@ Use 0 for the default action instead of a macro
Boot Macro:
Alexa On/Off Macros:
- Button Macro: Long Press:
+ Button short press macro: Macro:
+ Long Press: Double press:
Countdown-Over Macro:
Timed-Light-Over Macro:
Time-Controlled Macros:
diff --git a/wled00/data/settings_ui.htm b/wled00/data/settings_ui.htm index 372532647..d3f4de239 100644 --- a/wled00/data/settings_ui.htm +++ b/wled00/data/settings_ui.htm @@ -1,6 +1,7 @@ + UI Settings diff --git a/wled00/data/settings_wifi.htm b/wled00/data/settings_wifi.htm index fd1ee3197..a72c43fd0 100644 --- a/wled00/data/settings_wifi.htm +++ b/wled00/data/settings_wifi.htm @@ -1,6 +1,7 @@ + WiFi Settings
-
+

WiFi setup

Connect to existing network

Network name (SSID, empty to not connect):

@@ -102,13 +59,13 @@
- AP IP: Not active
+ AP IP: Not active

Experimental

Disable WiFi sleep:
Can help with connectivity issues.
Do not enable if WiFi is working correctly, increases power consumption.

- +
\ No newline at end of file diff --git a/wled00/html_other.h b/wled00/html_other.h index 6f094c32e..e696ad1af 100644 --- a/wled00/html_other.h +++ b/wled00/html_other.h @@ -1,3 +1,9 @@ +/* + * More web UI HTML source arrays. + * This file is auto generated, please don't make any changes manually. + * Instead, see https://github.com/Aircoookie/WLED/wiki/Add-own-functionality#web-ui + * to find out how to easily modify the web UI source! + */ // Autogenerated from wled00/data/usermod.htm, do not edit!! const char PAGE_usermod[] PROGMEM = R"=====(No usermod custom web page set.)====="; diff --git a/wled00/html_settings.h b/wled00/html_settings.h index 6aaa6f959..4472f5db5 100644 --- a/wled00/html_settings.h +++ b/wled00/html_settings.h @@ -1,3 +1,9 @@ +/* + * More web UI HTML source arrays. + * This file is auto generated, please don't make any changes manually. + * Instead, see https://github.com/Aircoookie/WLED/wiki/Add-own-functionality#web-ui + * to find out how to easily modify the web UI source! + */ // Autogenerated from wled00/data/style.css, do not edit!! const char PAGE_settingsCss[] PROGMEM = R"=====()====="; @@ -21,13 +27,14 @@ action="/settings/time">
-WiFi Settings