Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

54 lines (50 sloc) 1.55 kB
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title><%= gettext('Loading') %></title>
<!--[if lt IE 9]>
<%- cachify_js('/js/lib/html5shim.min.js') %>
<![endif]-->
<%- cachify_css('/css/style.min.css') %>
</head>
<body class="auth">
<header id="header">
<h1><a class="home" target="_blank" href="/">Mozilla Persona Home</a></h1>
</header>
<div id="content" class="group">
<section id="error">
<div class="table">
<div class="vertical">
<div class="contents">
<p class="progress b"><%= gettext('Loading') %> <span></span></p>
<img src="/i/progress.gif" width="128" height="15" alt="Loading" />
</div>
</div>
</div>
</section>
</div>
<% if ('development' === dev_mode) { %>
<%- partial('debug_authentication_api') -%>
<% } else { %>
<script type="text/javascript" src="<%= browserid_server %>/authentication_api.js"></script>
<% } %>
<script type="text/javascript">
localStorage.height = window.outerHeight;
localStorage.width = window.outerWidth;
navigator.id.beginAuthentication(function(email) {
if (email) {
window.location.pathname = '/proxy/' + encodeURIComponent(email);
var parts = email.split('@');
if (parts.length > 1) {
var spans = document.getElementsByTagName('span');
if (spans.length > 0)
spans[0].appendChild(document.createTextNode(parts[1]));
}
} else {
window.location.pathname = '/error';
}
});
</script>
</body>
</html>
Jump to Line
Something went wrong with that request. Please try again.