A GPS disciplined clock
Dependencies: net lpc1768 crypto clock web log
web-this/nmea/web-nmea-html.c
- Committer:
- andrewboyson
- Date:
- 2019-05-01
- Revision:
- 60:7cab896b0fd4
- Parent:
- 59:d2d25c2265f8
- Child:
- 81:a1de28caf11a
File content as of revision 60:7cab896b0fd4:
#include <stdio.h> #include "http.h" #include "web-nav-this.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"); WebAddEnd(); }