make show password toggle work for installation (once #1525 is fixed)
This commit is contained in:
parent
32e739f2ae
commit
8ca730f4c1
|
@ -149,11 +149,11 @@ input[type="submit"].enabled { background:#66f866; border:1px solid #5e5; -moz-b
|
||||||
|
|
||||||
/* Icons for username and password fields to better recognize them */
|
/* Icons for username and password fields to better recognize them */
|
||||||
#adminlogin, #adminpass, #user, #password { width:11.7em!important; padding-left:1.8em; }
|
#adminlogin, #adminpass, #user, #password { width:11.7em!important; padding-left:1.8em; }
|
||||||
#adminlogin+label+img, #adminpass+label+img, #user+label+img, #password-icon {
|
#adminlogin+label+img, #adminpass-icon, #user+label+img, #password-icon {
|
||||||
position:absolute; left:1.25em; top:1.65em;
|
position:absolute; left:1.25em; top:1.65em;
|
||||||
opacity:.3;
|
opacity:.3;
|
||||||
}
|
}
|
||||||
#adminpass+label+img, #password-icon { top:1.1em; }
|
#adminpass-icon, #password-icon { top:1.1em; }
|
||||||
input[name="password-clone"] { padding-left:1.8em; width:11.7em !important; }
|
input[name="password-clone"] { padding-left:1.8em; width:11.7em !important; }
|
||||||
|
|
||||||
/* Nicely grouping input field sets */
|
/* Nicely grouping input field sets */
|
||||||
|
|
|
@ -40,9 +40,11 @@
|
||||||
<img class="svg" src="<?php echo image_path('', 'actions/user.svg'); ?>" alt="" />
|
<img class="svg" src="<?php echo image_path('', 'actions/user.svg'); ?>" alt="" />
|
||||||
</p>
|
</p>
|
||||||
<p class="infield groupbottom">
|
<p class="infield groupbottom">
|
||||||
<input type="password" name="adminpass" id="adminpass" value="<?php print OC_Helper::init_var('adminpass'); ?>" required />
|
<input type="password" name="adminpass" id="adminpass" value="<?php print OC_Helper::init_var('adminpass'); ?>" required data-typetoggle="#show" />
|
||||||
<label for="adminpass" class="infield"><?php echo $l->t( 'Password' ); ?></label>
|
<label for="adminpass" class="infield"><?php echo $l->t( 'Password' ); ?></label>
|
||||||
<img class="svg" src="<?php echo image_path('', 'actions/password.svg'); ?>" alt="" />
|
<img class="svg" id="adminpass-icon" src="<?php echo image_path('', 'actions/password.svg'); ?>" alt="" />
|
||||||
|
<input type="checkbox" id="show" name="show" />
|
||||||
|
<label for="show"></label>
|
||||||
</p>
|
</p>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue