login.html 1.83 KB
Newer Older
Sofia Papagiannaki's avatar
Sofia Papagiannaki committed
1
{% extends 'im/base_two_cols.html'%}
2

3
4
5
6
7
8
9
{% block signup_class %}hidden{% endblock %}
{% block page.title %}
Login
{% endblock %}

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

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