diff --git a/browserid/static/index.html b/browserid/static/index.html deleted file mode 100644 index ae7034079ceeb7529158e414acdd1a8bd9ce9759..0000000000000000000000000000000000000000 --- a/browserid/static/index.html +++ /dev/null @@ -1,45 +0,0 @@ -<!DOCTYPE html> -<html> -<head> - <meta http-equiv="Content-type" content="text/html; charset=utf-8"> - <title>BrowserID: A better way to sign in.</title> - <link rel="stylesheet" href="css/style.css" type="text/css"> -</head> -<body> -<div id="splash"> - <div class="header"> - <div class="manage"><a id="manageLink" href="manage.html">my account</a></div> - </div> - <div class="tophalf"> - <div class="title"><img src="i/browserid_logo.png"></div> - <div class="subtitle">A better way to sign in.</div> - </div> - <div class="bottomhalf"> - <div class="why"> - <img style="float: right;" src="i/people.png"> - <p>For <b>users</b>, BrowserID provides a <b>safer and easier</b> way to sign in. <a href="users.html">How it works.</a></p> - </div> - <div class="why"> - <img style="float: left;" src="i/developers.png"> - <p>For <b>developers</b>, BrowserID offers a world class sign-in experience with only a couple lines of code. <a href="developers.html">Get Started.</a></p> - </div> - <div class="why"> - <img style="float: right;" src="i/id.png"> - <p>For <b>identity providers</b>, BrowserID lets your give your users an identity they can <b>use everywhere</b>. <a href="primaries.html">Dig Deeper.</a> </p> - </div> - </div> - <div class="footer"> - <div> - <div class="right"> - <p><img src="i/browserid_logo_sm.png"> is an <b>open source experiment</b> into improving identity and authentication on the web, by - <a href="https://mozillalabs.com">mozilla labs</a>.</p> - </div> - <div class="left"> - <p> <a href="https://github.com/mozilla/browserid">Source Code</a> <a href="https://wiki.mozilla.org/Identity/Verified_Email_Protocol">Specification</a> <a href="https://groups.google.com/forum/?hl=en#!forum/mozilla.dev.identity">Mailing list</a> </p> - <p class="copyright">Copyright © 2011 Mozilla. All rights reserved. </p> - </div> - </div> - </div> -</div> -</body> -</html> diff --git a/browserid/static/prove.html b/browserid/static/prove.html deleted file mode 100644 index 2cbd2a94aa1bf709fd39171037706065b755163c..0000000000000000000000000000000000000000 --- a/browserid/static/prove.html +++ /dev/null @@ -1,90 +0,0 @@ -<!DOCTYPE html> -<html> -<head> - <meta http-equiv="Content-type" content="text/html; charset=utf-8"> - <title>BrowserID - My Account</title> - <link rel="stylesheet" href="css/style.css" type="text/css"> -</head> -<body> -<div id="splash"> - <div class="topquarter"> - <div> - <a href="/"><div class="title"><img src="i/browserid_logo_lil.png"></div></a> - <div class="subtitle">My Account</div> - </div> - </div> - <div class="bottomhalf"> - <div class="why"> - <p> - Email Verification - </p> - </div> - <div class="status"> - One moment while we attempt to confirm your email address... - </div> - </div> - <div class="footer"> - <div> - <div class="right"> - <p><img src="i/browserid_logo_sm.png"> is an <b>open source experiment</b> into improving identity and authentication on the web, by - <a href="https://mozillalabs.com">mozilla labs</a>.</p> - </div> - <div class="left"> - <p> <a href="https://github.com/mozilla/browserid">Source Code</a> <a href="https://wiki.mozilla.org/Identity/Verified_Email_Protocol">Specification</a> <a href="http://groups.google.com/group/mozilla-labs">Mailing list</a> </p> - <p class="copyright">Copyright © 2011 Mozilla. All rights reserved. </p> - </div> - </div> - </div> -</div> -</body> -<script src="js/jquery-1.6.2.min.js"></script> -<script> -function getParameterByName( name ) -{ - name = name.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]"); - var regexS = "[\\?&]"+name+"=([^&#]*)"; - var regex = new RegExp( regexS ); - var results = regex.exec( window.location.href ); - if( results == null ) - return ""; - else - return decodeURIComponent(results[1].replace(/\+/g, " ")); -} - -function success() { - $("div.status").text("Address confirmed!"); - setTimeout(function() { - $("body").fadeOut(1500, function() { - // ideally we'll just be able to close this window. shucks. works on the iphone. - try { window.close(); } catch(e) {} - - // if the close didn't work, then let's redirect the the management page where they'll - // get to see the ids that they've created. - document.location = '/manage.html'; - }); - }, 1000); -} - -function failure(why) { - $("div.status").text("Error encountered while attempting to confirm your address. please try again. (error message: " + why + ")"); -} - -$(document).ready(function() { - $.ajax({ - url: '/wsapi/prove_email_ownership?token=' + getParameterByName('token'), - success: function(status, textStatus, jqXHR) { - var obj = JSON.parse(status); - if (obj) { - success(); - } else { - failure("unknown"); - } - }, - error: function() { - failure("Error Communicating With Server!"); - } - }); -}); - -</script> -</html> diff --git a/browserid/views/layout.ejs b/browserid/views/layout.ejs index f05f31e9607332c67841a3f66601c59286737489..35133ec75d28e637d34a4fd55999205f59829a4e 100644 --- a/browserid/views/layout.ejs +++ b/browserid/views/layout.ejs @@ -110,7 +110,7 @@ function display_saved_ids() <a href="https://mozillalabs.com">Mozilla Labs</a>.</p> </div> <div class="left"> - <p> <a href="https://github.com/mozilla/browserid">Source Code</a> <a href="https://wiki.mozilla.org/Identity/Verified_Email_Protocol">Specification</a> <a href="http://groups.google.com/group/mozilla-labs">Mailing list</a> <a href="/privacy">Privacy</a> <a href="/tos">TOS</a> </p> + <p> <a href="https://github.com/mozilla/browserid">Code</a> <a href="http://lloyd.io/how-browserid-works">Documentation</a> <a href="http://groups.google.com/group/mozilla-labs">Mailing list</a> <a href="/privacy">Privacy</a> <a href="/tos">TOS</a> </p> <p class="copyright">Copyright © 2011 Mozilla. All rights reserved. </p> </div> </div>