Andrew Boyson / web

Dependents:   oldheating gps motorhome heating

Committer:
andrewboyson
Date:
Mon Apr 08 10:13:01 2019 +0000
Revision:
86:f3c9beec4ee7
Parent:
77:4689596a2f3f
Split the NET page into general net, net ipv4 and net ipv6. Also made the arp and dns update through ajax.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
andrewboyson 14:c3c43c8faf0e 1 #include "http.h"
andrewboyson 29:4d649264d6b6 2 #include "http-server.h"
andrewboyson 14:c3c43c8faf0e 3 #include "page.h"
andrewboyson 14:c3c43c8faf0e 4 #include "net.h"
andrewboyson 14:c3c43c8faf0e 5 #include "mac.h"
andrewboyson 14:c3c43c8faf0e 6 #include "ip4.h"
andrewboyson 14:c3c43c8faf0e 7 #include "ar4.h"
andrewboyson 14:c3c43c8faf0e 8 #include "nr4.h"
andrewboyson 14:c3c43c8faf0e 9 #include "dhcp.h"
andrewboyson 14:c3c43c8faf0e 10
andrewboyson 14:c3c43c8faf0e 11 void HttpNetHtml()
andrewboyson 14:c3c43c8faf0e 12 {
andrewboyson 14:c3c43c8faf0e 13 HttpOk("text/html; charset=UTF-8", "no-cache", NULL, NULL);
andrewboyson 30:6a08abbe6301 14 PageAddHeader(PageSite, "Net", "settings.css", NULL);
andrewboyson 30:6a08abbe6301 15 PageAddNav(NET_PAGE);
andrewboyson 30:6a08abbe6301 16 PageAddH1(PageSite, "Net");
andrewboyson 14:c3c43c8faf0e 17
andrewboyson 14:c3c43c8faf0e 18 PageAddH2("Ethernet");
andrewboyson 77:4689596a2f3f 19 PageAddLabelledMac ("MAC", MacLocal);
andrewboyson 14:c3c43c8faf0e 20
andrewboyson 14:c3c43c8faf0e 21 PageAddEnd();
andrewboyson 14:c3c43c8faf0e 22
andrewboyson 14:c3c43c8faf0e 23 }