Monitor motorhome leisure battery and provide simple control of habitation
Dependencies: net lpc1768 crypto clock web fram log
web-this/system/web-system-html.c
- Committer:
- andrewboyson
- Date:
- 2022-06-10
- Revision:
- 10:a97a7cb7aa82
- Parent:
- 9:d957af50fdc2
File content as of revision 10:a97a7cb7aa82:
#include <stdio.h> #include <string.h> #include "http.h" #include "web-nav-this.h" #include "web-add.h" #include "log.h" void WebSystemHtml() { HttpOk("text/html; charset=UTF-8", "no-cache", NULL, NULL); WebAddHeader("System", "settings.css", "system.js"); WebAddNav(SYSTEM_PAGE); WebAddH1("System"); WebAddH2("TFTP"); WebAddAjaxInput ("Server url", 5, "ajax-server-name", "tftpserver" ); WebAddAjaxInput ("File (strftime)", 11, "ajax-file-name", "tftpfilename" ); WebAddAjaxInput ("Interval (secs) 0=no", 5, "ajax-read-interval", "tftpreadint" ); WebAddAjaxInput ("Records per backup 0=no", 5, "ajax-write-size", "tftpwriteint" ); WebAddAjaxLabelled("Count", "ajax-count" ); WebAddAjaxLabelled("Started", "ajax-start-time" ); WebAddH2("FRAM"); WebAddAjaxLabelled("Used", "ajax-fram-used" ); WebAddH2("Compiler"); WebAddLabelledInt("Version Vvvbbbb", __ARMCC_VERSION); WebAddEnd(); }