all repos — honk @ a858688ce680def0d7b5c6ba8ec274518022a16c

my fork of honk

views/account.html (view raw)

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