minimal allauth support
[wolnelektury.git] / wolnelektury / templates / socialaccount / snippets / provider_list.html
1 {% load allauth_tags %}
2
3 {% if allauth.openid_enabled %}
4 <li><a title="Google" class="socialaccount_provider google" href="{% openid_login_url openid="https://www.google.com/accounts/o8/id" %}">
5         <img alt="Google" src="{{ STATIC_URL }}img/auth/google.png" /></a></li>
6 {% endif %}
7 {% if allauth.twitter_enabled %}
8 <li><a title="Twitter" class="socialaccount_provider twitter" href="{% twitter_login_url %}">
9         <img alt="Twitter" src="{{ STATIC_URL }}img/auth/twitter.png" /></a></li>
10 {% endif %}
11 {% if allauth.facebook_enabled %}
12 <li><a title="Facebook" class="socialaccount_provider facebook" href="{% facebook_login_url %}">
13         <img alt="Facebook" src="{{ STATIC_URL }}img/auth/facebook.png" /></a></li>
14 {% endif %}
15 {% if allauth.openid_enabled %}
16 <!--li><a title="Yahoo" class="socialaccount_provider yahoo" href="{% openid_login_url openid="http://me.yahoo.com" %}">
17         <img alt="Yahoo" src="{{ STATIC_URL }}img/auth/yahoo.png" /></a></li-->
18 <!--li><a title="OpenID" class="socialaccount_provider openid" href="{% openid_login_url %}">
19         <img alt="OpenID" src="{{ STATIC_URL }}img/auth/openid.png" /></a></li-->
20 <!--li><a title="Hyves" class="socialaccount_provider hyves" href="{% openid_login_url openid="http://hyves.nl" %}">Hyves</a></li-->
21 {% endif %}