Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: net 1-wire lpc1768 crypto clock web fram log
web-home-html.c
00001 #include "http.h" 00002 #include "web-add.h" 00003 00004 void WebHomeHtml() 00005 { 00006 HttpOk("text/html; charset=UTF-8", "no-cache", NULL, NULL); 00007 WebAddHeader("Home", NULL, "radiator.js"); 00008 00009 HttpAddText("<a href='/program' class='hamburger'>\r\n"); 00010 HttpAddText("<div class='bar' ></div>\r\n"); 00011 HttpAddText("<div class='space'></div>\r\n"); 00012 HttpAddText("<div class='bar' ></div>\r\n"); 00013 HttpAddText("<div class='space'></div>\r\n"); 00014 HttpAddText("<div class='bar' ></div>\r\n"); 00015 HttpAddText("</a>\r\n"); 00016 HttpAddText("<br/>\r\n"); 00017 HttpAddText("<br/>\r\n"); 00018 00019 HttpAddText("<div id='ajax-date-local'></div>\r\n"); 00020 HttpAddText("<br/>\r\n"); 00021 WebAddAjaxLabelledSuffix("Hall temperature", "ajax-hall-html", "°C"); 00022 HttpAddText("<br/>\r\n"); 00023 WebAddAjaxInputToggle("Winter mode", "ajax-mode-toggle" , "htg-chg-mode" ); 00024 HttpAddText("<br/>\r\n"); 00025 WebAddAjaxInputToggle("Radiators" , "ajax-radiator-toggle", "htg-chg-override"); 00026 HttpAddText("<br/>\r\n"); 00027 00028 WebAddEnd(); 00029 } 00030
Generated on Tue Jul 12 2022 18:50:15 by
