all repos — honk @ da26ed630a4e0b86488f7e38038ce86a1da93ebc

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>