Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
m4lab_tv1
customization simpleSAMLphp
Commits
8c981236
Commit
8c981236
authored
Nov 20, 2020
by
Wolfgang Knopki
Browse files
Update selectsource.twig
parent
c88196e6
Changes
1
Hide whitespace changes
Inline
Side-by-side
mymodule/themes/fancytheme/multiauth/selectsource.twig
View file @
8c981236
GNU nano 4.8 selectsource.twig
{%
extends
"@core/base.twig"
%}
{%
set
pagetitle
=
'{multiauth:multiauth:select_source_header}'
|
trans
%}
{%
block
preload
%}
{%
extends
"base.twig"
%}
<link
rel=
"stylesheet"
href=
"/css/styles.css"
>
{%
endblock
%}
{%
block
content
%}
{%
block
content
%}
<div>
{%
set
pagetitle
=
'{multiauth:multiauth:select_source_header}'
|
trans
%}
<h2>
Benutzerkonto auswählen
</h2>
<h2>
Benutzerkonto auswählen
</h2>
<p>
Bitte wählen Sie ein Benutzerkonto aus, mit dem Sie sich authentifizieren wollen:
</p>
<p>
Bitte wählen Sie ein Benutzerkonto aus, mit dem Sie sich authentifizieren wollen:
</p>
<form
action=
"
{{
selfUrl
|
escape
(
'html'
)
}}
"
method=
"get"
>
<form
action=
"
{{
selfUrl
|
escape
(
'html'
)
}}
"
method=
"get"
>
<input
type=
"hidden"
name=
"AuthState"
value=
"
{{
authstate
|
escape
(
'html'
)
}}
"
>
<input
type=
"hidden"
name=
"AuthState"
value=
"
{{
authstate
|
escape
(
'html'
)
}}
"
>
<ul>
{%
for
key
,
source
in
sources
%}
{%
for
key
,
source
in
sources
%}
{%
set
name
=
(
'src-'
~
source.source64
)
%}
{%
set
name
=
(
'src-'
~
source.source64
)
%}
{%
set
button
=
(
'button-'
~
source.source
)
%}
{%
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
-
%}
>
<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
%}
{%
if
source.help
%}
<p>
{{
source.help
|
escape
(
'html'
)
}}
</p>
<p>
{{
source.help
|
escape
(
'html'
)
}}
</p>
{%
endif
%}
{%
endif
%}
</li>
{%
endfor
%}
{%
endfor
%}
</ul>
</form>
</form>
</div>
{%
endblock
%}
{%
endblock
%}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment