mirror of
https://github.com/wekan/wekan.git
synced 2026-01-23 09:46:09 +01:00
Show password at Login and Register pages.
Thanks to xet7 ! Fixes #6070
This commit is contained in:
parent
7291617a77
commit
d30192f7f9
4 changed files with 119 additions and 0 deletions
14
client/components/users/passwordInput.jade
Normal file
14
client/components/users/passwordInput.jade
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
template(name='passwordInput')
|
||||
.at-input
|
||||
label(for='at-field-{{_id}}') {{displayName}}
|
||||
.password-input-container
|
||||
input.password-field(type="{{type}}" placeholder="{{displayName}}" autocomplete="{{autocomplete}}" required="{{required}}")
|
||||
button.password-toggle-btn(type="button" aria-label="Toggle password visibility" title="Toggle password visibility")
|
||||
.eye-container
|
||||
span.eye-text 👁️
|
||||
svg.eye-slash(width="20" height="20" viewBox="0 0 20 20" class="eye-slash-line")
|
||||
line(x1="6" y1="14" x2="32" y2="-14" stroke="#000" stroke-width="2" stroke-linecap="round")
|
||||
if errs
|
||||
.at-error
|
||||
each errs
|
||||
div {{this}}
|
||||
Loading…
Add table
Add a link
Reference in a new issue