diff options
author | Morris Jobke <morris.jobke@gmail.com> | 2013-10-29 13:42:39 +0100 |
---|---|---|
committer | Morris Jobke <morris.jobke@gmail.com> | 2013-10-29 13:42:39 +0100 |
commit | ffbcfef614715ffaa1d53bdd6744e533ddaeb8c1 (patch) | |
tree | d1c002ff07fad6d95cef3fc7003d7daefa00a9b8 /core/lostpassword | |
parent | 776346b5037282f352c206d66224b5b2a32f56f5 (diff) | |
download | nextcloud-server-ffbcfef614715ffaa1d53bdd6744e533ddaeb8c1.tar.gz nextcloud-server-ffbcfef614715ffaa1d53bdd6744e533ddaeb8c1.zip |
fix lost password screen - reuse available CSS rules
Diffstat (limited to 'core/lostpassword')
-rw-r--r-- | core/lostpassword/css/lostpassword.css | 24 | ||||
-rw-r--r-- | core/lostpassword/templates/lostpassword.php | 6 |
2 files changed, 20 insertions, 10 deletions
diff --git a/core/lostpassword/css/lostpassword.css b/core/lostpassword/css/lostpassword.css index bcb2d856989..85cce9f9407 100644 --- a/core/lostpassword/css/lostpassword.css +++ b/core/lostpassword/css/lostpassword.css @@ -1,11 +1,12 @@ #body-login input[type="text"], input[type="submit"] { - margin-left: 0; + margin: 5px 0; } -input[type="text"] { - padding-right: 19px; +input[type="text"]#user{ + padding-right: 12px; + padding-left: 41px; } #body-login @@ -17,10 +18,19 @@ input[type="submit"] { padding-bottom: 7px; } -fieldset { - margin-left: 2px; +#body-login input[type="submit"]#submit { + width: 280px; } -.white { - color: white; +#body-login .update { + text-align: left; +} + +#body-login .update, +#body-login .error { + margin: 10px 0 5px 0; +} + +#user { + width: 226px !important; } diff --git a/core/lostpassword/templates/lostpassword.php b/core/lostpassword/templates/lostpassword.php index bfc9f23008b..83a23f7b239 100644 --- a/core/lostpassword/templates/lostpassword.php +++ b/core/lostpassword/templates/lostpassword.php @@ -2,7 +2,7 @@ //load the file we need OCP\Util::addStyle('lostpassword', 'lostpassword'); if ($_['requested']): ?> - <div class="success"><p> + <div class="update"><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 .')); ?> @@ -11,11 +11,11 @@ OCP\Util::addStyle('lostpassword', 'lostpassword'); <form action="<?php print_unescaped(OC_Helper::linkToRoute('core_lostpassword_send_email')) ?>" method="post"> <fieldset> <?php if ($_['error']): ?> - <div class="errors"><p align="center"> + <div class="error"><p> <?php print_unescaped($l->t('Request failed!<br>Did you make sure your email/username was right?')); ?> </p></div> <?php endif; ?> - <div class="white"><?php print_unescaped($l->t('You will receive a link to reset your password via Email.')); ?></div> + <div class="update"><?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> |