Dependencies: net 1-wire lpc1768 crypto clock web fram log
/media/uploads/andrewboyson/heating.sch
/media/uploads/andrewboyson/heating.brd
/media/uploads/andrewboyson/eagle.epf
Diff: web-derived/system/web-system-html.c
- Revision:
- 49:9491c966dc60
- Child:
- 51:c7c6ce0d57ad
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/web-derived/system/web-system-html.c Sat Apr 27 09:27:11 2019 +0000 @@ -0,0 +1,31 @@ +#include <stdio.h> + +#include "http.h" +#include "web-base.h" +#include "page.h" +#include "page-derived.h" + +void WebSystemHtml() +{ + HttpOk("text/html; charset=UTF-8", "no-cache", NULL, NULL); + PageAddHeader(PageSite, "System", "settings.css", "system.js"); + PageAddNav(SYSTEM_PAGE); + PageAddH1(PageSite, "System"); + + PageAddH2("TFTP"); + PageAddAjaxInput ("Server url", 5, "ajax-server-name", "tftpserver" ); + PageAddAjaxInput ("File (strftime)", 11, "ajax-file-name", "tftpfilename" ); + PageAddAjaxInput ("Interval (secs) 0=no", 5, "ajax-read-interval", "tftpreadint" ); + PageAddAjaxInput ("Records per backup 0=no", 5, "ajax-write-size", "tftpwriteint" ); + PageAddAjaxLabelled("Count", "ajax-count" ); + PageAddAjaxLabelled("Started", "ajax-start-time" ); + + PageAddH2("FRAM"); + PageAddAjaxLabelled("Used", "ajax-fram-used" ); + + PageAddH2("Compiler"); + PageAddLabelledInt("Version Vvvbbbb", __ARMCC_VERSION); + + PageAddEnd(); + +}