/* clang-format off */


#ifdef ENABLE_FEATURE_WSCONSOLE

//static const char js_wsapp_conf_wsconsole[] PROGMEM = R"=====(var wsUrl = 'ws://' + window.location.hostname + ':81';)====="; // js_wsapp_conf_wsconsole

static const char html_wsconsole_body[] PROGMEM = R"=====(
<p><b>Console</b></p>
<div id="status">Connecting...</div>
<table style='width:100%'>
<tr><td style='width:800px'><textarea id='msgs'></textarea></td></tr>
<tr><td style='width:100%'><form onsubmit='return false;' autocomplete='on'><input id='cmd' type='text' autocomplete='on'></form></td></tr>
<tr><td style='width:100%'><button type='submit' id='btnSend' onclick='sendCmd();'>Send</button></td></tr>
<tr><td style='width:100%'><button type='button' id='btnClose' onclick='togConn();'>Disconnect</button></td></tr>
<tr><td style='width:100%'><form action='.' method='get'><button class='bgrey'>Main Menu</button></form></td></tr>
</table>
)====="; // html_wsconsole_body

static const char html_wsconsole_script[] PROGMEM = R"=====(
<script>
var wsUrl = 'ws://' + window.location.hostname + ':81';
)====="; // html_wsconsole_script

static const char html_wsconsole_endScript[] PROGMEM = R"=====(
</script>
)====="; // html_wsconsole_endScript

#endif