You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Added setCustomTopBodyElement allowing to define custom HTML to be added at the top of the "<body>" tag.
* Change custom top body element to 'header'
This will make more sense once a footer is added. No functional changes.
* Make custom header concat conditional
Matching the _bodyClass comparison above
* Create getHTTPEnd function
* Add custom body footer functionality
* Fix <small> close tag on update page
* Add missing HTTP ends to exit and close
* Remove 'immediately' from header/footer desc
It's not immediate, the 'wrap' div is added before/after.
---------
Co-authored-by: Andreas Breitschopp <[email protected]>
constcharHTTP_UPDATE[] PROGMEM="Charger le nouveau firmware<br/><form method='POST' action='u' enctype='multipart/form-data' onchange=\"(function(el){document.getElementById('uploadbin').style.display = el.value=='' ? 'none' : 'initial';})(this)\"><input type='file' name='update' accept='.bin,application/octet-stream'><button id='uploadbin' type='submit' class='h D'>Mise à jour</button></form><small><a href='http://192.168.4.1/update' target='_blank'>* Peut ne pas fonctionner à l'intérieur du portail captif, ouvrir dans le navigateur http://192.168.4.1</a><small>";
153
+
constcharHTTP_UPDATE[] PROGMEM="Charger le nouveau firmware<br/><form method='POST' action='u' enctype='multipart/form-data' onchange=\"(function(el){document.getElementById('uploadbin').style.display = el.value=='' ? 'none' : 'initial';})(this)\"><input type='file' name='update' accept='.bin,application/octet-stream'><button id='uploadbin' type='submit' class='h D'>Mise à jour</button></form><small><a href='http://192.168.4.1/update' target='_blank'>* Peut ne pas fonctionner à l'intérieur du portail captif, ouvrir dans le navigateur http://192.168.4.1</a></small>";
154
154
constcharHTTP_UPDATE_FAIL[] PROGMEM="<div class='msg D'><strong>Echec de la mise à jour !</strong><Br/>Redémarrer l'appareil et réessayer</div>";
155
155
constcharHTTP_UPDATE_SUCCESS[] PROGMEM="<div class='msg S'><strong>Mise à jour réussie. </strong> <br/> L'appareil redémarre maintenant...</div>";
0 commit comments