diff options
author | luxagraf <sng@luxagraf.net> | 2010-10-23 19:46:20 -0400 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2010-10-23 19:46:20 -0400 |
commit | c59a2a69fb38b92b6c45bcf7431d2b1a3c5dce3c (patch) | |
tree | 2fc44ca867839d5e591e21467b6e4526f7a9f080 /lib/grappelli/templates/admin/login.html | |
parent | ed77da873e675f02f12cbab9be27f342f825444b (diff) |
added grappelli, filebrowser, chunks and tagging to lcal repo
Diffstat (limited to 'lib/grappelli/templates/admin/login.html')
-rw-r--r-- | lib/grappelli/templates/admin/login.html | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/lib/grappelli/templates/admin/login.html b/lib/grappelli/templates/admin/login.html new file mode 100644 index 0000000..6f12b71 --- /dev/null +++ b/lib/grappelli/templates/admin/login.html @@ -0,0 +1,47 @@ +{% extends "admin/base_site.html" %} + +<!-- LOADING --> +{% load i18n %} {# grp_csrf #} + +<!-- BODYCLASS --> +{% block bodyclass %}login{% endblock %} +{% block content-class %}content-flexible{% endblock %} +{% block content_title %}{% endblock %} + +<!-- EXTRAHEAD--> +{% block extrahead %} + <script type="text/javascript"> + (function($) { + $(window).load(function(){ $('#id_username').focus(); }); + })(django.jQuery); + </script> +{% endblock %} + +<!-- BREADCRUMBS --> +{% block breadcrumbs %}{% endblock %} + +<!-- CONTENT --> +{% block content %} + <div class="container-flexible login"> + <div class="column span-10 centered"> + {% if error_message %}<p class="errornote login-errors">{{ error_message }}</p>{% endif %} + <form action="{{ app_path }}" method="post" id="login-form">{% csrf_token %} + <fieldset class="module"> + <div class="row"> + <div class="column span-4"><label for="id_username" class="required">{% trans 'Username:' %}</label></div> + <div class="column span-6 last"><input type="text" name="username" id="id_username" /></div> + </div> + <div class="row"> + <div class="column span-4"><label for="id_password" class="required">{% trans 'Password:' %}</label></div> + <div class="column span-6 last"><input type="password" name="password" id="id_password" /><input type="hidden" name="this_is_the_login_form" value="1" /></div> + </div> + </fieldset> + <div class="module submit-row"> + <ul class="submit-row"> + <li class="submit-button-container"><input type="submit" class="default" value="{% trans 'Log in' %}" /></li> + </ul> + </div> + </form> + </div> + </div> +{% endblock %} |