mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-10-01 08:25:44 -04:00
Attempt to make avatar change clearer
This commit is contained in:
parent
bcf30b29ad
commit
d3c7567369
@ -525,3 +525,13 @@ a:active { color: #000; }
|
|||||||
font-size: 24px;
|
font-size: 24px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#user-displayname-input {
|
||||||
|
width: 160px;
|
||||||
|
max-width: 155px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#user-save-button {
|
||||||
|
width: 160px;
|
||||||
|
font-size: 14px;
|
||||||
|
}
|
||||||
|
|
||||||
|
@ -12,11 +12,12 @@
|
|||||||
<div class="profile-avatar">
|
<div class="profile-avatar">
|
||||||
<img ng-src="{{ (null !== profile.avatarUrl) ? profile.avatarUrl : 'img/default-profile.png' }}" m-file-input="profile.avatarFile"/>
|
<img ng-src="{{ (null !== profile.avatarUrl) ? profile.avatarUrl : 'img/default-profile.png' }}" m-file-input="profile.avatarFile"/>
|
||||||
</div>
|
</div>
|
||||||
<div id="user-ids">
|
<div>
|
||||||
<input size="40" ng-model="profile.displayName" placeholder="Your display name"/>
|
<input id="user-displayname-input" size="40" ng-model="profile.displayName" placeholder="Your display name"/>
|
||||||
<br/>
|
<br/>
|
||||||
<button ng-disabled="(profile.displayName == profileOnServer.displayName) && (profile.avatarUrl == profileOnServer.avatarUrl)"
|
<button id="user-save-button"
|
||||||
ng-click="saveProfile()">Save</button>
|
ng-disabled="(profile.displayName === profileOnServer.displayName) && (profile.avatarUrl === profileOnServer.avatarUrl)"
|
||||||
|
ng-click="saveProfile()">Save changes</button>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user