]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix warning text and margin
authorVolkan Gezer <volkangezer@gmail.com>
Tue, 27 May 2014 00:11:58 +0000 (02:11 +0200)
committerVolkan Gezer <volkangezer@gmail.com>
Tue, 27 May 2014 10:29:08 +0000 (12:29 +0200)
core/lostpassword/css/lostpassword.css
core/lostpassword/templates/lostpassword.php

index 85cce9f940790e1b4209a30e20bee763251bafe0..b7f7023648ddffcb7f66b1eab25d2f9540aa92d3 100644 (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;
 }
 
index 83a23f7b23931dd5bf5a277eb59c2918422a6add..d0fed38ee27de672207f5fb9623615f642d30510 100644 (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')); ?>" />