26 lines
892 B
HTML
26 lines
892 B
HTML
{{ template "header.html" . }}
|
|
<main>
|
|
<div class="info">
|
|
<p>account - <a href="/logout?CSRF={{ .LogoutCSRF }}">logout</a>
|
|
<p>username: {{ .User.Name }}
|
|
<div>
|
|
<form id="aboutform" action="/saveuser" method="POST">
|
|
<input type="hidden" name="CSRF" value="{{ .UserCSRF }}">
|
|
<p>about me:
|
|
<p><textarea name="whatabout">{{ .User.About }}</textarea>
|
|
<p><label class="button" for="skinny">skinny layout:</label>
|
|
<input tabindex=1 type="checkbox" id="skinny" name="skinny" value="skinny" {{ if .User.Options.SkinnyCSS }}checked{{ end }}><span></span>
|
|
<p><button>update settings</button>
|
|
</form>
|
|
</div>
|
|
<div>
|
|
<form action="/chpass" method="POST">
|
|
<input type="hidden" name="CSRF" value="{{ .LogoutCSRF }}">
|
|
<p>change password
|
|
<p><input tabindex=1 type="password" name="oldpass"> - oldpass
|
|
<p><input tabindex=1 type="password" name="newpass"> - newpass
|
|
<p><button>change</button>
|
|
</form>
|
|
</div>
|
|
</main>
|