#pragma once /*! \def char AP_HTTP_HEAD[] PROGMEM Start of HTML output */ const char AP_HTTP_HEAD[] PROGMEM = "{v}"; /*! \def AP_HTTP_STYLE[] PROGMEM Style for our access point */ const char AP_HTTP_STYLE[] PROGMEM = ""; /** Scripts for our page */ const char AP_HTTP_SCRIPT[] PROGMEM = ""; /** End of the header section and beginning of the body */ const char AP_HTTP_HEAD_END[] PROGMEM = "
"; /** Start of our HTMl configuration Form */ const char AP_HTTP_PORTAL_OPTIONS[] PROGMEM = "
Connect this device to a WiFi network. Select the option to find a WiFi network.

"; /** HTML snippet for wifi scanning */ const char AP_HTTP_ITEM[] PROGMEM = "
{v} {r}%
"; /** HTML form for saving wifi connection details */ const char AP_HTTP_FORM_START[] PROGMEM ="

";; /** HTML snippet for our custom parameters */ const char AP_HTTP_FORM_PARAM[] PROGMEM = "
"; /** The end of our HTML Form */ const char AP_HTTP_FORM_END[] PROGMEM = "
"; /** HTML snippet to recan for networks */ const char AP_HTTP_SCAN_LINK[] PROGMEM = "
Re-scan
"; /** HTML snippet for saved confirmation */ // https://stackoverflow.com/questions/20760635/why-does-setting-xmlhttprequest-responsetype-before-calling-open-throw // https://esprima.org/demo/validate.html // https://javascript-minifier.com/ /* Use JavaScript to ping the ESP periodically @ the AP IP address. * If it comes back as an AP again then we know the connection to the WiFi didn't work. * We wait about 30 seconds to determine this outcome. This isn't 100% foolproof, but should be good enough. */ /* */ const char AP_HTTP_SAVED[] PROGMEM = "
Credentials Saved.
Attempting to connect to WiFi network. Please wait....
Connected to {ap} !
You may now close this window.
Failed to connect to {ap}!
Click here to try again.
"; /** End of the HTML page */ const char AP_HTTP_END[] PROGMEM = "
"; /** HTML snippet for our custom parameters portal form */ const char AP_HTTP_PORTAL_PARAM_OPTIONS[] PROGMEM = "


"; /** HTML snippet for our custom parameters save */ const char AP_HTTP_FORM_PARAM_START[] PROGMEM ="
";