Fixed settings page.
This commit is contained in:
parent
bc7af104c4
commit
1b16b3d5e0
2 changed files with 9 additions and 2 deletions
|
@ -4,7 +4,7 @@
|
||||||
<div class="panel panel-default">
|
<div class="panel panel-default">
|
||||||
<div class="panel-body">
|
<div class="panel-body">
|
||||||
<div style="width:100%;max-width:100%;">
|
<div style="width:100%;max-width:100%;">
|
||||||
<img src="/api/user/avatar/{{ user.uid }}" id="avatar" style="width:100%;" />
|
<img src="/api/user/avatar/{{ user.uid }}" id="avatar" style="width:100%;max-height:256px;" />
|
||||||
<small style="display:block;text-align:right;" ng-show="user['me']==true"><a href="/settings#profile">Edit Picture</a></small>
|
<small style="display:block;text-align:right;" ng-show="user['me']==true"><a href="/settings#profile">Edit Picture</a></small>
|
||||||
</div>
|
</div>
|
||||||
<h2 style="margin:0px;font-weight:bold;font-size:2em;">{{ user.name }}</h2>
|
<h2 style="margin:0px;font-weight:bold;font-size:2em;">{{ user.name }}</h2>
|
||||||
|
|
|
@ -21,9 +21,16 @@
|
||||||
<label>Profile Picture</label>
|
<label>Profile Picture</label>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-sm-2">
|
<div class="col-sm-2">
|
||||||
|
<img src="/api/user/avatar/{{ user.uid }}" id="avatar" style="width:100%;max-height:256px;" />
|
||||||
</div>
|
</div>
|
||||||
<div class="col-sm-10">
|
<div class="col-sm-10">
|
||||||
<pre>{{ user }}</pre>
|
<p>
|
||||||
|
<a href="javascript:upload_new_picture();" class="btn btn-primary">Upload new picture</a>
|
||||||
|
<a href="javascript:remove_profile_picture();" class="btn btn-default">Remove profile picture</a>
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
<i>If you remove your picture, an automatically generated <a href="http://en.wikipedia.org/wiki/Identicon" target="_blank">identicon</a> will be used.</i>
|
||||||
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue