Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
LemonLDAP NG
lemonldap-ng
Commits
547d8098
Commit
547d8098
authored
Jul 04, 2021
by
Christophe Maudoux
Browse files
Display placeholder (
#2521
)
parent
4494bd1e
Pipeline
#14460
passed with stage
in 9 minutes and 30 seconds
Changes
6
Pipelines
1
Expand all
Hide whitespace changes
Inline
Side-by-side
fastcgi-server/man/llng-fastcgi-server.8p
View file @
547d8098
.\" Automatically generated by Pod::Man 4.1
0
(Pod::Simple 3.35)
.\" Automatically generated by Pod::Man 4.1
1
(Pod::Simple 3.35)
.\"
.\" Standard preamble:
.\" ========================================================================
...
...
@@ -133,7 +133,7 @@
.\" ========================================================================
.\"
.IX Title "llng-fastcgi-server 8"
.TH llng-fastcgi-server 8 "2021-0
1-18
" "perl v5.
28.1
" "User Contributed Perl Documentation"
.TH llng-fastcgi-server 8 "2021-0
7-03
" "perl v5.
30.0
" "User Contributed Perl Documentation"
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l
...
...
lemonldap-ng-portal/site/coffee/portal.coffee
View file @
547d8098
...
...
@@ -550,6 +550,15 @@ $(window).on 'load', () ->
$
(
"#show-hide-icon-button"
).
removeClass
'fa-eye-slash'
$
(
"#show-hide-icon-button"
).
addClass
'fa-eye'
# Functions to show/hide placeholder password inputs
$
(
'#passwordfield'
).
on
'input'
,
()
->
if
$
(
'#passwordfield'
).
get
(
0
).
value
&&
$
(
'#passwordfield'
).
get
(
0
).
type
==
'text'
$
(
"#passwordfield"
).
removeClass
'form-control'
$
(
"#passwordfield"
).
addClass
'form-control key'
else
$
(
"#passwordfield"
).
removeClass
'form-control key'
$
(
"#passwordfield"
).
addClass
'form-control'
#$('#formpass').on 'submit', changePwd
$
(
'#resetfinduserform'
).
on
'click'
,
()
->
...
...
lemonldap-ng-portal/site/htdocs/static/common/js/portal.js
View file @
547d8098
...
...
@@ -597,6 +597,15 @@ LemonLDAP::NG Portal jQuery scripts
return
$
(
"
#show-hide-icon-button
"
).
addClass
(
'
fa-eye
'
);
}
});
$
(
'
#passwordfield
'
).
on
(
'
input
'
,
function
()
{
if
(
$
(
'
#passwordfield
'
).
get
(
0
).
value
&&
$
(
'
#passwordfield
'
).
get
(
0
).
type
===
'
text
'
)
{
$
(
"
#passwordfield
"
).
removeClass
(
'
form-control
'
);
return
$
(
"
#passwordfield
"
).
addClass
(
'
form-control key
'
);
}
else
{
$
(
"
#passwordfield
"
).
removeClass
(
'
form-control key
'
);
return
$
(
"
#passwordfield
"
).
addClass
(
'
form-control
'
);
}
});
$
(
'
#resetfinduserform
'
).
on
(
'
click
'
,
function
()
{
console
.
log
(
'
Reset form
'
);
return
$
(
'
#finduserForm
'
).
trigger
(
'
reset
'
);
...
...
lemonldap-ng-portal/site/htdocs/static/common/js/portal.min.js
View file @
547d8098
This diff is collapsed.
Click to expand it.
lemonldap-ng-portal/site/htdocs/static/common/js/portal.min.js.map
View file @
547d8098
This diff is collapsed.
Click to expand it.
lemonldap-ng-portal/site/templates/bootstrap/standardform.tpl
View file @
547d8098
...
...
@@ -17,7 +17,7 @@
<span
class=
"input-group-text"
><label
for=
"passwordfield"
class=
"mb-0"
><i
class=
"fa fa-lock"
></i></label></span>
</div>
<TMPL_IF
NAME=
"DONT_STORE_PASSWORD"
>
<input
id=
"passwordfield"
name=
"password"
type=
"text"
class=
"form-control
key
"
autocomplete=
"off"
required
aria-required=
"true"
aria-hidden=
"true"
/>
<input
id=
"passwordfield"
name=
"password"
type=
"text"
class=
"form-control
"
trplaceholder=
"password
"
autocomplete=
"off"
required
aria-required=
"true"
aria-hidden=
"true"
/>
<TMPL_ELSE>
<input
id=
"passwordfield"
name=
"password"
type=
"password"
class=
"form-control"
trplaceholder=
"password"
required
aria-required=
"true"
/>
<TMPL_IF
NAME=
"ENABLE_PASSWORD_DISPLAY"
>
...
...
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