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:
Mon Apr 29 14:46:58 2019 +0000
Revision:
51:c7c6ce0d57ad
Parent:
49:9491c966dc60
Child:
52:76254a967391
Updated libraries

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