summary refs log tree commit diff
path: root/webclient/user/user.html
diff options
context:
space:
mode:
authorEmmanuel ROHEE <erohee@amdocs.com>2014-08-19 09:37:10 +0200
committerEmmanuel ROHEE <erohee@amdocs.com>2014-08-19 09:37:10 +0200
commitd7a4f2ed7fec3640aea68c5280548470d6c53108 (patch)
tree55ca9bf19d9ca20f4d17821659947b4b38c3f2cc /webclient/user/user.html
parentMade small avatar image center (diff)
downloadsynapse-d7a4f2ed7fec3640aea68c5280548470d6c53108.tar.xz
Fill user page with avatar, display name and matrix id
Diffstat (limited to '')
-rw-r--r--webclient/user/user.html22
1 files changed, 20 insertions, 2 deletions
diff --git a/webclient/user/user.html b/webclient/user/user.html
index f548e05a71..47db09d1ee 100644
--- a/webclient/user/user.html
+++ b/webclient/user/user.html
@@ -3,8 +3,26 @@
     <div id="page">
     <div id="wrapper">
         
-        <div> {{ user.id }}</div>
-    
+        <div>
+            <form>
+                <table>
+                    <tr>
+                        <td>
+                            <div class="profile-avatar">
+                                <img ng-src="{{ user.avatar_url || 'img/default-profile.jpg' }}"/>
+                            </div>
+                        </td>
+                        <td>
+                            <div id="user-ids">
+                                <div id="user-displayname">{{ user.displayname }}</div>
+                                <div>{{ user.id }}</div>                        
+                            </div>
+                        </td>
+                    </tr>
+                </table>
+            </form>
+        </div>
+
         {{ feedback }}
 
     </div>