improve appearance of honkers page
This commit is contained in:
parent
1f97f11605
commit
9a4e2900ac
|
@ -14,17 +14,22 @@
|
||||||
</div>
|
</div>
|
||||||
{{ $honkercsrf := .HonkerCSRF }}
|
{{ $honkercsrf := .HonkerCSRF }}
|
||||||
{{ range .Honkers }}
|
{{ range .Honkers }}
|
||||||
<form action="/savehonker" method="POST" class="honk">
|
<div class="honk">
|
||||||
<input type="hidden" name="CSRF" value="{{ $honkercsrf }}">
|
<div class="title">
|
||||||
<input type="hidden" name="honkerid" value="{{ .ID }}">
|
<img alt="avatar" src="/a?a={{ .XID }}">
|
||||||
<p>name: {{ .Name }}
|
<p style="font-size: 1.8em">{{ .Name }}
|
||||||
<p>url: {{ .XID }}
|
</div>
|
||||||
|
<p>url: <a href="{{ .XID }}" rel=noreferrer>{{ .XID }}</a>
|
||||||
<p>flavor: {{ .Flavor }}
|
<p>flavor: {{ .Flavor }}
|
||||||
<p><a href="/h/{{ .Name }}">honks</a>
|
<p><a href="/h/{{ .Name }}">honks</a>
|
||||||
<p>combos:{{ range .Combos }} <a href="/c/{{ . }}">{{ . }}</a>{{ end }}
|
<p>combos:{{ range .Combos }} <a href="/c/{{ . }}">{{ . }}</a>{{ end }}
|
||||||
|
<form action="/savehonker" method="POST">
|
||||||
|
<input type="hidden" name="CSRF" value="{{ $honkercsrf }}">
|
||||||
|
<input type="hidden" name="honkerid" value="{{ .ID }}">
|
||||||
<p>combos: <input type="text" name="combos" value="{{ range .Combos }}{{ . }} {{end}}">
|
<p>combos: <input type="text" name="combos" value="{{ range .Combos }}{{ . }} {{end}}">
|
||||||
<p><input type="submit" name="save" value="save">
|
<p><input type="submit" name="save" value="save">
|
||||||
</form>
|
</form>
|
||||||
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue