unify look of disabled display name / email address and the other input fields
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
This commit is contained in:
parent
ee53a2ed42
commit
6e765ccf39
|
@ -191,6 +191,13 @@ input#openid, input#webdav {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#personal-settings-container input:disabled {
|
||||||
|
background-color: white;
|
||||||
|
color: black;
|
||||||
|
border: none;
|
||||||
|
opacity: 100;
|
||||||
|
}
|
||||||
|
|
||||||
.verification-dialog {
|
.verification-dialog {
|
||||||
display: none;
|
display: none;
|
||||||
right: -9px;
|
right: -9px;
|
||||||
|
|
|
@ -81,12 +81,9 @@
|
||||||
<span class="icon-password"/>
|
<span class="icon-password"/>
|
||||||
</h2>
|
</h2>
|
||||||
<input type="text" id="displayname" name="displayname"
|
<input type="text" id="displayname" name="displayname"
|
||||||
<?php if(!$_['displayNameChangeSupported']) { print_unescaped('class="hidden"'); } ?>
|
<?php if(!$_['displayNameChangeSupported']) { print_unescaped('disabled="1"'); } ?>
|
||||||
value="<?php p($_['displayName']) ?>"
|
value="<?php p($_['displayName']) ?>"
|
||||||
autocomplete="on" autocapitalize="none" autocorrect="off" />
|
autocomplete="on" autocapitalize="none" autocorrect="off" />
|
||||||
<?php if(!$_['displayNameChangeSupported']) { ?>
|
|
||||||
<span><?php if(isset($_['displayName']) && !empty($_['displayName'])) { p($_['displayName']); } else { p($l->t('No display name set')); } ?></span>
|
|
||||||
<?php } ?>
|
|
||||||
<span class="icon-checkmark hidden"/>
|
<span class="icon-checkmark hidden"/>
|
||||||
<?php if($_['lookupServerUploadEnabled']) { ?>
|
<?php if($_['lookupServerUploadEnabled']) { ?>
|
||||||
<input type="hidden" id="displaynamescope" value="<?php p($_['displayNameScope']) ?>">
|
<input type="hidden" id="displaynamescope" value="<?php p($_['displayNameScope']) ?>">
|
||||||
|
@ -114,13 +111,10 @@
|
||||||
}
|
}
|
||||||
?>">
|
?>">
|
||||||
</div>
|
</div>
|
||||||
<input type="email" name="email" id="email" value="<?php p($_['email']); ?>"
|
<input type="email" name="email" id="email" value="<?php if(!$_['displayNameChangeSupported'] && empty($_['email'])) p($l->t('No email address set')); else p($_['email']); ?>"
|
||||||
<?php if(!$_['displayNameChangeSupported']) { print_unescaped('class="hidden"'); } ?>
|
<?php if(!$_['displayNameChangeSupported']) { print_unescaped('disabled="1"'); } ?>
|
||||||
placeholder="<?php p($l->t('Your email address')); ?>"
|
placeholder="<?php p($l->t('Your email address')) ?>"
|
||||||
autocomplete="on" autocapitalize="none" autocorrect="off" />
|
autocomplete="on" autocapitalize="none" autocorrect="off" />
|
||||||
<?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']) { ?>
|
<?php if($_['displayNameChangeSupported']) { ?>
|
||||||
<br />
|
<br />
|
||||||
<em><?php p($l->t('For password reset and notifications')); ?></em>
|
<em><?php p($l->t('For password reset and notifications')); ?></em>
|
||||||
|
|
Loading…
Reference in New Issue