[OTA] Capability to disable Firmware Update on ESP32 WEB (#1621)
* disabling Firmware Update on ESP32 --------- Co-authored-by: Bert Wynants <bwynants+drupal-git@gmail.com>
This commit is contained in:
1 parent
ad4e4b55c7
commit
9bb322daf8
3 files changed
+10
-3
No files matched your search
@@ -34,8 +34,11 @@
|
||||
#define body_footer_config_menu "<div id=but3d style=\"display: block;\"></div><p><form id=but3 style=\"display: block;\" action='cn' method='get'><button>Configuration</button></form></p>"
|
||||
#define body_header "<body><div style='text-align:left;display:inline-block;min-width:360px;'><div style='text-align:center;'><noscript> To use, please enable JavaScript <br></noscript><h3>%s</h3><h2>%s</h2></div>"
|
||||
|
||||
#define button_upgrade "<p><form id=but5 style='display: block;' action='up' method='get'><button>Firmware Upgrade</button></form></p>"
|
||||
|
||||
#if defined(ESP32) && defined(MQTT_HTTPS_FW_UPDATE)
|
||||
# define button_upgrade "<p><form id=but5 style='display: block;' action='up' method='get'><button>Firmware Upgrade</button></form></p>"
|
||||
#else
|
||||
# define button_upgrade ""
|
||||
#endif
|
||||
// Configuration Menu
|
||||
|
||||
#define configure_1 "<p><form action='wi' method='get'><button>Configure WiFi</button></form></p>"
|
||||
|
||||
Reference in new issue
Block a user