fix warning text and margin

This commit is contained in:
Volkan Gezer 2014-05-27 02:11:58 +02:00
parent a34491e288
commit 46555b50a1
2 changed files with 4 additions and 9 deletions

View File

@ -1,11 +1,6 @@
#body-login
input[type="text"],
input[type="submit"] {
margin: 5px 0;
}
input[type="text"]#user{
padding-right: 12px;
padding-right: 20px;
padding-left: 41px;
}

View File

@ -21,10 +21,10 @@ OCP\Util::addStyle('lostpassword', 'lostpassword');
<label for="user" class="infield"><?php print_unescaped($l->t( 'Username' )); ?></label>
<img class="svg" src="<?php print_unescaped(image_path('', 'actions/user.svg')); ?>" alt=""/>
<?php if ($_['isEncrypted']): ?>
<br /><br />
<?php print_unescaped($l->t("Your files are encrypted. If you haven't enabled the recovery key, there will be no way to get your data back after your password is reset. If you are not sure what to do, please contact your administrator before you continue. Do you really want to continue?")); ?><br />
<br />
<p class="warning"><?php print_unescaped($l->t("Your files are encrypted. If you haven't enabled the recovery key, there will be no way to get your data back after your password is reset. If you are not sure what to do, please contact your administrator before you continue. Do you really want to continue?")); ?><br />
<input type="checkbox" name="continue" value="Yes" />
<?php print_unescaped($l->t('Yes, I really want to reset my password now')); ?><br/><br/>
<?php print_unescaped($l->t('Yes, I really want to reset my password now')); ?></p>
<?php endif; ?>
</p>
<input type="submit" id="submit" value="<?php print_unescaped($l->t('Reset')); ?>" />