diff options
author | Julian Müller <julian.mueller.ffb@kabelmail.de> | 2013-10-29 01:29:38 +0100 |
---|---|---|
committer | Julian Müller <julian.mueller.ffb@kabelmail.de> | 2013-10-29 01:29:38 +0100 |
commit | e9caaa933c5719d33f1cc51e56072f52e5d338ab (patch) | |
tree | b84f87ad8c5b6fb3f6deef086277cb56c089775b /core/lostpassword | |
parent | 6716c9f00aab3f6b041c3c65dc81b547b137caa3 (diff) | |
download | nextcloud-server-e9caaa933c5719d33f1cc51e56072f52e5d338ab.tar.gz nextcloud-server-e9caaa933c5719d33f1cc51e56072f52e5d338ab.zip |
Fixing the Lost Password Screen
Diffstat (limited to 'core/lostpassword')
-rw-r--r-- | core/lostpassword/css/lostpassword.css | 26 | ||||
-rw-r--r-- | core/lostpassword/templates/lostpassword.php | 13 |
2 files changed, 34 insertions, 5 deletions
diff --git a/core/lostpassword/css/lostpassword.css b/core/lostpassword/css/lostpassword.css new file mode 100644 index 00000000000..bcb2d856989 --- /dev/null +++ b/core/lostpassword/css/lostpassword.css @@ -0,0 +1,26 @@ +#body-login +input[type="text"], +input[type="submit"] { + margin-left: 0; +} + +input[type="text"] { + padding-right: 19px; +} + +#body-login +input[type="submit"] { + text-align: center; + width: 170px; + height: 45px; + padding-top: 7px; + padding-bottom: 7px; +} + +fieldset { + margin-left: 2px; +} + +.white { + color: white; +} diff --git a/core/lostpassword/templates/lostpassword.php b/core/lostpassword/templates/lostpassword.php index f5fdb1fb2b3..5363b93e32b 100644 --- a/core/lostpassword/templates/lostpassword.php +++ b/core/lostpassword/templates/lostpassword.php @@ -1,5 +1,8 @@ -<?php if ($_['requested']): ?> - <div class="success"><p> +<?php +//load the file we need +OCP\Util::addStyle('lostpassword', 'lostpassword'); + if ($_['requested']): ?> + <div class="success"><p> <?php print_unescaped($l->t('The link to reset your password has been sent to your email.<br>If you do not receive it within a reasonable amount of time, check your spam/junk folders.<br>If it is not there ask your local administrator .')); ?> @@ -8,11 +11,11 @@ <form action="<?php print_unescaped(OC_Helper::linkToRoute('core_lostpassword_send_email')) ?>" method="post"> <fieldset> <?php if ($_['error']): ?> - <div class="errors"><p> + <div class="errors"><p align="center"> <?php print_unescaped($l->t('Request failed!<br>Did you make sure your email/username was right?')); ?> </p></div> <?php endif; ?> - <?php print_unescaped($l->t('You will receive a link to reset your password via Email.')); ?> + <div class="white"><?php print_unescaped($l->t('You will receive a link to reset your password via Email.')); ?></div> <p class="infield"> <input type="text" name="user" id="user" placeholder="" value="" autocomplete="off" required autofocus /> <label for="user" class="infield"><?php print_unescaped($l->t( 'Username' )); ?></label> @@ -24,7 +27,7 @@ <?php print_unescaped($l->t('Yes, I really want to reset my password now')); ?><br/><br/> <?php endif; ?> </p> - <input type="submit" id="submit" value="<?php print_unescaped($l->t('Request reset')); ?>" /> + <input type="submit" id="submit" value="<?php print_unescaped($l->t('Zurücksetzen')); ?>" /> </fieldset> </form> <?php endif; ?> |