33c2f4ccb0
Added support for SSL. Added the email system. Not fully tested. Added Email Verification. Added the Emails Page in the Account Manager. Email Activation is now fully supported. Fixed CustomErrorJSQ() and added CustomError(). Added commented out tests for Vestigo. Added tests for the new (possibly temporary) custom router. Swapped some of the custom error blocks for the Account Manager with LocalError calls. Moved the account menu into it's own template.
22 lines
768 B
HTML
22 lines
768 B
HTML
{{template "header.html" . }}
|
|
{{template "account-menu.html" . }}
|
|
<div class="colblock_right">
|
|
<div class="rowitem"><a>Edit Avatar</a></div>
|
|
</div>
|
|
{{ if .CurrentUser.Avatar }}
|
|
<div class="colblock_right">
|
|
<div class="rowitem"><img src="{{.CurrentUser.Avatar}}" height="128px" max-width="128px" /></div>
|
|
</div>
|
|
{{end}}
|
|
<div class="colblock_right">
|
|
<form action="/user/edit/avatar/submit/" method="post" enctype="multipart/form-data">
|
|
<div class="formrow">
|
|
<div class="formitem"><a>Upload Avatar</a></div>
|
|
<div class="formitem"><input name="account-avatar" type="file" /></div>
|
|
</div>
|
|
<div class="formrow">
|
|
<div class="formitem"><button name="account-button" class="formbutton">Update</div></div>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
{{template "footer.html" . }} |