diff --git a/browserid/app.js b/browserid/app.js index 8d337b833990ad7bf46e618c46371c0dd854ad0f..b2cb9572a8807eb7fa47c1062d96498274e125f8 100644 --- a/browserid/app.js +++ b/browserid/app.js @@ -128,6 +128,10 @@ function router(app) { res.render('privacy.ejs', {title: 'Privacy Policy', fullpage: false}); }); + app.get(/^\/verify(\.html)?$/, function(req, res) { + res.render('verify.ejs', {title: 'Complete Registration', fullpage: true}); + }); + // register all the WSAPI handlers wsapi.setup(app); diff --git a/browserid/views/verify.ejs b/browserid/views/verify.ejs new file mode 100644 index 0000000000000000000000000000000000000000..9f4b3a2ae739b780b5543b75f14835296b4cf3b5 --- /dev/null +++ b/browserid/views/verify.ejs @@ -0,0 +1,32 @@ + <div id="vAlign"> + <div id="signUpFormWrap"> + <!-- XXX this form submits to nowhere --> + <form id="signUpForm" class="cf"> + <p class="hint">Finish signing into <span class="website"><strong>http://www.nytimes.com</strong></span></p> + <h1 class="serif">Last step!</h1> + <ul class="inputs"> + <li> + <label class="serif" for="email">Email Address</label> + <input class="youraddress sans" id="email" placeholder="Your Email" type="email" disabled="disabled"> + </li> + <li> + <label class="serif" for="password">New Password</label> + <input class="sans" id="password" placeholder="Enter a Password" type="password" autofocus> + </li> + <li> + <label class="serif" for="vpassword">Verify Password</label> + <input class="sans" id="vpassword" placeholder="Repeat Password" type="password"> + </li> + </ul> + <div class="submit cf"> + <input type="submit" class="create" value="Finish"/> + </div> + </form> + + <div id="congrats"> + <p class="serif">Thank you signing up with <strong>BrowserID</strong>. You can now use your <strong>BrowserID</strong> account to <em>Sign In</em> or <em>Sign Up</em> to websites all across the web!</p> + </div> + + </div> + </div> +