--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/web/ldt/templates/admin/page_login.html Tue Jun 08 01:16:35 2010 +0200
@@ -0,0 +1,41 @@
+{% extends "admin/page_base_site.html" %}
+{% load i18n %}
+
+{% block extrastyle %}{% load adminmedia %}{{ block.super }}<link rel="stylesheet" type="text/css" href="{% admin_media_prefix %}css/login.css" />{% endblock %}
+
+{% block bodyclass %}{% endblock %}
+
+{% block content_title %}{% trans "Connexion" %}{% endblock %}
+
+{% block breadcrumbs %}{% endblock %}
+
+{% block content %}
+{% if error_message %}
+<p class="errornote">{{ error_message }}</p>
+{% endif %}
+<div id="content-main">
+<form action="{{ app_path }}" method="post" id="login-form">
+ <table>
+ <tr>
+ <th><label for="id_username">{% trans 'Username:' %}</label></th>
+ <td><input type="text" name="username" id="id_username" /></td>
+ </tr>
+ <tr>
+ <th><label for="id_password">{% trans 'Password:' %}</label></th>
+ <td><input type="password" name="password" id="id_password" /></td>
+ <td><input type="hidden" name="this_is_the_login_form" value="1" /></td>
+ </tr>
+ <tr>
+ <td><a href="{% url registration.views.register %}" >{% trans "Create an account" %}</a>
+ <a href="{% url django.contrib.auth.views.password_reset %}" >{% trans "Forget password?" %}</a>
+ </td>
+ <td><label> </label><input type="submit" value="{% trans 'Log in' %}" /></td>
+ </tr>
+ </table>
+</form>
+
+<script type="text/javascript">
+document.getElementById('id_username').focus()
+</script>
+</div>
+{% endblock %}