/* clang-format off */

static const char html_admin_body1[] PROGMEM = R"=====(
<p><b>Configuration</b></p>
<table style='width:100%'>
)====="; // html_admin_body1


#ifdef FIRMWARE_VARIANT_THERMOSTAT
static const char html_admin_body_therm[] PROGMEM = R"=====(
<tr><td><form action='confTherm' method='get'><button>Thermostat</button></form></td></tr>
)====="; // html_admin_body_therm
#endif


#ifdef FIRMWARE_VARIANT_HEATCONTROL
static const char html_admin_body_heatc[] PROGMEM = R"=====(
<tr><td><form action='confHeatc' method='get'><button>Heat Control</button></form></td></tr>
)====="; // html_admin_body_heatc
#endif


static const char html_admin_body2[] PROGMEM = R"=====(
<tr><td><form action='confSens' method='get'><button>Sensors</button></form></td></tr>
<tr><td>&nbsp;</td></tr>
<tr><td><form action='confDevWiFi' method='get'><button>Device &amp; WiFi</button></form></td></tr>
<tr><td><form action='confTime' method='get'><button>Date &amp; Time</button></form></td></tr>
<tr><td><form action='confLog' method='get'><button>Logging</button></form></td></tr>
<tr><td><form action='confweb' method='get'><button>Web Interface</button></form></td></tr>
<tr><td><form action='confMqtt' method='get'><button>MQTT</button></form></td></tr>
<tr><td><form action='confAdd' method='get'><button>Additional Functions</button></form></td></tr>
<tr><td>&nbsp;</td></tr>
)====="; // html_admin_body2


#ifdef ENABLE_FEATURE_HTTP_UPDATER
static const char html_admin_body_ota[] PROGMEM = R"=====(
<tr><td><form action='update' method='get'><button>OTA Firmware Update</button></form></td></tr>
<tr><td>&nbsp;</td></tr>
)====="; // html_admin_body
#endif

#ifdef ENABLE_FEATURE_FILESYSTEM_BROWSER
static const char html_admin_body_fsbrowser[] PROGMEM = R"=====(
<tr><td><form action='fs' method='get'><button>File System Browser</button></form></td></tr>)====="; // html_main_body_adminonly_fsbrowser
#endif

#ifdef ENABLE_FEATURE_WEB_CONSOLE
static const char html_admin_body_console[] PROGMEM = R"=====(
<tr><td><form action='console' method='get'><button>Web Console</button></form></td></tr>
)====="; // html_admin_body_console
#endif

#ifdef ENABLE_FEATURE_WSCONSOLE
static const char html_admin_body_wsconsole[] PROGMEM = R"=====(
<tr><td><form action='wsconsole' method='get'><button>WebSockets Console</button></form></td></tr>
)====="; // html_admin_body_wsconsole
#endif

static const char html_admin_body_end[] PROGMEM = R"=====(
</table>
<div></div>
<table style='width:100%'><tr>
<td style='width:50%'><form action='.' method='get'><button class='bgrey'>Main Menu</button></form></td>
<td><form action='/' method='get' onsubmit='return confirm("Confirm Restart");'><button name='restart' class='bred'>Restart</button></form></td>
</tr></table>
)====="; // html_admin_body_end
