Skip to content
Snippets Groups Projects
signin.ejs 2.92 KiB
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="signUpFormWrap">
        <!-- XXX this form submits to nowhere -->
        <form id="signUpForm" class="cf authform" novalidate>
                <li class="notification error badlogin">Bad Login. Check your email and password.</li>

                <li class="notification" id="unknown_secondary">
                  <strong id="unknown_email">Email</strong> is not registered.
                  Would you like to <a class="action" href="/signup">sign up</a> instead?
            <ul class="inputs">
                <li>
                    <label class="serif" for="email">Email Address</label>
                    <input class="sans" id="email" autofocus placeholder="Your Email" type="email" autocapitalize="off" autocorrect="off" tabindex="1" maxlength="254" />

                    <div id="email_format" class="tooltip" for="email">
                      This field must be an email address.
                    </div>

                    <div id="email_required" class="tooltip" for="email">
                      The email field is required.
                    </div>
              </ul>

              <ul class="inputs password_entry">
                <li class="password_section">
                    <a class="forgot right" href="/forgot" tabindex="4">forgot your password?</a>
                    <label class="serif" for="password">Password</label>
                    <input class="sans" id="password" placeholder="Your Password" type="password" tabindex="2" maxlength="80">

                    <div id="password_required" class="tooltip" for="password">
                      The password field is required.
                    </div>
            <div class="submit cf forminputs">
                <div class="remember cf">
                    <a class="action" href="/signup">New to BrowserID? Sign up today.</a>
                <button tabindex="5">Sign In</button>

            <ul class="notifications">
                <li class="notification" id="verify_primary">
                  <p>
                    To verify that you own <strong id="primary_email">address</strong>, you must
                    sign in with your provider.  A new window will be opened.
                  </p>

                  <p>
                    <button id="authWithPrimary">Verify</button>
                  </p>
                </li>
            </ul>
<noscript>
  We're sorry, but to sign in to BrowserID, you must have Javascript enabled.
</noscript>