45b740c256522618bd4dfb537abb3031525c5624
[wolnelektury.git] / wolnelektury / templates / socialaccount / snippets / provider_list.html
1 {% load allauth_tags %}
2 {% load catalogue_tags %}
3
4 {% if allauth.facebook_enabled %}
5 {% fbconnect %}
6 {% endif %}
7
8 <ul class="socialauth">
9 {% if allauth.openid_enabled %}
10 <li><a title="Google" class="socialaccount_provider google" href="{% openid_login_url openid="https://www.google.com/accounts/o8/id" %}">
11         <img alt="Google" src="{{ STATIC_URL }}img/auth/google.png" /></a></li>
12 {% endif %}
13 {% if allauth.facebook_enabled %}
14 <li><a title="Facebook" class="socialaccount_provider facebook" href="{% facebook_login_url next=request.GET.next|build_absolute_uri:request %}">
15         <img alt="Facebook" src="{{ STATIC_URL }}img/auth/facebook.png" /></a></li>
16 {% endif %}
17 {% if allauth.twitter_enabled %}
18 <li><a title="Twitter" class="socialaccount_provider twitter" href="{% twitter_login_url %}">
19         <img alt="Twitter" src="{{ STATIC_URL }}img/auth/twitter.png" /></a></li>
20 {% endif %}
21 {% if allauth.openid_enabled %}
22 <!--li><a title="WP.pl" class="socialaccount_provider wppl" href="{% openid_login_url openid="http://openid.wp.pl" %}">
23         <img alt="WP.pl" src="{{ STATIC_URL }}img/auth/wppl.png" /></a></li-->
24 <!--li><a title="Yahoo" class="socialaccount_provider yahoo" href="{% openid_login_url openid="http://me.yahoo.com" %}">
25         <img alt="Yahoo" src="{{ STATIC_URL }}img/auth/yahoo.png" /></a></li-->
26 <li><a title="OpenID" class="socialaccount_provider openid" href="{% openid_login_url %}">
27         <img alt="OpenID" src="{{ STATIC_URL }}img/auth/openid.png" /></a></li>
28 <!--li><a title="Hyves" class="socialaccount_provider hyves" href="{% openid_login_url openid="http://hyves.nl" %}">Hyves</a></li-->
29 {% endif %}
30 </ul>