2019-04-09 13:59:33 +02:00
|
|
|
{{ template "header.html" . }}
|
2023-01-26 21:56:48 +01:00
|
|
|
<script src="/misc.js{{ .MiscJSParam }}" defer></script>
|
2019-04-29 01:31:27 +02:00
|
|
|
<main>
|
2019-04-09 13:59:33 +02:00
|
|
|
<div class="info">
|
|
|
|
<p>
|
2019-09-11 22:20:22 +02:00
|
|
|
<form action="/submithonker" method="POST">
|
2019-10-08 08:06:09 +02:00
|
|
|
<h3>add new honker</h3>
|
2019-04-09 13:59:33 +02:00
|
|
|
<input type="hidden" name="CSRF" value="{{ .HonkerCSRF }}">
|
2019-10-08 08:06:09 +02:00
|
|
|
<p><label for=url>url:</label><br>
|
|
|
|
<input tabindex=1 type="text" name="url" value="" autocomplete=off>
|
|
|
|
<p><label for=name>name:</label><br>
|
|
|
|
<input tabindex=1 type="text" name="name" value="" placeholder="optional" autocomplete=off>
|
|
|
|
<p><label for=combos>combos:</label><br>
|
|
|
|
<input tabindex=1 type="text" name="combos" value="" placeholder="optional">
|
2019-10-12 16:42:45 +02:00
|
|
|
<p><span><label class=button for="peep">skip subscribe:
|
2019-10-08 08:06:09 +02:00
|
|
|
<input tabindex=1 type="checkbox" id="peep" name="peep" value="peep"><span></span></label></span>
|
2019-12-03 00:26:29 +01:00
|
|
|
<p><label for="notes">notes:</label><br>
|
|
|
|
<textarea tabindex=1 name="notes">
|
|
|
|
</textarea>
|
2019-10-01 00:45:18 +02:00
|
|
|
<p><button tabindex=1 name="add honker" value="add honker">add honker</button>
|
2019-04-09 13:59:33 +02:00
|
|
|
</form>
|
|
|
|
</div>
|
2019-04-22 23:03:55 +02:00
|
|
|
{{ $honkercsrf := .HonkerCSRF }}
|
2019-07-16 03:32:38 +02:00
|
|
|
<div class="info">
|
2023-01-26 21:56:48 +01:00
|
|
|
<p><button class="expand">expand</button>
|
2019-07-16 03:32:38 +02:00
|
|
|
</div>
|
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 }}">
|
2023-01-26 21:56:48 +01:00
|
|
|
<p class="font18em"><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-09-11 22:20:22 +02:00
|
|
|
<form action="/submithonker" method="POST">
|
2019-04-24 16:56:39 +02:00
|
|
|
<input type="hidden" name="CSRF" value="{{ $honkercsrf }}">
|
|
|
|
<input type="hidden" name="honkerid" value="{{ .ID }}">
|
2019-10-07 03:45:58 +02:00
|
|
|
<p>name: <input type="text" name="name" value="{{ .Name }}">
|
2019-12-03 00:26:29 +01:00
|
|
|
<p><label for="notes">notes:</label><br>
|
|
|
|
<textarea name="notes">{{ .Meta.Notes }}</textarea>
|
2019-04-22 23:03:55 +02:00
|
|
|
<p>combos: <input type="text" name="combos" value="{{ range .Combos }}{{ . }} {{end}}">
|
2020-11-26 04:03:46 +01:00
|
|
|
<p>
|
|
|
|
<button name="save" value="save">save</button>
|
|
|
|
<button name="sub" value="sub">(re)sub</button>
|
|
|
|
<button name="unsub" value="unsub">unsub</button>
|
|
|
|
<button name="delete" value="delete">delete</button>
|
2019-04-22 23:03:55 +02:00
|
|
|
</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>
|