Moznost pouzit predminulou konfiguraci
This commit is contained in:
@@ -127,7 +127,7 @@ static const char PAGE_SAVED[] PROGMEM = R"=====(
|
||||
<title>xPablo Setup - Konfigurace uložena</title>
|
||||
<style>div,input {margin-bottom: 5px;}body{width:200px;display:block;margin-left:auto;margin-right:auto;}</style>
|
||||
</head><body>
|
||||
Uloženo do EEPROM...<br/>
|
||||
Uloženo do Flash...<br/>
|
||||
Restart za několik sekund.
|
||||
</body></html>
|
||||
)=====";
|
||||
@@ -138,6 +138,7 @@ static const char PAGE_CAPTIVEPORTALCATCH[] PROGMEM = R"=====(<!DOCTYPE html>
|
||||
.vl-info {border-left: thick solid #1fa3ec;background: #cee6ff; text-align:left; display:inline-block; min-width:260px; margin-top:15px}
|
||||
.red { background-color: #ff0000;}
|
||||
.magenta { background-color: #ff00ff;}
|
||||
.yellow { background-color: #FFD700;}
|
||||
</style>
|
||||
</head><body><div style='text-align:left;display:inline-block;min-width:260px;'>
|
||||
<form action="/config" method="get">
|
||||
@@ -145,7 +146,9 @@ static const char PAGE_CAPTIVEPORTALCATCH[] PROGMEM = R"=====(<!DOCTYPE html>
|
||||
</form><br/>
|
||||
<form action="/i" method="get">
|
||||
<button>Informace o modulu</button>
|
||||
</form><br/><form action="/r" method="post">
|
||||
</form><br/>
|
||||
$RESTORE$
|
||||
<form action="/r" method="post">
|
||||
<button class="red">Reset</button></form><br>)====="
|
||||
#if defined USE_WIFICONFIG_OTAUPDATE
|
||||
R"=====(
|
||||
@@ -255,3 +258,9 @@ button{border:0;border-radius:0.3rem;background-color:#1fa3ec;color:#fff;line-he
|
||||
<tr><td>Flash Chip ID:<td>$FID$
|
||||
</table></form>
|
||||
)=====";
|
||||
|
||||
static const char PAGE_RESTORE[] PROGMEM = R"=====(
|
||||
<form action="/o" method="post">
|
||||
<button class="yellow">Předminulá konfigurace</button>
|
||||
</form><br/>
|
||||
)=====";
|
||||
|
||||
Reference in New Issue
Block a user