author | tc |
Fri, 30 Sep 2011 16:06:04 +0200 | |
changeset 1 | 40d6b5e3dcd7 |
permissions | -rwxr-xr-x |
1
40d6b5e3dcd7
First Regards Signés Commit. Caution : ldt is not installed in the virtualenv, we have to copy the ldt folder to the site-packages. Otherwise, it works perfectly.
tc
parents:
diff
changeset
|
1 |
{% extends "registration/base.html" %} |
40d6b5e3dcd7
First Regards Signés Commit. Caution : ldt is not installed in the virtualenv, we have to copy the ldt folder to the site-packages. Otherwise, it works perfectly.
tc
parents:
diff
changeset
|
2 |
{% load i18n %} |
40d6b5e3dcd7
First Regards Signés Commit. Caution : ldt is not installed in the virtualenv, we have to copy the ldt folder to the site-packages. Otherwise, it works perfectly.
tc
parents:
diff
changeset
|
3 |
{% block js_declaration %}{{ block.super }} |
40d6b5e3dcd7
First Regards Signés Commit. Caution : ldt is not installed in the virtualenv, we have to copy the ldt folder to the site-packages. Otherwise, it works perfectly.
tc
parents:
diff
changeset
|
4 |
<script type="text/javascript"> |
40d6b5e3dcd7
First Regards Signés Commit. Caution : ldt is not installed in the virtualenv, we have to copy the ldt folder to the site-packages. Otherwise, it works perfectly.
tc
parents:
diff
changeset
|
5 |
$(document).ready(function() { |
40d6b5e3dcd7
First Regards Signés Commit. Caution : ldt is not installed in the virtualenv, we have to copy the ldt folder to the site-packages. Otherwise, it works perfectly.
tc
parents:
diff
changeset
|
6 |
$("#login-form").validate(); |
40d6b5e3dcd7
First Regards Signés Commit. Caution : ldt is not installed in the virtualenv, we have to copy the ldt folder to the site-packages. Otherwise, it works perfectly.
tc
parents:
diff
changeset
|
7 |
}); |
40d6b5e3dcd7
First Regards Signés Commit. Caution : ldt is not installed in the virtualenv, we have to copy the ldt folder to the site-packages. Otherwise, it works perfectly.
tc
parents:
diff
changeset
|
8 |
</script> |
40d6b5e3dcd7
First Regards Signés Commit. Caution : ldt is not installed in the virtualenv, we have to copy the ldt folder to the site-packages. Otherwise, it works perfectly.
tc
parents:
diff
changeset
|
9 |
{% endblock %} |
40d6b5e3dcd7
First Regards Signés Commit. Caution : ldt is not installed in the virtualenv, we have to copy the ldt folder to the site-packages. Otherwise, it works perfectly.
tc
parents:
diff
changeset
|
10 |
|
40d6b5e3dcd7
First Regards Signés Commit. Caution : ldt is not installed in the virtualenv, we have to copy the ldt folder to the site-packages. Otherwise, it works perfectly.
tc
parents:
diff
changeset
|
11 |
{% block css_import %} |
40d6b5e3dcd7
First Regards Signés Commit. Caution : ldt is not installed in the virtualenv, we have to copy the ldt folder to the site-packages. Otherwise, it works perfectly.
tc
parents:
diff
changeset
|
12 |
{{ block.super }} |
40d6b5e3dcd7
First Regards Signés Commit. Caution : ldt is not installed in the virtualenv, we have to copy the ldt folder to the site-packages. Otherwise, it works perfectly.
tc
parents:
diff
changeset
|
13 |
<link rel="stylesheet" href="{{LDT_MEDIA_PREFIX}}css/ldt.css" /> |
40d6b5e3dcd7
First Regards Signés Commit. Caution : ldt is not installed in the virtualenv, we have to copy the ldt folder to the site-packages. Otherwise, it works perfectly.
tc
parents:
diff
changeset
|
14 |
<link rel="stylesheet" href="{{LDT_MEDIA_PREFIX}}css/ldtform.css" /> |
40d6b5e3dcd7
First Regards Signés Commit. Caution : ldt is not installed in the virtualenv, we have to copy the ldt folder to the site-packages. Otherwise, it works perfectly.
tc
parents:
diff
changeset
|
15 |
{% endblock %} |
40d6b5e3dcd7
First Regards Signés Commit. Caution : ldt is not installed in the virtualenv, we have to copy the ldt folder to the site-packages. Otherwise, it works perfectly.
tc
parents:
diff
changeset
|
16 |
|
40d6b5e3dcd7
First Regards Signés Commit. Caution : ldt is not installed in the virtualenv, we have to copy the ldt folder to the site-packages. Otherwise, it works perfectly.
tc
parents:
diff
changeset
|
17 |
|
40d6b5e3dcd7
First Regards Signés Commit. Caution : ldt is not installed in the virtualenv, we have to copy the ldt folder to the site-packages. Otherwise, it works perfectly.
tc
parents:
diff
changeset
|
18 |
{% block login %} |
40d6b5e3dcd7
First Regards Signés Commit. Caution : ldt is not installed in the virtualenv, we have to copy the ldt folder to the site-packages. Otherwise, it works perfectly.
tc
parents:
diff
changeset
|
19 |
{% endblock %} |
40d6b5e3dcd7
First Regards Signés Commit. Caution : ldt is not installed in the virtualenv, we have to copy the ldt folder to the site-packages. Otherwise, it works perfectly.
tc
parents:
diff
changeset
|
20 |
|
40d6b5e3dcd7
First Regards Signés Commit. Caution : ldt is not installed in the virtualenv, we have to copy the ldt folder to the site-packages. Otherwise, it works perfectly.
tc
parents:
diff
changeset
|
21 |
{% block content_title %}{% trans 'Log in' %}{% endblock %} |
40d6b5e3dcd7
First Regards Signés Commit. Caution : ldt is not installed in the virtualenv, we have to copy the ldt folder to the site-packages. Otherwise, it works perfectly.
tc
parents:
diff
changeset
|
22 |
{% block iricontent %} |
40d6b5e3dcd7
First Regards Signés Commit. Caution : ldt is not installed in the virtualenv, we have to copy the ldt folder to the site-packages. Otherwise, it works perfectly.
tc
parents:
diff
changeset
|
23 |
{% if form.errors %} |
40d6b5e3dcd7
First Regards Signés Commit. Caution : ldt is not installed in the virtualenv, we have to copy the ldt folder to the site-packages. Otherwise, it works perfectly.
tc
parents:
diff
changeset
|
24 |
<p class="error">{% trans "Sorry, that's not a valid username or password." %}</p> |
40d6b5e3dcd7
First Regards Signés Commit. Caution : ldt is not installed in the virtualenv, we have to copy the ldt folder to the site-packages. Otherwise, it works perfectly.
tc
parents:
diff
changeset
|
25 |
{% endif %} |
40d6b5e3dcd7
First Regards Signés Commit. Caution : ldt is not installed in the virtualenv, we have to copy the ldt folder to the site-packages. Otherwise, it works perfectly.
tc
parents:
diff
changeset
|
26 |
<div class="span-24 last"> |
40d6b5e3dcd7
First Regards Signés Commit. Caution : ldt is not installed in the virtualenv, we have to copy the ldt folder to the site-packages. Otherwise, it works perfectly.
tc
parents:
diff
changeset
|
27 |
<form action="" method='post' id="login-form"> |
40d6b5e3dcd7
First Regards Signés Commit. Caution : ldt is not installed in the virtualenv, we have to copy the ldt folder to the site-packages. Otherwise, it works perfectly.
tc
parents:
diff
changeset
|
28 |
<div id="loginform_div" class="span-12"> |
40d6b5e3dcd7
First Regards Signés Commit. Caution : ldt is not installed in the virtualenv, we have to copy the ldt folder to the site-packages. Otherwise, it works perfectly.
tc
parents:
diff
changeset
|
29 |
{% csrf_token %} |
40d6b5e3dcd7
First Regards Signés Commit. Caution : ldt is not installed in the virtualenv, we have to copy the ldt folder to the site-packages. Otherwise, it works perfectly.
tc
parents:
diff
changeset
|
30 |
<input type="hidden" name="next" value="{{ next }}" /> |
40d6b5e3dcd7
First Regards Signés Commit. Caution : ldt is not installed in the virtualenv, we have to copy the ldt folder to the site-packages. Otherwise, it works perfectly.
tc
parents:
diff
changeset
|
31 |
<ul id="login_fields_list"> |
40d6b5e3dcd7
First Regards Signés Commit. Caution : ldt is not installed in the virtualenv, we have to copy the ldt folder to the site-packages. Otherwise, it works perfectly.
tc
parents:
diff
changeset
|
32 |
{{form.as_ul}} |
40d6b5e3dcd7
First Regards Signés Commit. Caution : ldt is not installed in the virtualenv, we have to copy the ldt folder to the site-packages. Otherwise, it works perfectly.
tc
parents:
diff
changeset
|
33 |
</ul> |
40d6b5e3dcd7
First Regards Signés Commit. Caution : ldt is not installed in the virtualenv, we have to copy the ldt folder to the site-packages. Otherwise, it works perfectly.
tc
parents:
diff
changeset
|
34 |
<ul> |
40d6b5e3dcd7
First Regards Signés Commit. Caution : ldt is not installed in the virtualenv, we have to copy the ldt folder to the site-packages. Otherwise, it works perfectly.
tc
parents:
diff
changeset
|
35 |
<li><a href="{% url django.contrib.auth.views.password_reset %}" >{% trans "Forget password?" %}</a></li> |
40d6b5e3dcd7
First Regards Signés Commit. Caution : ldt is not installed in the virtualenv, we have to copy the ldt folder to the site-packages. Otherwise, it works perfectly.
tc
parents:
diff
changeset
|
36 |
</ul> |
40d6b5e3dcd7
First Regards Signés Commit. Caution : ldt is not installed in the virtualenv, we have to copy the ldt folder to the site-packages. Otherwise, it works perfectly.
tc
parents:
diff
changeset
|
37 |
<div id="submitcontent-buttons-login" class="span-24 last"> |
40d6b5e3dcd7
First Regards Signés Commit. Caution : ldt is not installed in the virtualenv, we have to copy the ldt folder to the site-packages. Otherwise, it works perfectly.
tc
parents:
diff
changeset
|
38 |
<button class="button"type="submit" value="login">{% trans "login" %}</button> |
40d6b5e3dcd7
First Regards Signés Commit. Caution : ldt is not installed in the virtualenv, we have to copy the ldt folder to the site-packages. Otherwise, it works perfectly.
tc
parents:
diff
changeset
|
39 |
</div> |
40d6b5e3dcd7
First Regards Signés Commit. Caution : ldt is not installed in the virtualenv, we have to copy the ldt folder to the site-packages. Otherwise, it works perfectly.
tc
parents:
diff
changeset
|
40 |
</div> |
40d6b5e3dcd7
First Regards Signés Commit. Caution : ldt is not installed in the virtualenv, we have to copy the ldt folder to the site-packages. Otherwise, it works perfectly.
tc
parents:
diff
changeset
|
41 |
</form> |
40d6b5e3dcd7
First Regards Signés Commit. Caution : ldt is not installed in the virtualenv, we have to copy the ldt folder to the site-packages. Otherwise, it works perfectly.
tc
parents:
diff
changeset
|
42 |
<div id="login_links" class="span-12 last"> |
40d6b5e3dcd7
First Regards Signés Commit. Caution : ldt is not installed in the virtualenv, we have to copy the ldt folder to the site-packages. Otherwise, it works perfectly.
tc
parents:
diff
changeset
|
43 |
<div id="login_links_list" class="span-12 last"> |
40d6b5e3dcd7
First Regards Signés Commit. Caution : ldt is not installed in the virtualenv, we have to copy the ldt folder to the site-packages. Otherwise, it works perfectly.
tc
parents:
diff
changeset
|
44 |
{% if social_list %} |
40d6b5e3dcd7
First Regards Signés Commit. Caution : ldt is not installed in the virtualenv, we have to copy the ldt folder to the site-packages. Otherwise, it works perfectly.
tc
parents:
diff
changeset
|
45 |
<p>{% trans "Or login with your external account" %} :</p> |
40d6b5e3dcd7
First Regards Signés Commit. Caution : ldt is not installed in the virtualenv, we have to copy the ldt folder to the site-packages. Otherwise, it works perfectly.
tc
parents:
diff
changeset
|
46 |
<ul> |
40d6b5e3dcd7
First Regards Signés Commit. Caution : ldt is not installed in the virtualenv, we have to copy the ldt folder to the site-packages. Otherwise, it works perfectly.
tc
parents:
diff
changeset
|
47 |
{% for backend_name in social_list %} |
40d6b5e3dcd7
First Regards Signés Commit. Caution : ldt is not installed in the virtualenv, we have to copy the ldt folder to the site-packages. Otherwise, it works perfectly.
tc
parents:
diff
changeset
|
48 |
<li><a href="{{ backend_name }}"><img src="{{LDT_MEDIA_PREFIX}}img/logo_{{backend_name}}.png" /> {{ backend_name }}</a></li> |
40d6b5e3dcd7
First Regards Signés Commit. Caution : ldt is not installed in the virtualenv, we have to copy the ldt folder to the site-packages. Otherwise, it works perfectly.
tc
parents:
diff
changeset
|
49 |
{% endfor %} |
40d6b5e3dcd7
First Regards Signés Commit. Caution : ldt is not installed in the virtualenv, we have to copy the ldt folder to the site-packages. Otherwise, it works perfectly.
tc
parents:
diff
changeset
|
50 |
{% comment %}{{social_list|safe}}{% endcomment %} |
40d6b5e3dcd7
First Regards Signés Commit. Caution : ldt is not installed in the virtualenv, we have to copy the ldt folder to the site-packages. Otherwise, it works perfectly.
tc
parents:
diff
changeset
|
51 |
</ul> |
40d6b5e3dcd7
First Regards Signés Commit. Caution : ldt is not installed in the virtualenv, we have to copy the ldt folder to the site-packages. Otherwise, it works perfectly.
tc
parents:
diff
changeset
|
52 |
{% endif %} |
40d6b5e3dcd7
First Regards Signés Commit. Caution : ldt is not installed in the virtualenv, we have to copy the ldt folder to the site-packages. Otherwise, it works perfectly.
tc
parents:
diff
changeset
|
53 |
</div> |
40d6b5e3dcd7
First Regards Signés Commit. Caution : ldt is not installed in the virtualenv, we have to copy the ldt folder to the site-packages. Otherwise, it works perfectly.
tc
parents:
diff
changeset
|
54 |
</div> |
40d6b5e3dcd7
First Regards Signés Commit. Caution : ldt is not installed in the virtualenv, we have to copy the ldt folder to the site-packages. Otherwise, it works perfectly.
tc
parents:
diff
changeset
|
55 |
</div> |
40d6b5e3dcd7
First Regards Signés Commit. Caution : ldt is not installed in the virtualenv, we have to copy the ldt folder to the site-packages. Otherwise, it works perfectly.
tc
parents:
diff
changeset
|
56 |
|
40d6b5e3dcd7
First Regards Signés Commit. Caution : ldt is not installed in the virtualenv, we have to copy the ldt folder to the site-packages. Otherwise, it works perfectly.
tc
parents:
diff
changeset
|
57 |
{% endblock %} |
40d6b5e3dcd7
First Regards Signés Commit. Caution : ldt is not installed in the virtualenv, we have to copy the ldt folder to the site-packages. Otherwise, it works perfectly.
tc
parents:
diff
changeset
|
58 |
|
40d6b5e3dcd7
First Regards Signés Commit. Caution : ldt is not installed in the virtualenv, we have to copy the ldt folder to the site-packages. Otherwise, it works perfectly.
tc
parents:
diff
changeset
|
59 |
|
40d6b5e3dcd7
First Regards Signés Commit. Caution : ldt is not installed in the virtualenv, we have to copy the ldt folder to the site-packages. Otherwise, it works perfectly.
tc
parents:
diff
changeset
|
60 |