{# -*- coding: utf-8 -*- Copyright (C) 2015 - 2021 CERN. Copyright (C) 2020 - 2021 TU Wien. Invenio is free software; you can redistribute it and/or modify it under the terms of the MIT License; see LICENSE file for more details. #} {%- extends config.OAUTHCLIENT_LOGIN_USER_TEMPLATE_PARENT %} {%- from "invenio_oauthclient/_macros.html" import oauth_button %} {%- block form_header %}

Log in to {{ config.THEME_SITENAME }}

{%- endblock -%} {%- block form_outer %} {% if config.OAUTHCLIENT_REMOTE_APPS %}
{% for name in config.OAUTHCLIENT_REMOTE_APPS.keys() %} {{ oauth_button(name, next=request.args.get('next')) }} {% endfor %}
{% if config.ACCOUNTS_LOCAL_LOGIN_ENABLED %} {# if the local login is enabled, show it #}
Or
{% endif %} {% endif %} {% if config.THEME_TUW_LOCAL_LOGIN_ENABLED %} {{ super () }} {% endif %} {% endblock %}