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
web-this/radiator/web-radiator-html.c
- Committer:
- andrewboyson
- Date:
- 2019-05-01
- Revision:
- 53:c1bf7d9db507
- Parent:
- web-derived/radiator/web-radiator-html.c@ 52:76254a967391
- Child:
- 96:18a3813bb4b5
File content as of revision 53:c1bf7d9db507:
#include "http.h" #include "web-nav-this.h" #include "web-add.h" void WebRadiatorHtml() { HttpOk("text/html; charset=UTF-8", "no-cache", NULL, NULL); WebAddHeader("Radiator", "settings.css", "radiator.js"); WebAddNav(RADIATOR_PAGE); WebAddH1("Radiator"); WebAddH2("Output"); WebAddAjaxLed ("Radiator pump", "ajax-radiator-toggle"); WebAddH2("Inputs"); WebAddAjaxLabelledSuffix("Hall temperature", "ajax-hall-html", "°C"); WebAddAjaxLed ("Programmer output", "ajax-program-toggle"); WebAddH2("Parameters"); WebAddAjaxInputToggle ("Mode Summer|Winter", "ajax-mode-toggle" , "htg-chg-mode" ); WebAddAjaxInput ("Winter (night)", 2, "ajax-night-set-point", "nighttemp"); WebAddAjaxInput ("Summer (frost)", 2, "ajax-frost-set-point", "frosttemp"); WebAddAjaxInputToggle ("Override", "ajax-override-toggle", "htg-chg-override"); WebAddEnd(); }