diff --git a/mymodule/themes/fancytheme/multiauth/selectsource.twig b/mymodule/themes/fancytheme/multiauth/selectsource.twig index eb9bd920188922e1a2150ad674f5a661f8e21466..5aa9266777a9b2a4dda6ef7f564dedad811f1626 100644 --- a/mymodule/themes/fancytheme/multiauth/selectsource.twig +++ b/mymodule/themes/fancytheme/multiauth/selectsource.twig @@ -1,25 +1,26 @@ - GNU nano 4.8 selectsource.twig -{% set pagetitle = '{multiauth:multiauth:select_source_header}'|trans %} -{% extends "base.twig" %} +{% extends "@core/base.twig" %} +{% block preload %} + <link rel="stylesheet" href="/css/styles.css"> +{% endblock %} {% block content %} + <div> + {% set pagetitle = '{multiauth:multiauth:select_source_header}'|trans %} + <h2>Benutzerkonto auswählen</h2> <p>Bitte wählen Sie ein Benutzerkonto aus, mit dem Sie sich authentifizieren wollen:</p> <form action="{{ selfUrl|escape('html') }}" method="get"> <input type="hidden" name="AuthState" value="{{ authstate|escape('html') }} "> - <ul> {% for key, source in sources %} {% set name = ('src-' ~ source.source64) %} {% set button = ('button-' ~ source.source) %} - <li class="{{ source.css_class|escape('html') }} authsource"> <input class="button-red button-margin btn btn-primary" type="submit" name="{{ name|escape('html') }}" id="{{ button|escape('html') }}" value="{{ source.text|escape('html') }}"{%- if source.source == preferred %} autofocus{% endif -%}> {% if source.help %} <p>{{ source.help|escape('html') }}</p> {% endif %} - </li> {% endfor %} - </ul> </form> + </div> {% endblock %}