aboutsummaryrefslogtreecommitdiff
path: root/glifestream/gauth/templates/login.html
blob: 87def5d0ec6a5eb08f6c951828cae3bc00a044a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{% extends "base.html" %}
{% load i18n %}

{% block main %}
<section id="login">

<div id="loginbox">
{% if form.errors %}<p class="error">{% trans "Invalid username or password" %}</p>{% endif %}
<form name="loginform" method="post" action="{% url 'login' %}">
  <p>
    <label>{% trans "Username" %}<br />
      <input type="text" name="username" id="username" size="20" />
    </label>
  </p>
  <p>
    <label>{% trans "Password" %}<br />
      <input type="password" name="password" id="password" size="20" />
    </label>
  </p>
  <p class="rememberme">
    <label>
      <input type="checkbox" name="remember_me" value="1" /> {% trans "Remember Me" %}
    </label>
  </p>
  <p class="submit">
    <input type="submit" value="{% trans "Log In" %}" />
    <input type="hidden" name="next" value="{{ next }}" />
  </p>
</form>
</div>

</section><!-- /login -->

<script type="text/javascript">
document.getElementById('username').focus ();
</script>
{% endblock main %}

Return to:

Send suggestions and report system problems to the System administrator.