login.html 1.16 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="/accounts/login/" method="post">
    {% csrf_token %}
  <h2 class="form-signin-heading">Please sign in</h2>
  <label for="username" class="sr-only">Username</label>
  <input type="text" id="inputUsername" name="username" class="form-control" placeholder="Mason NetID" required autofocus>
  <label for="inputPassword" class="sr-only">Password</label>
  <input type="password" id="inputPassword" name="password" class="form-control" placeholder="Password" required>
Jason D Yeomans's avatar
Jason D Yeomans committed
21 22 23 24 25 26
  <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>
Jason D Yeomans's avatar
Jason D Yeomans committed
27
  <input type="hidden" name="next" value="/" />
Jason D Yeomans's avatar
Jason D Yeomans committed
28 29 30
</form>

{% endblock %}