Newer
Older
<!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<div id="hAlign" class="display_always">
<div id="vAlign">
<!-- XXX this form submits to nowhere -->
Shane Tomlinson
committed
<form id="signUpForm" class="cf authform" novalidate>
<h1><%- gettext('Sign In') %></h1>
<ul class="inputs">
<li>
<label for="email"><%- gettext('Email Address') %></label>
<input id="email" autofocus placeholder="<%- gettext('Your Email') %>" type="email" autocapitalize="off" autocorrect="off" spellcheck="false" tabindex="1" maxlength="254" />
Shane Tomlinson
committed
<div id="email_format" class="tooltip" for="email">
<%- gettext('This field must be an email address.') %>
Shane Tomlinson
committed
</div>
<div id="email_required" class="tooltip" for="email">
<%- gettext('The email field is required.') %>
Shane Tomlinson
committed
</div>
</li>
Shane Tomlinson
committed
</ul>
<ul class="inputs password_entry">
<li class="password_section">
<a class="forgot right" href="/forgot" tabindex="4"><%- gettext('forgot your password?') %></a>
<label for="password"><%- gettext('Password') %></label>
<input id="password" placeholder="<%- gettext('Your Password') %>" type="password" tabindex="2" maxlength="80">
Shane Tomlinson
committed
<div id="password_required" class="tooltip" for="password">
<%- gettext('The password field is required.') %>
Shane Tomlinson
committed
</div>
Shane Tomlinson
committed
<div id="cannot_authenticate" class="tooltip" for="password">
<%- gettext('This email address and password do not match.') %>
Shane Tomlinson
committed
</li>
</ul>
Shane Tomlinson
committed
<div class="submit cf forminputs">
<button tabindex="5"><%- gettext('Sign In') %></button>
Shane Tomlinson
committed
<div class="remember cf">
<a class="action redirect" href="/signup"><%- gettext('New to Persona? Sign up today.') %></a>
Shane Tomlinson
committed
</div>
</div>
Shane Tomlinson
committed
<ul class="notifications">
<li class="notification" id="verify_primary">
<p>
<%- format(gettext('To verify that you own <strong %(emailId)>this address</strong>, you must sign in with your provider. A new window will be opened.'),
Shane Tomlinson
committed
{ emailId: 'id="primary_email"' }) %>
Shane Tomlinson
committed
</p>
Shane Tomlinson
committed
<p class="submit">
<button id="authWithPrimary"><%- gettext('Verify') %></button>
Shane Tomlinson
committed
</p>
</li>
</ul>
</form>
</div>
</div>
<%- gettext('We\'re sorry, Persona requires that Javascript is enabled.') %>