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.
Dependents: oldheating gps motorhome heating
Diff: net/web-net-html.c
- Revision:
- 109:3e82f62c7e1f
- Parent:
- 103:91194cc19bbb
--- a/net/web-net-html.c Sun Apr 28 09:56:42 2019 +0000
+++ b/net/web-net-html.c Mon Apr 29 14:45:30 2019 +0000
@@ -1,23 +1,18 @@
-#include "http.h"
-#include "web-base.h"
-#include "page.h"
-#include "net.h"
-#include "mac.h"
-#include "ip4.h"
-#include "ar4.h"
-#include "nr4.h"
-#include "dhcp.h"
+#include "http.h"
+#include "web-page-base.h"
+#include "web-add.h"
+#include "mac.h"
void WebNetHtml()
{
HttpOk("text/html; charset=UTF-8", "no-cache", NULL, NULL);
- PageAddHeader(PageSite, "Net", "settings.css", NULL);
- PageAddNav(NET_PAGE);
- PageAddH1(PageSite, "Net");
+ WebAddHeader("Net", "settings.css", NULL);
+ WebAddNav(NET_PAGE);
+ WebAddH1("Net");
- PageAddH2("Ethernet");
- PageAddLabelledMac ("MAC", MacLocal);
+ WebAddH2("Ethernet");
+ WebAddLabelledMac ("MAC", MacLocal);
- PageAddEnd();
+ WebAddEnd();
}