diff --git a/main/http.cpp b/main/http.cpp index 5ee7fc0..cbaa4b2 100644 --- a/main/http.cpp +++ b/main/http.cpp @@ -59,7 +59,7 @@ static void End_Control_Row(httpd_req_t *Req) static void ParmForm_Info(httpd_req_t *Req) { httpd_resp_sendstr_chunk(Req, "

Info

"); - httpd_resp_sendstr_chunk(Req, "
\n"); + httpd_resp_sendstr_chunk(Req, "\n"); Begin_Control_Row(Req, "Pilot"); httpd_resp_sendstr_chunk(Req, "Aircraft"); - httpd_resp_sendstr_chunk(Req, "\n"); + httpd_resp_sendstr_chunk(Req, "\n"); Begin_Control_Row(Req, "Address"); httpd_resp_sendstr_chunk(Req, "GPS"); #endif #endif - httpd_resp_sendstr_chunk(Req, "\n"); + httpd_resp_sendstr_chunk(Req, "\n"); Begin_Control_Row(Req, "Nav. rate [Hz]"); @@ -195,7 +195,7 @@ static void ParmForm_Other(httpd_req_t *Req) // produce HTML form for aircraft { char Line[16]; int Len; httpd_resp_sendstr_chunk(Req, "

Other

"); - httpd_resp_sendstr_chunk(Req, "\n"); + httpd_resp_sendstr_chunk(Req, "\n"); Begin_Control_Row(Req, "Freq. plan"); const char *FreqPlanTable[6] = { "Auto", "Europe/Africa", "USA/Canada", "Australia/Chile", "New Zeeland", "Izrael" }; @@ -252,7 +252,7 @@ static void ParmForm_Stratux(httpd_req_t *Req) // Connection to Stratux WiFi par { char Line[16]; int Len; httpd_resp_sendstr_chunk(Req, "

Stratux

"); - httpd_resp_sendstr_chunk(Req, "\n"); + httpd_resp_sendstr_chunk(Req, "\n"); Begin_Control_Row(Req, "SSID"); httpd_resp_sendstr_chunk(Req, "Wi-Fi AP"); - httpd_resp_sendstr_chunk(Req, "\n"); + httpd_resp_sendstr_chunk(Req, "\n"); Begin_Control_Row(Req, "SSID"); httpd_resp_sendstr_chunk(Req, "\n"); } #endif + + +static void ParmForm_Restart(httpd_req_t *Req) +{ + httpd_resp_sendstr_chunk(Req, "\ +\n\ +\n\ +\n\ +
\n"); +} + // ============================================================================================================ static void Table_GPS(httpd_req_t *Req) @@ -656,6 +667,7 @@ static void Html_Start(httpd_req_t *Req, const char *Title, const uint8_t Active httpd_resp_sendstr_chunk(Req, Title); httpd_resp_sendstr_chunk(Req, "\n\ \n\ +\n\