Display success and error icons

Signed-off-by: Marin Treselj <marin@pixelipo.com>
pull/6031/head
Marin Treselj 2017-08-09 11:12:48 +07:00
parent efa062e5ff
commit 09d77b8973
2 changed files with 7 additions and 7 deletions

@ -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 */

@ -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'])) { ?>