diff options
author | raghunayyar <me@iraghu.com> | 2013-02-08 16:38:28 +0530 |
---|---|---|
committer | raghunayyar <me@iraghu.com> | 2013-02-08 16:38:28 +0530 |
commit | b356b7065f406cd2e18ed7bb9842e292f888c8e4 (patch) | |
tree | 788d9368927fb10c34e4c0cd96ae8b2dcb9683b1 /core | |
parent | 59249ebc0ca3731711ee99d591742164b32d0cdd (diff) | |
download | nextcloud-server-b356b7065f406cd2e18ed7bb9842e292f888c8e4.tar.gz nextcloud-server-b356b7065f406cd2e18ed7bb9842e292f888c8e4.zip |
Password Toggle Works on Installation as well.
Diffstat (limited to 'core')
-rw-r--r-- | core/css/styles.css | 1 | ||||
-rw-r--r-- | core/js/js.js | 3 | ||||
-rw-r--r-- | core/templates/installation.php | 8 |
3 files changed, 7 insertions, 5 deletions
diff --git a/core/css/styles.css b/core/css/styles.css index cefab2d49ff..961c7fb7f3a 100644 --- a/core/css/styles.css +++ b/core/css/styles.css @@ -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 { diff --git a/core/js/js.js b/core/js/js.js index c137f734d91..4a1f8571cc7 100644 --- a/core/js/js.js +++ b/core/js/js.js @@ -626,7 +626,8 @@ $(document).ready(function(){ }); // 'show password' checkbox - $('#password').showPassword(); + $('#password').showPassword(); + $('#adminpass').showPassword(); $('#pass2').showPassword(); //use infield labels diff --git a/core/templates/installation.php b/core/templates/installation.php index f3d232b637e..19395b80efe 100644 --- a/core/templates/installation.php +++ b/core/templates/installation.php @@ -34,13 +34,13 @@ <?php endif; ?> <fieldset id="adminaccount"> <legend><?php echo $l->t( 'Create an <strong>admin account</strong>' ); ?></legend> - <p class="infield grouptop"> - <input type="text" name="adminlogin" id="adminlogin" value="<?php print OC_Helper::init_var('adminlogin'); ?>" autocomplete="off" autofocus required /> + <p class="infield grouptop"> + <input type="text" name="adminlogin" id="adminlogin" value="<?php print OC_Helper::init_var('adminlogin'); ?>" autocomplete="off" autofocus required /> <label for="adminlogin" class="infield"><?php echo $l->t( 'Username' ); ?></label> - <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 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" /> |