src/ldtplatform/templates/registration/login.html
changeset 99 c91c186c38e8
parent 22 10389426d9c0
child 100 71b8c0bf5882
equal deleted inserted replaced
94:905e36a6f68d 99:c91c186c38e8
     1 {% extends "registration/base.html" %}
     1 {% extends "registration/base.html" %}
     2 {% load i18n %}
     2 {% load i18n %}
     3 {% load absstatic %}
       
     4 {% load static %}
     3 {% load static %}
     5 
     4 
     6 {% block css_import %}
     5 {% block css_import %}
     7     {{ block.super }}
     6     {{ block.super }}
     8     <link rel="stylesheet" href='{% absstatic "ldt/css/ldt.css" %}'/>
     7     <link rel="stylesheet" href='{% static "ldt/css/ldt.css" %}'/>
     9     <link rel="stylesheet" href='{% absstatic "ldt/css/ldtform.css" %}' />
     8     <link rel="stylesheet" href='{% static "ldt/css/ldtform.css" %}' />
    10 {% endblock %}
     9 {% endblock %}
    11 
    10 
    12 {% block login %}
    11 {% block login %}
    13 {% endblock %}
    12 {% endblock %}
    14 
    13 
    38             {% if social_list %}
    37             {% if social_list %}
    39             <p>{% trans "Or login with your external account" %}&nbsp;:</p>
    38             <p>{% trans "Or login with your external account" %}&nbsp;:</p>
    40             <ul>
    39             <ul>
    41            {% for backend_name in social_list %}
    40            {% for backend_name in social_list %}
    42              
    41              
    43             <li><a href="{{ backend_name }}"><img src='{% absstatic "ldt" %}/img/logo_{{backend_name}}.png' class='social_link' id="{{backend_name}}_logo_id"/>&nbsp;{{ backend_name }}</a></li>
    42             <li><a href="{{ backend_name }}"><img src='{% static "ldt" %}/img/logo_{{backend_name}}.png' class='social_link' id="{{backend_name}}_logo_id"/>&nbsp;{{ backend_name }}</a></li>
    44            
    43            
    45            {% endfor %}
    44            {% endfor %}
    46            {% comment %}{{social_list|safe}}{% endcomment %}
    45            {% comment %}{{social_list|safe}}{% endcomment %}
    47             </ul>
    46             </ul>
    48             {% endif %}
    47             {% endif %}