2019-05-15 01:19:18 +02:00
|
|
|
{{ template "header.html" . }}
|
|
|
|
<main>
|
|
|
|
<div class="info">
|
2019-09-30 20:17:58 +02:00
|
|
|
<p>account - <a href="/logout?CSRF={{ .LogoutCSRF }}">logout</a>
|
2019-11-07 23:50:29 +01:00
|
|
|
<p>username: {{ .User.Name }}
|
2019-05-15 01:19:18 +02:00
|
|
|
<div>
|
|
|
|
<form id="aboutform" action="/saveuser" method="POST">
|
|
|
|
<input type="hidden" name="CSRF" value="{{ .UserCSRF }}">
|
2019-09-30 20:17:58 +02:00
|
|
|
<p>about me:
|
2019-11-26 03:34:57 +01:00
|
|
|
<p><textarea name="whatabout">{{ .WhatAbout }}</textarea>
|
2019-10-29 06:00:38 +01:00
|
|
|
<p><label class="button" for="skinny">skinny layout:</label>
|
|
|
|
<input tabindex=1 type="checkbox" id="skinny" name="skinny" value="skinny" {{ if .User.Options.SkinnyCSS }}checked{{ end }}><span></span>
|
2020-01-17 03:42:48 +01:00
|
|
|
<p><label class="button" for="omitimages">omit images:</label>
|
|
|
|
<input tabindex=1 type="checkbox" id="omitimages" name="omitimages" value="omitimages" {{ if .User.Options.OmitImages }}checked{{ end }}><span></span>
|
2019-11-17 00:50:50 +01:00
|
|
|
<p><label class="button" for="maps">apple map links:</label>
|
|
|
|
<input tabindex=1 type="checkbox" id="maps" name="maps" value="apple" {{ if eq "apple" .User.Options.MapLink }}checked{{ end }}><span></span>
|
2020-01-24 05:34:38 +01:00
|
|
|
<p><label class="button" for="reaction">reaction:</label>
|
|
|
|
<select tabindex=1 name="reaction">
|
|
|
|
<option {{ and (eq .User.Options.Reaction "😞") "selected" }}>😞</option>
|
|
|
|
<option {{ and (eq .User.Options.Reaction "\U0001F937") "selected" }}>{{ "\U0001F937" }}</option>
|
|
|
|
<option {{ and (eq .User.Options.Reaction "🙈") "selected" }}>🙈</option>
|
|
|
|
<option {{ and (eq .User.Options.Reaction "🍆") "selected" }}>🍆</option>
|
|
|
|
<option {{ and (eq .User.Options.Reaction "\U0001F32E") "selected" }}>{{ "\U0001F32E" }}</option>
|
|
|
|
<option {{ and (eq .User.Options.Reaction "🗿") "selected" }}>🗿</option>
|
|
|
|
<option {{ and (eq .User.Options.Reaction "\U0001FA93") "selected" }}>{{ "\U0001FA93" }}</option>
|
|
|
|
<option {{ and (eq .User.Options.Reaction "\U0001F9BE") "selected" }}>{{ "\U0001F9BE" }}</option>
|
|
|
|
</select>
|
2019-09-30 20:17:58 +02:00
|
|
|
<p><button>update settings</button>
|
2019-05-15 01:19:18 +02:00
|
|
|
</form>
|
|
|
|
</div>
|
2020-01-24 05:34:38 +01:00
|
|
|
<hr>
|
2019-05-15 01:19:18 +02:00
|
|
|
<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
|
2019-09-30 20:17:58 +02:00
|
|
|
<p><button>change</button>
|
2019-05-15 01:19:18 +02:00
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</main>
|