Page notification messages improvements
[astakos] / snf-astakos-app / astakos / im / templates / im / login_base.html
1 {% extends 'im/base_two_cols.html'%}
2
3 {% block signup_class %}hidden{% endblock %}
4 {% block page.title %}{% endblock %}
5
6 {% block body.left %}
7         <img class="pic" src="{{ IM_STATIC_URL }}images/porta.png" />
8         {% comment %}{% include "im/services_description.html" %}{% endcomment %}
9 {% endblock body.left %}
10     
11 {% block body.right %} 
12         {% if "local" in im_modules %}
13         <form action="{% url astakos.im.target.local.login %}" method="post"class="login innerlabels">{% csrf_token %}
14                     <h2>LOGIN</h2>
15                     {% with login_form as form %}
16                         {% include "im/form_render.html" %}
17                     {% endwith %}
18                     <input type="hidden" name="next" value="{{ next }}">
19                     <div class="form-row submit clearfix">
20                         
21                         <input type="submit" class="submit altcol" value="SUBMIT" />
22                         <a class="extra-link" href="{% url django.contrib.auth.views.password_reset %}">Forgot your password?</a>
23                     </div>
24         </form>
25     {% endif %}
26     <div class="extralogin">
27          {% for o in im_modules %}
28         <div>
29         {% if o != 'local' %}
30         LOGIN using
31             <a href="/im/login/{{ o }}?{% ifnotequal next "" %}&next={{ next|urlencode }}{% endifnotequal %}{% ifnotequal code ""%}{% if next != "" %}&{% else %}?{% endif %}code={{ code }}{% endifnotequal %}"
32             alt="{{ o|title }}">{{ o }}</a>
33         {% endif %}
34         </div>
35         {% endfor %}
36     </div><br />
37     {% block body.signup %}
38             {% for o in im_modules %}
39                 {% if o != 'local' %}
40                
41                 {% endif %}
42             {% endfor %}
43             <div class="bottom">
44                 {% block body.login.signup %}
45                     new to okeanos ? <a href="{% url astakos.im.views.signup %}{% ifnotequal code "" %}?code={{ code|urlencode }}{% endifnotequal %}">CREATE ACCOUNT</a>
46                 {% endblock %}
47             </div>
48         {% endblock body.signup %}
49  
50 {% endblock body.right%}