24 wiersze
807 B
C
24 wiersze
807 B
C
|
// mods by James Zahary Dec 28, 2021 https://github.com/jameszah/ESPxWebFlMgr
|
||
|
// based on https://github.com/holgerlembke/ESPxWebFlMgr
|
||
|
|
||
|
// inline guard. Still broken by design?
|
||
|
#ifndef ESPxWebFlMgrWpF_h
|
||
|
#define ESPxWebFlMgrWpF_h
|
||
|
|
||
|
static const char ESPxWebFlMgrWpFormIntro[] PROGMEM =
|
||
|
R"==x==(<form><textarea id="tect" rows="25" cols="80">)==x==";
|
||
|
|
||
|
|
||
|
static const char ESPxWebFlMgrWpFormExtro1[] PROGMEM =
|
||
|
R"==x==(</textarea></form><button title="Save file" onclick="sved(')==x==";
|
||
|
|
||
|
// noot sure what the <script> part is for.
|
||
|
static const char ESPxWebFlMgrWpFormExtro2[] PROGMEM =
|
||
|
R"==x==(');" >Save</button> <button title="Abort editing" onclick="abed();">Abort editing</button>
|
||
|
|
||
|
<script id="info">document.getElementById('o3').innerHTML = "File:";</script>)==x==";
|
||
|
|
||
|
|
||
|
|
||
|
#endif
|