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
b0e9dff4
Commit
b0e9dff4
authored
4 years ago
by
Wolfgang Knopki
Browse files
Options
Download
Email Patches
Plain Diff
admin field, global css Login-clean
parent
e0b5eff5
master
MLAB-644
knopkiwg-master-patch-25739
testing
5 merge requests
!50
Prepare prod
,
!49
Prep
,
!48
Testing
,
!47
Testing
,
!45
admin field, global css Login-clean
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
mymodule/themes/fancytheme/core/loginuserpass.twig
+2
-6
mymodule/themes/fancytheme/core/loginuserpass.twig
mymodule/themes/fancytheme/default/base.twig
+1
-0
mymodule/themes/fancytheme/default/base.twig
with
3 additions
and
6 deletions
+3
-6
mymodule/themes/fancytheme/core/loginuserpass.twig
+
2
-
6
View file @
b0e9dff4
{%
extends
"@core/base.twig"
%}
{%
block
preload
%}
<link
rel=
"stylesheet"
type=
"text/css"
href=
"/css/Login-Form-Clean.css"
>
{%
endblock
%}
{%
block
postload
%}
<script
src=
"
{{
asset
(
'js/loginuserpass.js'
,
'core'
)
}}
"
></script>
{%
endblock
%}
...
...
@@ -20,8 +16,8 @@
<form
method=
"post"
>
<h2
class=
"sr-only"
>
Login Form
</h2>
<div
class=
"illustration"
><img
src=
"/img/M4_LAB_LOGO.png"
width=
"130"
></div>
{%
-
if
'admin'
in
a
pp.request.query.get
(
"AuthState"
)
-
%}
<div
class=
"form-group"
><input
id=
"username"
class=
"form-control"
type=
"
email
"
name=
"username"
placeholder=
"
E-Mail-Adresse
"
></div>
{%
-
if
'admin'
in
a
ttribute
(
queryParams
,
"AuthState"
)
-
%}
<div
class=
"form-group"
><input
id=
"username"
class=
"form-control"
type=
"
text
"
name=
"username"
placeholder=
"
Administrator
"
></div>
{%
-
else
-
%}
<div
class=
"form-group"
><input
id=
"username"
class=
"form-control"
type=
"email"
name=
"username"
placeholder=
"E-Mail-Adresse"
></div>
{%
-
endif
-
%}
...
...
This diff is collapsed.
Click to expand it.
mymodule/themes/fancytheme/default/base.twig
+
1
-
0
View file @
b0e9dff4
...
...
@@ -8,6 +8,7 @@
<link
rel=
"stylesheet"
href=
"
{{
asset
(
"css/stylesheet.css"
)
}}
"
>
<link
rel=
"stylesheet"
href=
"/css/bootstrap.min.css"
>
<link
rel=
"stylesheet"
href=
"/css/m4lab.css"
>
<link
rel=
"stylesheet"
href=
"/css/Login-Form-Clean.css"
>
<link
rel=
"stylesheet"
href=
"https://use.fontawesome.com/releases/v5.8.2/css/all.css"
integrity=
"sha384-oS3vJWv+0UjzBfQzYUhtDYW+Pj2yciDJxpsK1OYPAYjqT085Qq/1cq5FLXAZQ7Ay"
crossorigin=
"anonymous"
>
<link
rel=
"icon"
href=
"
{{
asset
(
"icons/favicon.ico"
)
}}
"
>
{%
if
isRTL
%}
...
...
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