mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-28 05:06:32 +00:00
Every sperm counts
This commit is contained in:
parent
27cee8868b
commit
3751a3ff07
@ -108,7 +108,6 @@ const char HTTP_SCRIPT_COUNTER[] PROGMEM =
|
|||||||
#include "./html_uncompressed/HTTP_SCRIPT_ROOT_PART2.h"
|
#include "./html_uncompressed/HTTP_SCRIPT_ROOT_PART2.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
const char HTTP_SCRIPT_WIFI[] PROGMEM =
|
const char HTTP_SCRIPT_WIFI[] PROGMEM =
|
||||||
"function c(l){"
|
"function c(l){"
|
||||||
"eb('s1').value=l.innerText||l.textContent;"
|
"eb('s1').value=l.innerText||l.textContent;"
|
||||||
@ -117,13 +116,13 @@ const char HTTP_SCRIPT_WIFI[] PROGMEM =
|
|||||||
|
|
||||||
const char HTTP_SCRIPT_HIDE[] PROGMEM =
|
const char HTTP_SCRIPT_HIDE[] PROGMEM =
|
||||||
"function hidBtns() {"
|
"function hidBtns() {"
|
||||||
"eb('butmo').style.display = 'none';"
|
"eb('butmo').style.display='none';"
|
||||||
"eb('butmod').style.display = 'none';"
|
"eb('butmod').style.display='none';"
|
||||||
"eb('but0').style.display = 'block';"
|
"eb('but0').style.display='block';"
|
||||||
"eb('but1').style.display = 'block';"
|
"eb('but1').style.display='block';"
|
||||||
"eb('but13').style.display = 'block';"
|
"eb('but13').style.display='block';"
|
||||||
"eb('but0d').style.display = 'block';"
|
"eb('but0d').style.display='block';"
|
||||||
"eb('but13d').style.display = 'block';"
|
"eb('but13d').style.display='block';"
|
||||||
"}";
|
"}";
|
||||||
|
|
||||||
const char HTTP_SCRIPT_RELOAD_TIME[] PROGMEM =
|
const char HTTP_SCRIPT_RELOAD_TIME[] PROGMEM =
|
||||||
@ -135,14 +134,11 @@ const char HTTP_SCRIPT_RELOAD_TIME[] PROGMEM =
|
|||||||
#include "./html_uncompressed/HTTP_SCRIPT_CONSOL.h"
|
#include "./html_uncompressed/HTTP_SCRIPT_CONSOL.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
const char HTTP_MODULE_TEMPLATE_REPLACE_INDEX[] PROGMEM =
|
const char HTTP_MODULE_TEMPLATE_REPLACE_INDEX[] PROGMEM =
|
||||||
"}2%d'>%s (%d)}3"; // }2 and }3 are used in below os.replace
|
"}2%d'>%s (%d)}3"; // }2 and }3 are used in below os.replace
|
||||||
const char HTTP_MODULE_TEMPLATE_REPLACE_NO_INDEX[] PROGMEM =
|
const char HTTP_MODULE_TEMPLATE_REPLACE_NO_INDEX[] PROGMEM =
|
||||||
"}2%d'>%s}3"; // }2 and }3 are used in below os.replace
|
"}2%d'>%s}3"; // }2 and }3 are used in below os.replace
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#ifdef USE_UNISHOX_COMPRESSION
|
#ifdef USE_UNISHOX_COMPRESSION
|
||||||
#include "./html_compressed/HTTP_SCRIPT_MODULE_TEMPLATE.h"
|
#include "./html_compressed/HTTP_SCRIPT_MODULE_TEMPLATE.h"
|
||||||
#include "./html_compressed/HTTP_SCRIPT_TEMPLATE.h"
|
#include "./html_compressed/HTTP_SCRIPT_TEMPLATE.h"
|
||||||
@ -151,7 +147,6 @@ const char HTTP_MODULE_TEMPLATE_REPLACE_NO_INDEX[] PROGMEM =
|
|||||||
#include "./html_uncompressed/HTTP_SCRIPT_TEMPLATE.h"
|
#include "./html_uncompressed/HTTP_SCRIPT_TEMPLATE.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
const char HTTP_SCRIPT_TEMPLATE2[] PROGMEM =
|
const char HTTP_SCRIPT_TEMPLATE2[] PROGMEM =
|
||||||
"j=0;"
|
"j=0;"
|
||||||
"for(i=0;i<" STR(MAX_USER_PINS) ";i++){" // Supports 13 GPIOs
|
"for(i=0;i<" STR(MAX_USER_PINS) ";i++){" // Supports 13 GPIOs
|
||||||
@ -199,7 +194,6 @@ const char HTTP_SCRIPT_INFO_END[] PROGMEM =
|
|||||||
"}"
|
"}"
|
||||||
"wl(i);";
|
"wl(i);";
|
||||||
|
|
||||||
|
|
||||||
#ifdef USE_UNISHOX_COMPRESSION
|
#ifdef USE_UNISHOX_COMPRESSION
|
||||||
#include "./html_compressed/HTTP_HEAD_LAST_SCRIPT.h"
|
#include "./html_compressed/HTTP_HEAD_LAST_SCRIPT.h"
|
||||||
#include "./html_compressed/HTTP_HEAD_STYLE1.h"
|
#include "./html_compressed/HTTP_HEAD_STYLE1.h"
|
||||||
@ -210,7 +204,6 @@ const char HTTP_SCRIPT_INFO_END[] PROGMEM =
|
|||||||
#include "./html_uncompressed/HTTP_HEAD_STYLE2.h"
|
#include "./html_uncompressed/HTTP_HEAD_STYLE2.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#ifdef USE_ZIGBEE
|
#ifdef USE_ZIGBEE
|
||||||
// Styles used for Zigbee Web UI
|
// Styles used for Zigbee Web UI
|
||||||
// Battery icon from https://css.gg/battery
|
// Battery icon from https://css.gg/battery
|
||||||
|
Loading…
x
Reference in New Issue
Block a user