Statistics
| Branch: | Tag: | Revision:

root / snf-astakos-app / astakos / im / templates / im / login.html @ 4bc1e7b0

History | View | Annotate | Download (1.8 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
<div class="section">
17
     {% if "local" in im_modules %}
18
        <form action="{% url astakos.im.target.local.login %}" method="post"
19
            class="login innerlabels">{% csrf_token %}
20
            <h2 class="formheader"><span>LOGIN</span></h2>
21
            {% include "im/form_render.html" %}
22
            <input type="hidden" name="next" value="{{ next }}">
23
            <div class="form-row submit">
24
                <input type="submit" class="submit altcol" value="SUBMIT" />
25
                <a class="extra-link" href="{% url django.contrib.auth.views.password_reset %}">Forgot your password?</a>
26
            </div>
27
        </form>
28
      {% endif %}
29

    
30
          <div class="extralogin">
31
              {% for o in im_modules %}
32
              <div>
33
            {% if o != 'local' %}
34
            LOGIN using 
35
            <a href="/im/login/{{ o }}{% ifnotequal next "" %}?next={{ next|urlencode }}{% endifnotequal %}" 
36
                alt="{{ o|title }}">{{ o }}</a>
37
            {% endif %}
38
            </div>
39
            {% endfor %}
40
        </div>
41
        {% block body.signup %}
42
        {% for o in im_modules %}
43
            {% if o != 'local' %}
44
            <br />
45
            {% endif %}
46
        {% endfor %}
47
        <div class="bottom">
48
                new to okeanos ? <a href="{% url astakos.im.views.signup %}">SIGN UP</a>
49
            </div>
50
        </div>
51
        {% endblock %}
52
    </div>
53
{% endblock %}