/* OpenMQTTGateway - ESP8266 or Arduino program for home automation Act as a wifi or ethernet gateway between your 433mhz/infrared IR signal and a MQTT broker Send and receiving command by MQTT This files enables to set your parameter for the DHT11/22 sensor Copyright: (c)Florian ROBERT This file is part of OpenMQTTGateway. OpenMQTTGateway is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. OpenMQTTGateway is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . */ #ifndef config_WebContent_h #define config_WebContent_h /*------------------- ----------------------*/ // TODO: Create a script to generate these from WebPack #define body_footer_main_menu "

" #define body_footer_config_menu "

"; #define body_header "

%s

%s

" #define button_upgrade "

" // Configuration Menu #define configure_1 "

" #define configure_2 "

" #if defined(ZgatewayCloud) # define configure_3 "

" #else # define configure_3 #endif #define configure_4 #define configure_5 #define configure_6 #define configure_7 #define configure_8 /*------------------- ----------------------*/ const char header_html[] = "%s"; const char style[] = ""; const char root_body[] = body_header "

" button_upgrade "

"; const char config_body[] = body_header "" configure_1 "" configure_2 "" configure_3 "" configure_4 "" configure_5 "" configure_6 "" configure_7 "" configure_8 "

" body_footer_main_menu; const char reset_body[] = body_header "
%s

Device will restart in a few seconds

" body_footer_main_menu; const char config_cloud_body[] = body_header "
 Cloud Configuration 



" body_footer_config_menu; const char token_body[] = body_header "div style='text-align:center;'>Link Cloud Account

Cloud was successfully linked

"; const char console_body[] = body_header "



" body_footer_main_menu; const char information_body[] = body_header "
" body_footer_main_menu; const char upgrade_body[] = body_header "
 Upgrade by web server 

OTA Url




 Upgrade by file upload 



" body_footer_main_menu; const char config_wifi_body[] = body_header "

%s
BELL634
MRC

Scan for all WiFi Networks

 Wifi parameters 

WiFi Network ()


WiFi Network 2 ()


Hostname%s

CORS Domain


" body_footer_config_menu; // mqtt server, mqtt port, client id, mqtt username, mqtt password, topic, Full Topic const char config_mqtt_body[] = body_header "
 MQTT parameters 

Host ()

Port (1883)

Client

User " MQTT_USER "


Topic

Full Topic


" body_footer_config_menu; const char footer[] = "

%s
"; #endif