all repos — honk @ 82641e81b2b76dbbf46fc9d2173b1999ab2cff7a

my fork of honk

views/account.html (view raw)

 1{{ template "header.html" . }}
 2<main>
 3<div class="info">
 4<p>account
 5<p><a href="/logout?CSRF={{ .LogoutCSRF }}">logout</a></p>
 6<div>
 7<form id="aboutform" action="/saveuser" method="POST">
 8<p>about
 9<input type="hidden" name="CSRF" value="{{ .UserCSRF }}">
10<p><textarea name="whatabout">{{ .User.About }}</textarea>
11<p><span><label for="skinny">skinny layout:</label>
12<input tabindex=1 type="checkbox" id="skinny" name="skinny" value="skinny" {{ if .User.SkinnyCSS }}checked{{ end }}><span></span></span>
13<p><input type="submit" value="update">
14</form>
15</div>
16<div>
17<form action="/chpass" method="POST">
18<input type="hidden" name="CSRF" value="{{ .LogoutCSRF }}">
19<p>change password
20<p><input tabindex=1 type="password" name="oldpass"> - oldpass
21<p><input tabindex=1 type="password" name="newpass"> - newpass
22<p><input type="submit" value="update">
23</form>
24</div>
25</main>