diff --git a/mymodule/themes/fancytheme/multiauth/selectsource.twig b/mymodule/themes/fancytheme/multiauth/selectsource.twig new file mode 100644 index 0000000000000000000000000000000000000000..eb9bd920188922e1a2150ad674f5a661f8e21466 --- /dev/null +++ b/mymodule/themes/fancytheme/multiauth/selectsource.twig @@ -0,0 +1,25 @@ + GNU nano 4.8 selectsource.twig +{% set pagetitle = '{multiauth:multiauth:select_source_header}'|trans %} +{% extends "base.twig" %} + +{% block content %} + <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> +{% endblock %} +