Skip to content
Snippets Groups Projects
signin.ejs 3.04 KiB
Newer Older
    <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="signUpIn" href="/signup">sign up</a> instead?
                </li>

            <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">
                    <label class="serif half" for="password">Password</label>
                    <div class="half right">
                        <!-- XXX: this needs to be fixed -->
Ben Adida's avatar
Ben Adida committed
                        <a class="forgot" href="/forgot" tabindex="4">forgot your password?</a>
                    <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="remember cf">
                        <input id="memorize" type="checkbox" tabindex="3">
                    </div>
                    <label for="memorize">remember me</label>
                <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>
        </form>
        <a class="signUpIn space" href="/signup">New to BrowserID? Sign up today.</a>
    </div>
</div>

<noscript>
  We're sorry, but to sign in to BrowserID, you must have Javascript enabled.
</noscript>