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: login/web-login-html.c
- Revision:
- 109:3e82f62c7e1f
- Parent:
- 103:91194cc19bbb
--- a/login/web-login-html.c Sun Apr 28 09:56:42 2019 +0000
+++ b/login/web-login-html.c Mon Apr 29 14:45:30 2019 +0000
@@ -1,26 +1,26 @@
#include "http.h"
-#include "web-base.h"
+#include "web-add.h"
#include "web-login.h"
-#include "page.h"
-#include "led.h"
+#include "web-base.h"
+#include "web-page-base.h"
void WebLoginHtml()
{
HttpOk("text/html; charset=UTF-8", "no-cache", NULL, NULL);
- PageAddHeader(PageSite, "Login", NULL, NULL);
+ WebAddHeader("Login", NULL, NULL);
HttpAddText(
"<style>"
#include "web-login-css.inc"
"</style>"
);
- PageAddH1(PageSite, "Login");
+ WebAddH1("Login");
if (WebLoginPasswordIsSet())
{
- PageAddH2("Welcome - please enter the password");
+ WebAddH2("Welcome - please enter the password");
}
else
{
- PageAddH2("Please enter a new password following user reset");
+ WebAddH2("Please enter a new password following user reset");
HttpAddText("<p>Be careful to make it the one people expect!</p>");
}
@@ -31,7 +31,7 @@
HttpAddText(" <input type='submit' value='' >\r\n");
HttpAddF ("</form>\r\n");
- PageAddEnd();
+ WebAddEnd();
}
/*