all repos — honk @ 14d1cd8cc0bdeca1ae9780639c73299623b7c640

my fork of honk

always forget to add the new file
Ted Unangst tedu@tedunangst.com
Tue, 14 May 2019 19:19:18 -0400
commit

14d1cd8cc0bdeca1ae9780639c73299623b7c640

parent

3f4e4a9dd65439abb761e7412b890d8faa7a5a1a

1 files changed, 23 insertions(+), 0 deletions(-)

jump to
A views/account.html

@@ -0,0 +1,23 @@

+{{ template "header.html" . }} +<main> +<div class="info"> +<p>account +<p><a href="/logout?CSRF={{ .LogoutCSRF }}">logout</a></p> +<div> +<form id="aboutform" action="/saveuser" method="POST"> +<p>about +<input type="hidden" name="CSRF" value="{{ .UserCSRF }}"> +<p><textarea name="whatabout">{{ .WhatAbout }}</textarea> +<p><input type="submit" value="update"> +</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><input type="submit" value="update"> +</form> +</div> +</main>