modified login with

used semantic_ui animated class to fade on hover.
This commit is contained in:
mb
2020-07-09 16:46:50 +02:00
parent 1d8271dca3
commit 63a9752093

View File

@@ -18,15 +18,21 @@
<h3 class="ui header">{{ _('Log in to account') }}</h3>
{%- endblock form_header %}
{%- if config.INVENIO_CONFIG_TUGRAZ_SHIBBOLETH %}
<div class="ui raised segment">
<img src="{{ url_for('static', filename=config.INVENIO_THEME_TUGRAZ_ICON)}}" height="25px" align="left">
<div class="ui fluid animated fade button" tabindex="0">
<div class="visible content">
<a href="{{ url_for('sso_saml.sso', idp='idp') }}">
{% trans type='TU Graz' %} Log in with {{ type }}{% endtrans %}
</a>
</div>
<h3 align="center">— OR —</h3>
<div class="hidden content">
<img src="{{ url_for('static', filename=config.INVENIO_THEME_TUGRAZ_ICON)}}" height="20px">
</div>
</div>
<div class="ui horizontal divider">
Or
</div>
{%- endif %}
{%- block form_outer %}