{# -*- coding: utf-8 -*- Copyright (C) 2015-2021 CERN. Copyright (C) 2020-2022 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 the local login is enabled, show it #} {%- if config.ACCOUNTS_LOCAL_LOGIN_ENABLED %}
Or
{%- endif %} {%- endif %} {%- if config.ACCOUNTS_LOCAL_LOGIN_ENABLED %} {{ super() }} {%- endif %} {%- endblock %}