2016-12-02 15:03:31 +00:00
|
|
|
{{template "header.html" . }}
|
2017-01-03 07:47:31 +00:00
|
|
|
{{template "account-menu.html" . }}
|
2017-03-18 07:23:02 +00:00
|
|
|
<div class="colstack_right">
|
|
|
|
<div class="colstack_item colstack_head">
|
|
|
|
<div class="rowitem rowhead"><a>Edit Avatar</a></div>
|
|
|
|
</div>
|
|
|
|
{{if .CurrentUser.Avatar}}
|
|
|
|
<div class="colstack_item">
|
|
|
|
<div class="rowitem"><img src="{{.CurrentUser.Avatar}}" height="128px" max-width="128px" /></div>
|
|
|
|
</div>
|
|
|
|
{{end}}
|
|
|
|
<div class="colstack_item">
|
|
|
|
<form action="/user/edit/avatar/submit/" method="post" enctype="multipart/form-data">
|
|
|
|
<div class="formrow">
|
2017-05-29 14:52:37 +00:00
|
|
|
<div class="formitem formlabel"><a>Upload Avatar</a></div>
|
2017-03-18 07:23:02 +00:00
|
|
|
<div class="formitem"><input name="account-avatar" type="file" /></div>
|
|
|
|
</div>
|
|
|
|
<div class="formrow">
|
|
|
|
<div class="formitem"><button name="account-button" class="formbutton">Update</button></div>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
2016-12-02 15:03:31 +00:00
|
|
|
</div>
|
2017-05-29 14:52:37 +00:00
|
|
|
{{template "footer.html" . }}
|