Password Toggle Works on Installation as well.
This commit is contained in:
parent
59249ebc0c
commit
b356b7065f
|
@ -155,6 +155,7 @@ input[type="submit"].enabled { background:#66f866; border:1px solid #5e5; -moz-b
|
|||
}
|
||||
#adminpass-icon, #password-icon { top:1.1em; }
|
||||
input[name="password-clone"] { padding-left:1.8em; width:11.7em !important; }
|
||||
input[name="adminpass-clone"] { padding-left:1.8em; width:11.7em !important; }
|
||||
|
||||
/* Nicely grouping input field sets */
|
||||
.grouptop input {
|
||||
|
|
|
@ -627,6 +627,7 @@ $(document).ready(function(){
|
|||
|
||||
// 'show password' checkbox
|
||||
$('#password').showPassword();
|
||||
$('#adminpass').showPassword();
|
||||
$('#pass2').showPassword();
|
||||
|
||||
//use infield labels
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
<img class="svg" src="<?php echo image_path('', 'actions/user.svg'); ?>" alt="" />
|
||||
</p>
|
||||
<p class="infield groupbottom">
|
||||
<input type="password" name="adminpass" id="adminpass" value="<?php print OC_Helper::init_var('adminpass'); ?>" required data-typetoggle="#show" />
|
||||
<input type="password" name="adminpass" data-typetoggle="#show" id="adminpass" value="<?php print OC_Helper::init_var('adminpass'); ?>" />
|
||||
<label for="adminpass" class="infield"><?php echo $l->t( 'Password' ); ?></label>
|
||||
<img class="svg" id="adminpass-icon" src="<?php echo image_path('', 'actions/password.svg'); ?>" alt="" />
|
||||
<input type="checkbox" id="show" name="show" />
|
||||
|
|
Loading…
Reference in New Issue