99da1fcbaa
Added support for temporary bans. Moved the Gosora specific template logic out of main.go and into template_init.go Added an internal temporary group API. We now use h1s in the theme headers. There may be some issues with the themes other than Shadow which we may need to resolve. Added ARIA attributes in a few places for improved accessibility. Added support for inputs in links for the .edit_field API. Removed a few unneccesary prepared statements.
21 lines
757 B
HTML
21 lines
757 B
HTML
{{template "header.html" . }}
|
|
{{template "account-menu.html" . }}
|
|
<main class="colstack_right">
|
|
<div class="colstack_item colstack_head rowhead">
|
|
<div class="rowitem"><h1>Emails</h1></div>
|
|
</div>
|
|
<div class="colstack_item">
|
|
<!-- TO-DO: Do we need this inline CSS? -->
|
|
{{range .ItemList}}
|
|
<div class="rowitem" style="font-weight: normal;">
|
|
<a style="text-transform: none;">{{.Email}}</a>
|
|
<span style="float: right">
|
|
<span class="username">{{if .Primary}}Primary{{else}}Secondary{{end}}</span>
|
|
{{if .Validated}}<span class="username" style="color: green;">Verified</span>{{else}}<a class="username" style="color: crimson;">Resend Verification Email</a>{{end}}
|
|
</span>
|
|
</div>
|
|
{{end}}
|
|
</div>
|
|
</main>
|
|
{{template "footer.html" . }}
|