-
Notifications
You must be signed in to change notification settings - Fork 671
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Beautify Restart Page and auto reload #947
Comments
Updates to the html page are always welcome - just go ahead! |
It will also need to embed some html code in the place of https://github.com/jomjol/AI-on-the-edge-device/blob/master/code/components/jomjol_fileserver_ota/server_ota.cpp#L438 Could you explain, what the line For following lines I interpret that thats what gets sent to the Webbrowser: const char* resp_str = "!!! System will restart within 5 sec!!!";
httpd_resp_send(req, resp_str, strlen(resp_str)); |
Yes, this is true. With this line of code you send the html to the client. |
Please have a look on #949 |
When doing a restart, the iframe shows a rater ugly non-styled message.
!!! System will restart within 5 sec!!!
.I know this comes directly from the code (https://github.com/jomjol/AI-on-the-edge-device/blob/master/code/components/jomjol_fileserver_ota/server_ota.cpp#L438).
I would suggest to also show
let me know what you think and I will try to create a PR.
The text was updated successfully, but these errors were encountered: