Revision 0f4a8a68 snf-astakos-app/astakos/im/templates/im/login_base.html
b/snf-astakos-app/astakos/im/templates/im/login_base.html | ||
---|---|---|
9 | 9 |
{% endblock %} |
10 | 10 |
|
11 | 11 |
{% block signup_class %}hidden{% endblock %} |
12 |
{% block page.title %} |
|
13 |
Login |
|
14 |
{% endblock %} |
|
12 |
{% block page.title %}{% endblock %} |
|
15 | 13 |
|
16 |
{% block body %} |
|
17 |
<div class="section"> |
|
18 |
<img class="pic" src="{{ IM_STATIC_URL }}images/pictures/login_pic.png" /> |
|
19 |
</div> |
|
20 |
{% comment %}{% include "im/services_description.html" %}{% endcomment %} |
|
21 |
{% endblock body %} |
|
14 |
{% block body.left %} |
|
15 |
<img class="pic" src="{{ IM_STATIC_URL }}images/porta.png" /> |
|
16 |
{% comment %}{% include "im/services_description.html" %}{% endcomment %} |
|
17 |
{% endblock body.left %} |
|
22 | 18 |
|
23 |
{% block body.right %} |
|
24 |
<div class="section"> |
|
25 |
{% if "local" in im_modules %} |
|
26 |
<form action="{% url astakos.im.target.local.login %}" method="post" |
|
27 |
class="login innerlabels">{% csrf_token %} |
|
28 |
<h2 class="formheader"><span>LOGIN</span></h2> |
|
29 |
{% with login_form as form %} |
|
30 |
{% include "im/form_render.html" %} |
|
31 |
{% endwith %} |
|
32 |
<input type="hidden" name="next" value="{{ next }}"> |
|
33 |
<div class="form-row submit"> |
|
34 |
<input type="submit" class="submit altcol" value="SUBMIT" /> |
|
35 |
<a class="extra-link" href="{% url django.contrib.auth.views.password_reset %}">Forgot your password?</a> |
|
36 |
</div> |
|
37 |
</form> |
|
38 |
{% endif %} |
|
19 |
{% block body.right %} |
|
20 |
{% if "local" in im_modules %} |
|
21 |
<form action="{% url astakos.im.target.local.login %}" method="post"class="login innerlabels">{% csrf_token %} |
|
22 |
<h2>LOGIN</h2> |
|
23 |
{% with login_form as form %} |
|
24 |
{% include "im/form_render.html" %} |
|
25 |
{% endwith %} |
|
26 |
<input type="hidden" name="next" value="{{ next }}"> |
|
27 |
<div class="form-row submit"> |
|
28 |
<input type="submit" class="submit altcol" value="SUBMIT" /> |
|
29 |
<a class="extra-link" href="{% url django.contrib.auth.views.password_reset %}">Forgot your password?</a> |
|
30 |
</div> |
|
31 |
</form> |
|
32 |
{% endif %} |
|
39 | 33 |
|
40 |
<div class="extralogin"> |
|
41 |
{% for o in im_modules %} |
|
42 |
<div> |
|
43 |
{% if o != 'local' %} |
|
44 |
LOGIN using |
|
45 |
<a href="/im/login/{{ o }}{% ifnotequal next "" %}&next={{ next|urlencode }}{% endifnotequal %}{% ifnotequal code ""%}{% if next != "" %}&{% else %}?{% endif %}code={{ code }}{% endifnotequal %}" |
|
46 |
alt="{{ o|title }}">{{ o }}</a> |
|
47 |
{% endif %} |
|
48 |
</div> |
|
49 |
{% endfor %} |
|
34 |
<div class="extralogin"> |
|
35 |
{% for o in im_modules %} |
|
36 |
<div> |
|
37 |
{% if o != 'local' %} |
|
38 |
LOGIN using |
|
39 |
<a href="/im/login/{{ o }}{% ifnotequal next "" %}&next={{ next|urlencode }}{% endifnotequal %}{% ifnotequal code ""%}{% if next != "" %}&{% else %}?{% endif %}code={{ code }}{% endifnotequal %}" |
|
40 |
alt="{{ o|title }}">{{ o }}</a> |
|
41 |
{% endif %} |
|
50 | 42 |
</div> |
51 |
{% block body.signup %} |
|
52 |
{% for o in im_modules %} |
|
53 |
{% if o != 'local' %} |
|
54 |
<br /> |
|
55 |
{% endif %} |
|
56 | 43 |
{% endfor %} |
57 |
<div class="bottom"> |
|
58 |
{% block body.login.signup %} |
|
59 |
new to okeanos ? <a href="{% url astakos.im.views.signup %}{% ifnotequal code "" %}?code={{ code|urlencode }}{% endifnotequal %}">CREATE ACCOUNT</a> |
|
60 |
{% endblock %} |
|
61 |
</div> |
|
62 |
</div> |
|
63 |
{% endblock %} |
|
64 | 44 |
</div> |
65 |
{% endblock %} |
|
45 |
{% block body.signup %} |
|
46 |
{% for o in im_modules %} |
|
47 |
{% if o != 'local' %} |
|
48 |
<br /> |
|
49 |
{% endif %} |
|
50 |
{% endfor %} |
|
51 |
<div class="bottom"> |
|
52 |
{% block body.login.signup %} |
|
53 |
new to okeanos ? <a href="{% url astakos.im.views.signup %}{% ifnotequal code "" %}?code={{ code|urlencode }}{% endifnotequal %}">CREATE ACCOUNT</a> |
|
54 |
{% endblock %} |
|
55 |
</div> |
|
56 |
{% endblock body.signup %} |
|
57 |
|
|
58 |
{% endblock body.right%} |
Also available in: Unified diff