all repos — honk @ 9c41d372a392c2d6195ef4a32c7c244869282e90

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>