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

Revision:
53:c1bf7d9db507
Parent:
52:76254a967391
Child:
63:ae264156d655
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/web-this/system/web-system-html.c	Wed May 01 10:05:00 2019 +0000
@@ -0,0 +1,30 @@
+#include <stdio.h>
+
+#include "http.h"
+#include "web-nav-this.h"
+#include "web-add.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();
+
+}