Use semantic button instead of a href
This commit is contained in:
parent
392d33ce02
commit
4cd556730f
3 changed files with 9 additions and 3 deletions
|
|
@ -306,7 +306,7 @@ if ($disablenofollow) {
|
|||
<!--<span class="span-icon-password">-->
|
||||
<span class="fa fa-key"></span>
|
||||
<input type="password" id="password" maxlength="128" placeholder="<?php echo $langs->trans("Password"); ?>" name="password" class="flat input-icon-password minwidth150" value="<?php echo dol_escape_htmltag($password); ?>" tabindex="2" autocomplete="<?php echo !getDolGlobalString('MAIN_LOGIN_ENABLE_PASSWORD_AUTOCOMPLETE') ? 'off' : 'on'; ?>" />
|
||||
<a href id="togglepassword" tabindex="3"><span class="fa fa-eye"></span></a>
|
||||
<button id="togglepassword" tabindex="3"><span class="fa fa-eye"></span></button>
|
||||
</div></div>
|
||||
<script nonce="<?php echo getNonce(); ?>">
|
||||
$(document).ready(function () {
|
||||
|
|
|
|||
|
|
@ -3421,8 +3421,11 @@ if (getDolGlobalString('MAIN_LOGIN_BACKGROUND')) {
|
|||
}
|
||||
.login_table #tdpasswordlogin #togglepassword {
|
||||
position: absolute;
|
||||
top: 10px;
|
||||
top: 1em;
|
||||
right: 5px;
|
||||
background: none;
|
||||
border: none;
|
||||
/* opacity: 0.5; */
|
||||
}
|
||||
.login_table #tdpasswordlogin #togglepassword .fa {
|
||||
padding: 0 3px;
|
||||
|
|
|
|||
|
|
@ -3487,8 +3487,11 @@ form#login {
|
|||
}
|
||||
.login_table #tdpasswordlogin #togglepassword {
|
||||
position: absolute;
|
||||
top: 10px;
|
||||
top: 1em;
|
||||
right: 5px;
|
||||
background: none;
|
||||
border: none;
|
||||
/* opacity: 0.5; */
|
||||
}
|
||||
.login_table #tdpasswordlogin #togglepassword .fa {
|
||||
padding: 0 3px;
|
||||
|
|
|
|||
Loading…
Reference in a new issue