Login
4 branches 0 tags
Ben (Desktop/Arch) More responsive clone urls 5b39338 1 month ago 137 Commits
rubhub / templates / login.html
<!DOCTYPE html>
<html>
  <head>
    <title>Login</title>
  </head>
  <body>
    {% include "sidebar.html" %}
    <main>
      <section>
        <h1>Login</h1>
        {% match message %}
        {% when Some with (msg) %}
        <div class="message" role="alert">{{ msg }}</div>
        {% when None %}
        {% endmatch %}
        <div class="auth-grid">
          <div class="auth-card">
            <form method="post" action="/login" class="stack">
              <label for="login-username">Username</label>
              <input autofocus id="login-username" name="username" type="text" autocomplete="username" required>

              <label for="login-password">Password</label>
              <input id="login-password" name="password" type="password" autocomplete="current-password" required>

              <button type="submit">Sign in</button>
            </form>
            <br/>
            <p>New to RubHub? <a href="/registration">Register</a> instead</p>
          </div>
        </div>
      </section>
    </main>
  </body>
</html>