fix lost password screen - reuse available CSS rules
This commit is contained in:
parent
776346b503
commit
ffbcfef614
|
@ -1,11 +1,12 @@
|
||||||
#body-login
|
#body-login
|
||||||
input[type="text"],
|
input[type="text"],
|
||||||
input[type="submit"] {
|
input[type="submit"] {
|
||||||
margin-left: 0;
|
margin: 5px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
input[type="text"] {
|
input[type="text"]#user{
|
||||||
padding-right: 19px;
|
padding-right: 12px;
|
||||||
|
padding-left: 41px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#body-login
|
#body-login
|
||||||
|
@ -17,10 +18,19 @@ input[type="submit"] {
|
||||||
padding-bottom: 7px;
|
padding-bottom: 7px;
|
||||||
}
|
}
|
||||||
|
|
||||||
fieldset {
|
#body-login input[type="submit"]#submit {
|
||||||
margin-left: 2px;
|
width: 280px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.white {
|
#body-login .update {
|
||||||
color: white;
|
text-align: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
#body-login .update,
|
||||||
|
#body-login .error {
|
||||||
|
margin: 10px 0 5px 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#user {
|
||||||
|
width: 226px !important;
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
//load the file we need
|
//load the file we need
|
||||||
OCP\Util::addStyle('lostpassword', 'lostpassword');
|
OCP\Util::addStyle('lostpassword', 'lostpassword');
|
||||||
if ($_['requested']): ?>
|
if ($_['requested']): ?>
|
||||||
<div class="success"><p>
|
<div class="update"><p>
|
||||||
<?php
|
<?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 .'));
|
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">
|
<form action="<?php print_unescaped(OC_Helper::linkToRoute('core_lostpassword_send_email')) ?>" method="post">
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<?php if ($_['error']): ?>
|
<?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?')); ?>
|
<?php print_unescaped($l->t('Request failed!<br>Did you make sure your email/username was right?')); ?>
|
||||||
</p></div>
|
</p></div>
|
||||||
<?php endif; ?>
|
<?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">
|
<p class="infield">
|
||||||
<input type="text" name="user" id="user" placeholder="" value="" autocomplete="off" required autofocus />
|
<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>
|
<label for="user" class="infield"><?php print_unescaped($l->t( 'Username' )); ?></label>
|
||||||
|
|
Loading…
Reference in New Issue