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

Committer:
andrewboyson
Date:
Wed May 01 10:05:00 2019 +0000
Revision:
53:c1bf7d9db507
Parent:
web-derived/system/web-system-html.c@52:76254a967391
Child:
63:ae264156d655
Updated web library

Who changed what in which revision?

UserRevisionLine numberNew contents of line
andrewboyson 49:9491c966dc60 1 #include <stdio.h>
andrewboyson 49:9491c966dc60 2
andrewboyson 49:9491c966dc60 3 #include "http.h"
andrewboyson 53:c1bf7d9db507 4 #include "web-nav-this.h"
andrewboyson 51:c7c6ce0d57ad 5 #include "web-add.h"
andrewboyson 49:9491c966dc60 6
andrewboyson 49:9491c966dc60 7 void WebSystemHtml()
andrewboyson 49:9491c966dc60 8 {
andrewboyson 49:9491c966dc60 9 HttpOk("text/html; charset=UTF-8", "no-cache", NULL, NULL);
andrewboyson 51:c7c6ce0d57ad 10 WebAddHeader("System", "settings.css", "system.js");
andrewboyson 51:c7c6ce0d57ad 11 WebAddNav(SYSTEM_PAGE);
andrewboyson 51:c7c6ce0d57ad 12 WebAddH1("System");
andrewboyson 49:9491c966dc60 13
andrewboyson 51:c7c6ce0d57ad 14 WebAddH2("TFTP");
andrewboyson 51:c7c6ce0d57ad 15 WebAddAjaxInput ("Server url", 5, "ajax-server-name", "tftpserver" );
andrewboyson 51:c7c6ce0d57ad 16 WebAddAjaxInput ("File (strftime)", 11, "ajax-file-name", "tftpfilename" );
andrewboyson 51:c7c6ce0d57ad 17 WebAddAjaxInput ("Interval (secs) 0=no", 5, "ajax-read-interval", "tftpreadint" );
andrewboyson 51:c7c6ce0d57ad 18 WebAddAjaxInput ("Records per backup 0=no", 5, "ajax-write-size", "tftpwriteint" );
andrewboyson 51:c7c6ce0d57ad 19 WebAddAjaxLabelled("Count", "ajax-count" );
andrewboyson 51:c7c6ce0d57ad 20 WebAddAjaxLabelled("Started", "ajax-start-time" );
andrewboyson 49:9491c966dc60 21
andrewboyson 51:c7c6ce0d57ad 22 WebAddH2("FRAM");
andrewboyson 51:c7c6ce0d57ad 23 WebAddAjaxLabelled("Used", "ajax-fram-used" );
andrewboyson 49:9491c966dc60 24
andrewboyson 51:c7c6ce0d57ad 25 WebAddH2("Compiler");
andrewboyson 51:c7c6ce0d57ad 26 WebAddLabelledInt("Version Vvvbbbb", __ARMCC_VERSION);
andrewboyson 49:9491c966dc60 27
andrewboyson 51:c7c6ce0d57ad 28 WebAddEnd();
andrewboyson 49:9491c966dc60 29
andrewboyson 49:9491c966dc60 30 }