equal
deleted
inserted
replaced
1 {% extends "base.html" %} |
|
2 {% load i18n %} |
|
3 |
|
4 {% block extrastyle %}{% load adminmedia %}{{ block.super }}<link rel="stylesheet" type="text/css" href="{% admin_media_prefix %}css/login.css" />{% endblock %} |
|
5 |
|
6 {% block bodyclass %}login{% endblock %} |
|
7 |
|
8 {% block content_title %}{% endblock %} |
|
9 |
|
10 {% block breadcrumbs %}{% endblock %} |
|
11 |
|
12 {% block content %} |
|
13 {% if error_message %} |
|
14 <p class="errornote">{{ error_message }}</p> |
|
15 {% endif %} |
|
16 <div id="content-main"> |
|
17 <form action="{{ app_path }}" method="post" id="login-form"> |
|
18 <div class="form-row"> |
|
19 <label for="id_username">{% trans 'Username:' %}</label> <input type="text" name="username" id="id_username" /> |
|
20 </div> |
|
21 <div class="form-row"> |
|
22 <label for="id_password">{% trans 'Password:' %}</label> <input type="password" name="password" id="id_password" /> |
|
23 <input type="hidden" name="this_is_the_login_form" value="1" /> |
|
24 </div> |
|
25 <div class="submit-row"> |
|
26 <label> </label><input type="submit" value="{% trans 'Log in' %}" /> |
|
27 </div> |
|
28 </form> |
|
29 |
|
30 <script type="text/javascript"> |
|
31 document.getElementById('id_username').focus() |
|
32 </script> |
|
33 </div> |
|
34 {% endblock %} |
|