Andrew Boyson / web

Dependents:   oldheating gps motorhome heating

Revision:
87:c51478679090
Parent:
83:0d956edd55b7
--- a/log/http-log-html.c	Mon Apr 08 10:13:01 2019 +0000
+++ b/log/http-log-html.c	Mon Apr 08 12:47:59 2019 +0000
@@ -10,9 +10,9 @@
     PageAddNav(LOG_PAGE);
     PageAddH1(PageSite, "Log");
     
-    HttpAddText("<h2>");
-    PageAddInputButton("Log", "Clear", "/log", "clearlog");
-    HttpAddText("</h2>\r\n");
+                 PageAddInputButton("Existing content",      "Clear",    "/log", "clearlog"    );
+    if (LogUart) PageAddInputButton("Output to uart is on",  "Turn off", "/log", "chg-log-uart");
+    else         PageAddInputButton("Output to uart is off", "Turn on",  "/log", "chg-log-uart");
     
     HttpAddText("<code>");
     HttpAddStream(LogEnumerateStart, LogEnumerate);