Statistics
| Branch: | Tag: | Revision:

root / astakos / im / templates / login.html @ 13858d75

History | View | Annotate | Download (1.5 kB)

1
{% extends '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_MEDIA_URL }}images/pictures/login_pic.png" />
11
</div>
12
{% include "services_description.html" %}
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 "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
            <div class="section">
41
                <a href="{% url astakos.im.views.signup %}" class="action">SIGN UP</a>
42
            </div>
43
        </div>
44

    
45
{% endblock %}