mirror of
https://github.com/Cian-H/invenio-theme-iform.git
synced 2025-12-22 20:51:58 +00:00
modified login with
used semantic_ui animated class to fade on hover.
This commit is contained in:
@@ -18,16 +18,22 @@
|
|||||||
<h3 class="ui header">{{ _('Log in to account') }}</h3>
|
<h3 class="ui header">{{ _('Log in to account') }}</h3>
|
||||||
{%- endblock form_header %}
|
{%- endblock form_header %}
|
||||||
|
|
||||||
|
|
||||||
{%- if config.INVENIO_CONFIG_TUGRAZ_SHIBBOLETH %}
|
{%- if config.INVENIO_CONFIG_TUGRAZ_SHIBBOLETH %}
|
||||||
<div class="ui raised segment">
|
<div class="ui fluid animated fade button" tabindex="0">
|
||||||
<img src="{{ url_for('static', filename=config.INVENIO_THEME_TUGRAZ_ICON)}}" height="25px" align="left">
|
<div class="visible content">
|
||||||
<a href="{{ url_for('sso_saml.sso', idp='idp') }}">
|
<a href="{{ url_for('sso_saml.sso', idp='idp') }}">
|
||||||
{% trans type='TU Graz' %} Log in with {{ type }}{% endtrans %}
|
{% trans type='TU Graz' %} Log in with {{ type }}{% endtrans %}
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<h3 align="center">— OR —</h3>
|
<div class="hidden content">
|
||||||
{%- endif %}
|
<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 %}
|
{%- block form_outer %}
|
||||||
{%- with form = login_user_form %}
|
{%- with form = login_user_form %}
|
||||||
|
|||||||
Reference in New Issue
Block a user