2019-04-09 13:59:33 +02:00
|
|
|
{{ template "header.html" . }}
|
2019-04-29 01:31:27 +02:00
|
|
|
<main>
|
2019-04-09 13:59:33 +02:00
|
|
|
<div class="info">
|
|
|
|
<p>
|
|
|
|
<form action="/savehonker" method="POST">
|
|
|
|
<span class="title">add new honker</span>
|
|
|
|
<input type="hidden" name="CSRF" value="{{ .HonkerCSRF }}">
|
|
|
|
<p><input tabindex=1 type="text" name="name" value="" autocomplete=off> - name
|
|
|
|
<p><input tabindex=1 type="text" name="url" value="" autocomplete=off> - url
|
|
|
|
<p><span><label for="peep">just peeping:</label>
|
|
|
|
<input tabindex=1 type="checkbox" id="peep" name="peep" value="peep"><span></span></span>
|
|
|
|
<p><input tabindex=1 type="submit" name="add honker" value="add honker">
|
|
|
|
</form>
|
|
|
|
</div>
|
2019-04-22 23:03:55 +02:00
|
|
|
{{ $honkercsrf := .HonkerCSRF }}
|
2019-04-09 13:59:33 +02:00
|
|
|
{{ range .Honkers }}
|
2019-04-29 01:31:27 +02:00
|
|
|
<section class="honk">
|
|
|
|
<header>
|
2019-04-24 16:56:39 +02:00
|
|
|
<img alt="avatar" src="/a?a={{ .XID }}">
|
2019-05-26 22:04:39 +02:00
|
|
|
<p style="font-size: 1.8em"><a href="/h/{{ .Name }}">{{ .Name }}<a>
|
2019-04-29 01:31:27 +02:00
|
|
|
</header>
|
2019-07-16 02:21:47 +02:00
|
|
|
<p>
|
|
|
|
<details>
|
2019-04-24 16:56:39 +02:00
|
|
|
<p>url: <a href="{{ .XID }}" rel=noreferrer>{{ .XID }}</a>
|
2019-04-09 13:59:33 +02:00
|
|
|
<p>flavor: {{ .Flavor }}
|
2019-04-24 16:56:39 +02:00
|
|
|
<form action="/savehonker" method="POST">
|
|
|
|
<input type="hidden" name="CSRF" value="{{ $honkercsrf }}">
|
|
|
|
<input type="hidden" name="honkerid" value="{{ .ID }}">
|
2019-04-22 23:03:55 +02:00
|
|
|
<p>combos: <input type="text" name="combos" value="{{ range .Combos }}{{ . }} {{end}}">
|
2019-05-26 22:04:39 +02:00
|
|
|
<p>depart: <input type="text" name="goodbye" placeholder="press F" value="" autocomplete=off>
|
2019-04-22 23:03:55 +02:00
|
|
|
<p><input type="submit" name="save" value="save">
|
|
|
|
</form>
|
2019-07-16 02:21:47 +02:00
|
|
|
</details>
|
|
|
|
<p>
|
2019-04-29 01:31:27 +02:00
|
|
|
</section>
|
2019-04-09 13:59:33 +02:00
|
|
|
{{ end }}
|
2019-04-29 01:31:27 +02:00
|
|
|
</main>
|