Skip to content
Snippets Groups Projects
Commit d3c75673 authored by Emmanuel ROHEE's avatar Emmanuel ROHEE
Browse files

Attempt to make avatar change clearer

parent bcf30b29
No related branches found
No related tags found
No related merge requests found
......@@ -525,3 +525,13 @@ a:active { color: #000; }
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">
<img ng-src="{{ (null !== profile.avatarUrl) ? profile.avatarUrl : 'img/default-profile.png' }}" m-file-input="profile.avatarFile"/>
</div>
<div id="user-ids">
<input size="40" ng-model="profile.displayName" placeholder="Your display name"/>
<div>
<input id="user-displayname-input" size="40" ng-model="profile.displayName" placeholder="Your display name"/>
<br/>
<button ng-disabled="(profile.displayName == profileOnServer.displayName) && (profile.avatarUrl == profileOnServer.avatarUrl)"
ng-click="saveProfile()">Save</button>
<button id="user-save-button"
ng-disabled="(profile.displayName === profileOnServer.displayName) && (profile.avatarUrl === profileOnServer.avatarUrl)"
ng-click="saveProfile()">Save changes</button>
</div>
</form>
</div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment