summaryrefslogtreecommitdiffstats
path: root/core/templates
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2013-02-07 18:04:14 +0100
committerJan-Christoph Borchardt <hey@jancborchardt.net>2013-02-07 18:07:38 +0100
commit8ca730f4c103a88ee26941772624163f236d3eab (patch)
treeee7a68d3c4bad26c9b1eb710481e4c85c4fa6996 /core/templates
parent32e739f2ae2eebb7b169052463aa73fb452d5afb (diff)
downloadnextcloud-server-8ca730f4c103a88ee26941772624163f236d3eab.tar.gz
nextcloud-server-8ca730f4c103a88ee26941772624163f236d3eab.zip
make show password toggle work for installation (once #1525 is fixed)
Diffstat (limited to 'core/templates')
-rw-r--r--core/templates/installation.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/core/templates/installation.php b/core/templates/installation.php
index 03c580c9b0b..f3d232b637e 100644
--- a/core/templates/installation.php
+++ b/core/templates/installation.php
@@ -40,9 +40,11 @@
<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 />
+ <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>
- <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>
</fieldset>