diff options
Diffstat (limited to 'core/lostpassword')
-rw-r--r-- | core/lostpassword/css/resetpassword.css | 7 | ||||
-rw-r--r-- | core/lostpassword/templates/resetpassword.php | 4 |
2 files changed, 10 insertions, 1 deletions
diff --git a/core/lostpassword/css/resetpassword.css b/core/lostpassword/css/resetpassword.css new file mode 100644 index 00000000000..012af672d97 --- /dev/null +++ b/core/lostpassword/css/resetpassword.css @@ -0,0 +1,7 @@ +#reset-password p { + position: relative; +} + +#password-icon { + top: 20px; +} diff --git a/core/lostpassword/templates/resetpassword.php b/core/lostpassword/templates/resetpassword.php index 0184ace8d1c..118fe787116 100644 --- a/core/lostpassword/templates/resetpassword.php +++ b/core/lostpassword/templates/resetpassword.php @@ -1,8 +1,10 @@ +<?php OCP\Util::addStyle('lostpassword', 'resetpassword'); ?> <form action="<?php print_unescaped($_['link']) ?>" id="reset-password" method="post"> <fieldset> <p> <label for="password" class="infield"><?php p($l->t('New password')); ?></label> - <input type="password" name="password" id="password" value="" required /> + <input type="password" name="password" id="password" value="" placeholder="<?php p($l->t('New Password')); ?>" required /> + <img class="svg" id="password-icon" src="<?php print_unescaped(image_path('', 'actions/password.svg')); ?>" alt=""/> </p> <input type="submit" id="submit" value="<?php p($l->t('Reset password')); ?>" /> </fieldset> |