login.html 1.05 KB
Newer Older
1
{% extends 'layouts/base.html' %} {% block title %} GMU RoomList • Login {% endblock %} {% block content %}
Jason D Yeomans's avatar
Jason D Yeomans committed
2 3 4 5 6 7 8 9 10 11 12 13

<link href="/static/css/signin.css" rel="stylesheet" media="screen">

<div class="page-header" id="banner">
  <div class="row">
    <div class="col-lg-12 text-center">
      <h1><strong>GMU</strong>ROOMLIST</h1>
      <p class="lead">{{ building.name }}</p>
    </div>
  </div>
</div>

14 15 16 17 18 19 20
<form class="form-signin" role="form" action="/login/" method="post">
  {% csrf_token %}
  <h2 class="form-signin-heading">Please sign in</h2>{{ form.errors }} {{ form.non_field_errors }} {{ form.username.errors }}
  <label for="{{ form.username.id_for_label }}" class="sr-only">NetID</label>
  {{ form.username }} {{ form.password.errors }}
  <label for="{{ form.password.id_for_label }}" class="sr-only">Password</label>
  {{ form.password }}
Jason D Yeomans's avatar
Jason D Yeomans committed
21 22 23 24 25 26 27 28 29
  <div class="checkbox">
    <label>
      <input type="checkbox" value="remember-me"> Remember me
    </label>
  </div>
  <button class="btn btn-lg btn-primary btn-block" type="submit">Sign in</button>
</form>

{% endblock %}