Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
m4lab_tv1
customization simpleSAMLphp
Commits
3a9e38e0
Commit
3a9e38e0
authored
4 years ago
by
Wolfgang Knopki
Browse files
Options
Download
Email Patches
Plain Diff
added selectsource for multiauth
parent
98914df4
master
MLAB-644
knopkiwg-master-patch-25739
testing
3 merge requests
!53
Prepprod
,
!52
Testing
,
!51
Templates
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
mymodule/themes/fancytheme/multiauth/selectsource.twig
+25
-0
mymodule/themes/fancytheme/multiauth/selectsource.twig
with
25 additions
and
0 deletions
+25
-0
mymodule/themes/fancytheme/multiauth/selectsource.twig
0 → 100644
+
25
-
0
View file @
3a9e38e0
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
%}
This diff is collapsed.
Click to expand it.
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
Menu
Explore
Projects
Groups
Snippets