summaryrefslogtreecommitdiffstats
path: root/core/lostpassword/templates
diff options
context:
space:
mode:
authorMorris Jobke <morris.jobke@gmail.com>2013-10-29 13:42:39 +0100
committerMorris Jobke <morris.jobke@gmail.com>2013-10-29 13:42:39 +0100
commitffbcfef614715ffaa1d53bdd6744e533ddaeb8c1 (patch)
treed1c002ff07fad6d95cef3fc7003d7daefa00a9b8 /core/lostpassword/templates
parent776346b5037282f352c206d66224b5b2a32f56f5 (diff)
downloadnextcloud-server-ffbcfef614715ffaa1d53bdd6744e533ddaeb8c1.tar.gz
nextcloud-server-ffbcfef614715ffaa1d53bdd6744e533ddaeb8c1.zip
fix lost password screen - reuse available CSS rules
Diffstat (limited to 'core/lostpassword/templates')
-rw-r--r--core/lostpassword/templates/lostpassword.php6
1 files changed, 3 insertions, 3 deletions
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>