firmware wip - when restart is required, show restart info everywhere
This commit is contained in:
parent
4d5d347885
commit
50b8dfd509
1 changed files with 5 additions and 3 deletions
|
@ -1422,6 +1422,10 @@ String returnHTMLheader(String MenuEntry = "") {
|
||||||
// close <ul> and start <div>
|
// close <ul> and start <div>
|
||||||
header += "</ul><div class='center'>";
|
header += "</ul><div class='center'>";
|
||||||
|
|
||||||
|
if(NeedRestart == true) {
|
||||||
|
header += FPSTR(HTMLneedRestart);
|
||||||
|
}
|
||||||
|
|
||||||
return header;
|
return header;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1868,9 +1872,7 @@ void WEBwifiSettings() {
|
||||||
body += "</p>";
|
body += "</p>";
|
||||||
}
|
}
|
||||||
body += "<h2>WiFi config</h2>\n";
|
body += "<h2>WiFi config</h2>\n";
|
||||||
if(NeedRestart == true) {
|
|
||||||
body += FPSTR(HTMLneedRestart);
|
|
||||||
}
|
|
||||||
if(webserver.hasArg("success")) {
|
if(webserver.hasArg("success")) {
|
||||||
body += FPSTR(HTMLsuccess);
|
body += FPSTR(HTMLsuccess);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue