aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarin Treselj <marin@pixelipo.com>2017-08-09 11:12:48 +0200
committerMarin Treselj <marin@pixelipo.com>2017-08-09 11:12:48 +0200
commit09d77b8973e221ffd65eb30ab37d6ab2d08ebf88 (patch)
tree7a5953bbf5a125e976abe810fd9e6b906b65965c
parentefa062e5ffeebba7355df6546184b1211c4c5261 (diff)
downloadnextcloud-server-09d77b8973e221ffd65eb30ab37d6ab2d08ebf88.tar.gz
nextcloud-server-09d77b8973e221ffd65eb30ab37d6ab2d08ebf88.zip
Display success and error icons
Signed-off-by: Marin Treselj <marin@pixelipo.com>
-rw-r--r--settings/css/settings.css6
-rw-r--r--settings/templates/settings/personal/personal.info.php8
2 files changed, 7 insertions, 7 deletions
diff --git a/settings/css/settings.css b/settings/css/settings.css
index 70d181a11dc..9202a28899b 100644
--- a/settings/css/settings.css
+++ b/settings/css/settings.css
@@ -166,10 +166,10 @@ input#passwordbutton {
.personal-settings-container > div > form span[class^="icon-checkmark"],
.personal-settings-container > div > form span[class^="icon-error"] {
position: relative;
- left: 90%;
- top: -44px;
+ right: 8px;
+ top: -28px;
pointer-events: none;
- width: 44px;
+ float: right;
}
/* verify accounts */
diff --git a/settings/templates/settings/personal/personal.info.php b/settings/templates/settings/personal/personal.info.php
index 2250af25803..7ed617a939e 100644
--- a/settings/templates/settings/personal/personal.info.php
+++ b/settings/templates/settings/personal/personal.info.php
@@ -131,16 +131,16 @@ vendor_style('jcrop/css/jquery.Jcrop');
<?php if(!$_['displayNameChangeSupported']) { print_unescaped('class="hidden"'); } ?>
placeholder="<?php p($l->t('Your email address')); ?>"
autocomplete="on" autocapitalize="none" autocorrect="off" />
+ <span class="icon-checkmark hidden"></span>
+ <span class="icon-error hidden" ></span>
<?php if(!$_['displayNameChangeSupported']) { ?>
<span><?php if(isset($_['email']) && !empty($_['email'])) { p($_['email']); } else { p($l->t('No email address set')); }?></span>
<?php } ?>
<?php if($_['displayNameChangeSupported']) { ?>
<em><?php p($l->t('For password reset and notifications')); ?></em>
<?php } ?>
- <span class="icon-checkmark hidden"></span>
- <span class="icon-error hidden" ></span>
<?php if($_['lookupServerUploadEnabled']) { ?>
- <input type="hidden" id="emailscope" value="<?php p($_['emailScope']) ?>">
+ <input type="hidden" id="emailscope" value="<?php p($_['emailScope']) ?>">
<?php } ?>
</form>
</div>
@@ -285,7 +285,7 @@ vendor_style('jcrop/css/jquery.Jcrop');
</div>
</div>
</div>
-
+
<div class="profile-settings-container">
<div class="personal-settings-setting-box personal-settings-language-box">
<?php if (isset($_['activelanguage'])) { ?>