PCB lives now in its own git repo https://git.la10cy.net/DeltaLima/CanGrow-12V-PCB
26 lines
758 B
C
26 lines
758 B
C
/*
|
|
*
|
|
* include/Webserver/Common_HTML.h - header file with common HTML snippets
|
|
* HTML header or footer to a String()
|
|
*
|
|
*
|
|
*
|
|
*/
|
|
|
|
|
|
// double div to force a linebreak. infomsg , warnmsg are inline-block
|
|
const char Common_HTML_SAVE_MSG[] PROGMEM = R"EOF(
|
|
<div><div class='infomsg'>✅ Successfully saved!</div></div>
|
|
)EOF";
|
|
|
|
const char Common_HTML_SAVE_MSG_ERR[] PROGMEM = R"EOF(
|
|
<div><div class='infomsg'>!! ERROR saving!</div></div>
|
|
)EOF";
|
|
|
|
const char Common_HTML_NEED_RESTART[] PROGMEM = R"EOF(
|
|
<div><div class='warnmsg'>❗ Restart is required to apply new settings!
|
|
<form action='/system/restart' method='post'><input type='hidden' name='confirmed' value='true' />
|
|
<input type='submit' value='Restart now' />
|
|
</form>
|
|
</div></div>
|
|
)EOF";
|