forked from MirrorHub/synapse
1bc036a12d
- add a simple CSS template across the app for navigation & cosmetics - split login into login & register, and totally reskin it - restructure room CSS to play nicely with it - implement basis 1:1 chat from user pages - disable autofocus on iOS to improve UX
25 lines
758 B
HTML
25 lines
758 B
HTML
<div ng-controller="UserController" class="user">
|
|
|
|
<div id="wrapper">
|
|
|
|
<div id="genericHeading">
|
|
<img src="img/logo-small.png" width="100" height="43" alt="[matrix]"/>
|
|
</div>
|
|
|
|
<h1>{{ user.displayname || user.id }}</h1>
|
|
|
|
<div>
|
|
<div class="profile-avatar">
|
|
<img ng-src="{{ user.avatar_url || 'img/default-profile.png' }}"/>
|
|
</div>
|
|
<div id="user-ids">
|
|
<div>{{ user.id }}</div>
|
|
</div>
|
|
</div>
|
|
|
|
<button ng-hide="user.id == user_id" ng-click="messageUser()" style="font-size: 14pt; margin-top: 40px; margin-bottom: 40px">Start chat</button>
|
|
<br/>
|
|
{{ feedback }}
|
|
|
|
</div>
|
|
</div>
|