/* 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

" #if defined(ESP32) && defined(MQTT_HTTPS_FW_UPDATE) # define button_upgrade "

" #else # define button_upgrade "" #endif // 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 "
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 to Level

Level


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

Scan for all WiFi Networks

WiFi Parameters

WiFi Network ()



" body_footer_config_menu; // mqtt server (mh), mqtt port (ml), mqtt username (mu), mqtt password (mp), secure connection (sc), server certificate (msc), topic (mt) const char config_mqtt_body[] = body_header "
MQTT Parameters

MQTT Server

MQTT Port

MQTT Username


MQTT Secure Connection

Gateway Name

MQTT Base Topic


" body_footer_config_menu; const char config_logging_body[] = body_header "
OpenMQTTGateway Logging

Log Level


" body_footer_config_menu; const char config_webui_body[] = body_header "
Configure WebUI

Display Metric

Secure WebUI


" body_footer_config_menu; const char footer[] = "

%s
"; #endif