summary refs log tree commit diff
diff options
context:
space:
mode:
authorEmmanuel ROHEE <erohee@amdocs.com>2014-09-02 17:00:47 +0200
committerEmmanuel ROHEE <erohee@amdocs.com>2014-09-02 17:00:47 +0200
commitd3c75673699183c0707b281a98c71d245d927462 (patch)
tree948b0750ad600773825face86f256358f0b6d7df
parentBF: Reset base timer time ($scope.now) everytime last_active_ago is touched (diff)
downloadsynapse-d3c75673699183c0707b281a98c71d245d927462.tar.xz
Attempt to make avatar change clearer
-rwxr-xr-xwebclient/app.css10
-rw-r--r--webclient/settings/settings.html9
2 files changed, 15 insertions, 4 deletions
diff --git a/webclient/app.css b/webclient/app.css
index c27ec797a4..dd70f996b8 100755
--- a/webclient/app.css
+++ b/webclient/app.css
@@ -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;
+}
+
diff --git a/webclient/settings/settings.html b/webclient/settings/settings.html
index a69a8de300..03927838d2 100644
--- a/webclient/settings/settings.html
+++ b/webclient/settings/settings.html
@@ -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>