all repos — honk @ 4383bba0663db4b587d2af9f4f49d1c742bf94bb

my fork of honk

views/honkers.html (view raw)

 1{{ template "header.html" . }}
 2<div class="center">
 3<div class="info">
 4<p>
 5<form action="/savehonker" method="POST">
 6<span class="title">add new honker</span>
 7<input type="hidden" name="CSRF" value="{{ .HonkerCSRF }}">
 8<p><input tabindex=1 type="text" name="name" value="" autocomplete=off> - name
 9<p><input tabindex=1 type="text" name="url" value="" autocomplete=off> - url
10<p><span><label for="peep">just peeping:</label>
11<input tabindex=1 type="checkbox" id="peep" name="peep" value="peep"><span></span></span>
12<p><input tabindex=1 type="submit" name="add honker" value="add honker">
13</form>
14</div>
15{{ range .Honkers }}
16<div class="honk" id="honker{{ .ID }}">
17<p>
18<span class="linktitle">{{ .Name }}</span>
19<p>url: {{ .XID }}
20<p><a href="/h/{{ .Name }}">honks</a>
21<p>flavor: {{ .Flavor }}
22</div>
23{{ end }}
24</div>
25</div>