ESP8266WebServerhttp(80);// Create a webserver object that listens for HTTP request on port 80
#elif defined(ESP32)
WebServerhttp(80);
#endif
DNSServerdnsServer;//TODO: Check if needed
IotWebConf*iotWebConf;
constcharconfig_version[IOTWEBCONF_CONFIG_VERSION_LENGTH]=AMPEL_CONFIG_VERSION;// -- Configuration specific key. The value should be modified if config structure was changed.
"<form action='/delete_csv' method='POST' onsubmit=\"return confirm('Are you really sure you want to delete all data?') && (document.body.style.cursor = 'wait');\">"
"<input type='submit' value='Delete CSV'/>"
"</form>\n"
#endif
"</div>\n");
"</form>"
"<button onclick=\"fetch('/command?send=set_time '+Math.floor(Date.now()/1000))\" %s>Set time!</button>"// Can be useful in AP mode