aboutsummaryrefslogtreecommitdiff
path: root/v0.9.5/views/i18n/xzone.html
diff options
context:
space:
mode:
authorMiquel Lionel <lionelmiquel@sfr.fr>2021-02-17 13:48:13 +0100
committerMiquel Lionel <lionel@les-miquelots.net>2021-02-17 13:48:13 +0100
commit2430bf57c22948e66b2c918d324d6e0bff4f6792 (patch)
tree0d79e5d8b5780d6c8d625de50d784a7da3a2a26b /v0.9.5/views/i18n/xzone.html
parent19cfd918aa30f316754b118278fc6853d7b8e04b (diff)
downloadhonk_custom-2430bf57c22948e66b2c918d324d6e0bff4f6792.tar.gz
honk_custom-2430bf57c22948e66b2c918d324d6e0bff4f6792.zip
add i18n'd html templates, newer patch for web.go
Diffstat (limited to 'v0.9.5/views/i18n/xzone.html')
-rw-r--r--v0.9.5/views/i18n/xzone.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/v0.9.5/views/i18n/xzone.html b/v0.9.5/views/i18n/xzone.html
new file mode 100644
index 0000000..e2ab0d7
--- /dev/null
+++ b/v0.9.5/views/i18n/xzone.html
@@ -0,0 +1,17 @@
+{{ template "header.html" . }}
+<main>
+<div class="info">
+<form action="/ximport" method="POST">
+<input type="hidden" name="CSRF" value="{{ .XCSRF }}">
+<p><span class="title">{{ .i18n.Import }}</span>
+<p><input tabindex=1 type="text" name="xid" autocomplete=off> - xid
+<p><button tabindex=1 name="fetch" value="{{ .i18n.Fetch }}">{{ .i18n.Fetch }}</button>
+</form>
+</div>
+{{ $i18n := .i18n }}
+{{ range .Honkers }}
+<section class="honk">
+<p><a href="/h?xid={{ .XID }}">{{ $i18n.Honks }}</a> {{ $i18n.HonksFrom }} {{ .Handle }}
+</section>
+{{ end }}
+</main>