Add message when no JavaScript

Add message when JavaScript is not enabled in webbrowser (#3388)
This commit is contained in:
Theo Arends 2018-08-02 12:03:33 +02:00
parent 4b8ee357ba
commit 25fee28546
2 changed files with 5 additions and 2 deletions

View File

@ -1,4 +1,5 @@
/* 6.1.1c
* Add message when JavaScript is not enabled in webbrowser (#3388)
* Fix sonoff-minimal from using default settings
* Add option + to command Rule to concatenate new rule with existing rules (#3365)
* Add initial support for sensor MPU6050 (#3352)

View File

@ -131,11 +131,13 @@ const char HTTP_HEAD_STYLE[] PROGMEM =
#ifdef BE_MINIMAL
"<div style='text-align:center;color:red;'><h3>" D_MINIMAL_FIRMWARE_PLEASE_UPGRADE "</h3></div>"
#endif
"<div style='text-align:center;'><noscript>" D_NOSCRIPT "<br/></noscript>"
#ifdef LANGUAGE_MODULE_NAME
"<div style='text-align:center;'><h3>" D_MODULE " {ha</h3><h2>{h}</h2></div>";
"<h3>" D_MODULE " {ha</h3>"
#else
"<div style='text-align:center;'><h3>{ha " D_MODULE "</h3><h2>{h}</h2></div>";
"<h3>{ha " D_MODULE "</h3>"
#endif
"<h2>{h}</h2></div>";
const char HTTP_SCRIPT_CONSOL[] PROGMEM =
"var sn=0;" // Scroll position
"var id=0;" // Get most of weblog initially