A GPS disciplined clock
Dependencies: net lpc1768 crypto clock web log
web-derived/nmea/web-nmea-html.c
- Committer:
- andrewboyson
- Date:
- 2019-04-29
- Revision:
- 57:2d54e570de60
- Parent:
- 55:a1bd0572c8b6
- Child:
- 58:3f3e000151cc
File content as of revision 57:2d54e570de60:
#include <stdio.h> #include "http.h" #include "web-page-derived.h" #include "web-add.h" void WebNmeaHtml() { HttpOk("text/html; charset=UTF-8", "no-cache", NULL, NULL); WebAddHeader("NMEA", "settings.css", "nmea.js"); WebAddNav(NMEA_PAGE); WebAddH1("NMEA"); WebAddH2("Position"); WebAddAjaxLabelled("WGS", "ajax-position"); WebAddAjaxLabelled("Satellite count", "ajax-sat-count"); WebAddAjaxLabelled("Dilution of Precision", "ajax-dop"); WebAddH2("Height"); WebAddAjaxLabelledSuffix("MSL above WGS", "ajax-msl-above-wgs", "m"); WebAddAjaxLabelledSuffix("Sensor height above MSL", "ajax-hgt-above-msl", "m"); WebAddAjaxInputSuffix ("Sensor height above ground", 2, "ajax-sensor-hgt", "sensorheight", "m"); WebAddAjaxLabelledSuffix("Ground height above MSL", "ajax-gnd-above-msl", "m"); WebAddH2("Trace"); WebAddAjaxInputToggle("Trace GPS" , "ajax-trace-gps" , "gpstrace" ); WebAddAjaxInputToggle("Verbose GPS" , "ajax-trace-verbose", "gpsverbose" ); WebAddAjaxInputToggle("Trace message", "ajax-trace-msg" , "nmeamsgtrace" ); WebAddAjaxInputToggle("Trace command", "ajax-trace-cmd" , "nmeacmdtrace" ); WebAddH2("ZDA timing bins"); HttpAddText("<code id='ajax-buckets'></code>\r\n"); WebAddH2("Ajax"); HttpAddText("<code id='ajax-headers'></code>\r\n"); HttpAddText("<code id='ajax-response'></code>\r\n"); WebAddEnd(); }