Commit 278fab40 authored by Olga Brani's avatar Olga Brani
Browse files

Extralogin methods with icons

parent 6b538be8
......@@ -567,3 +567,7 @@ form.withlabels.hidden-submit { margin-bottom:4em; }
i.tiny { font-size: 0.8em; color: #999;}
h2 span.subtitle { font-size: 0.9em; color: #55B577;}
.extralogin a.icons { display:inline-block; margin-right:5px; height:28px; overflow:hidden; vertical-align:middle; }
.extralogin a.icons:hover img { margin-top:-38px; }
\ No newline at end of file
......@@ -19,4 +19,4 @@
<input type="submit" class="submit altcol" value="SUBMIT" />
<a class="extra-link" href="{% url django.contrib.auth.views.password_reset %}">Forgot your password?</a>
</div>
</form>
</form>
\ No newline at end of file
......@@ -23,4 +23,6 @@
<a class="extra-link" href="{% url django.contrib.auth.views.password_reset %}">Forgot your password?</a>
</div>
</div>
</form>
\ No newline at end of file
</form>
<br>
LOGIN using
{% load astakos_tags %}
<br />{{ provider.get_login_prompt_display|safe }}
<a href="{% provider_login_url provider %}" alt="{{ provider.get_title_display }}">{{ provider.get_title_display }}</a>
<a href="{% provider_login_url provider %}" alt="{{ provider.get_title_display }}" class="icons"><img src="{{ provider.get_icon_url_display }}" alt="{{ provider.get_title_display }}" /></a>
......@@ -21,6 +21,7 @@
<div class="extralogin"
style="{% if not last_login_method or last_login_method == master_auth_provider.module %}display:none{% endif %}">
{% for provider in auth_providers %}
{% if not provider == master_auth_provider %}
{% include provider.login_prompt_template %}
{% endif %}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment