root / snf-astakos-app / astakos / im / templates / im / login.html @ f70310ce
History | View | Annotate | Download (1.7 kB)
1 |
{% extends 'im/base_two_cols.html'%} |
---|---|
2 |
|
3 |
{% block signup_class %}hidden{% endblock %} |
4 |
{% block page.title %} |
5 |
Login |
6 |
{% endblock %} |
7 |
|
8 |
{% block body %} |
9 |
<div class="section"> |
10 |
<img class="pic" src="{{ IM_STATIC_URL }}images/pictures/login_pic.png" /> |
11 |
</div>
|
12 |
{% comment %}{% include "im/services_description.html" %}{% endcomment %} |
13 |
{% endblock body %} |
14 |
|
15 |
{% block body.right %} |
16 |
{% if "local" in im_modules %} |
17 |
<form action="{% url astakos.im.target.local.login %}" method="post" |
18 |
class="login innerlabels">{% csrf_token %} |
19 |
<h2 class="formheader"><span>LOGIN</span></h2> |
20 |
{% include "im/form_render.html" %} |
21 |
<input type="hidden" name="next" value="{{ next }}"> |
22 |
<div class="form-row submit"> |
23 |
<input type="submit" class="submit altcol" value="SUBMIT" /> |
24 |
<a class="extra-link" href="{% url django.contrib.auth.views.password_reset %}">Forgot your password?</a> |
25 |
</div>
|
26 |
</form>
|
27 |
{% endif %} |
28 |
|
29 |
<div class="section"> |
30 |
{% for o in im_modules %} |
31 |
<div>
|
32 |
{% if o != 'local' %} |
33 |
LOGIN using |
34 |
<a href="/im/login/{{ o }}{% ifnotequal next "" %}?next={{ next|urlencode }}{% endifnotequal %}" |
35 |
alt="{{ o|title }}">{{ o }}</a> |
36 |
{% endif %} |
37 |
</div>
|
38 |
{% endfor %} |
39 |
</div>
|
40 |
{% block body.signup %} |
41 |
<div class="section signup"> |
42 |
<br /><br /> |
43 |
<h2>NEW TO OKEANOS ?</h2> |
44 |
<a class="button" href="{% url astakos.im.views.signup %}">CREATE ACCOUNT</a> |
45 |
</div>
|
46 |
</div>
|
47 |
{% endblock %} |
48 |
|
49 |
{% endblock %} |