diff options
author | Miquel Lionel <lionel@les-miquelots.net> | 2021-06-17 22:30:49 +0100 |
---|---|---|
committer | Miquel Lionel <lionel@les-miquelots.net> | 2021-06-17 22:31:25 +0100 |
commit | 015a31a14f5de5a1c7aa3dc71175eb0c2fe58b30 (patch) | |
tree | 81cf315da47e263a79a892428240502cf0f7d079 /views/i18n/honkpage.html | |
parent | bf1a991d4337ebc15ed4e52176c8acf382ef0701 (diff) | |
download | honk_custom-015a31a14f5de5a1c7aa3dc71175eb0c2fe58b30.tar.gz honk_custom-015a31a14f5de5a1c7aa3dc71175eb0c2fe58b30.zip |
shorter patch names, updated README.md, new Makefile
Diffstat (limited to 'views/i18n/honkpage.html')
-rw-r--r-- | views/i18n/honkpage.html | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/views/i18n/honkpage.html b/views/i18n/honkpage.html deleted file mode 100644 index 0ae42ef..0000000 --- a/views/i18n/honkpage.html +++ /dev/null @@ -1,45 +0,0 @@ -{{ template "header.html" . }} -<main> -<div class="info" id="infobox"> -<div id="srvmsg"> -{{ if .Name }} -<p>{{ .Name }} <span style="margin-left:1em;"><a href="/u/{{ .Name }}/rss">rss</a></span> -<p>{{ .WhatAbout }} -{{ end }} -<p>{{ .ServerMessage }} -</div> -{{ if .HonkCSRF }} -{{ template "honkform.html" . }} -<script> -var csrftoken = {{ .HonkCSRF }} -var honksforpage = { } -var curpagestate = { name: "{{ .PageName }}", arg : "{{ .PageArg }}" } -var tophid = { } -tophid[curpagestate.name + ":" + curpagestate.arg] = "{{ .TopHID }}" -var servermsgs = { } -servermsgs[curpagestate.name + ":" + curpagestate.arg] = "{{ .ServerMessage }}" -</script> -<script src="/honkpage.js{{ .JSParam }}"></script> -{{ end }} -</div> -{{ if and .HonkCSRF (not .IsPreview) }} -<div class="info" id="refreshbox"> -<p><button onclick="refreshhonks(this)">{{ .i18n.Refresh }}</button><span></span> -<button onclick="oldestnewest(this)">{{ .i18n.ScrollDown }}</button> -</div> -{{ if eq .ServerMessage .i18n.MoarHonks }} <script> hideelement("refreshbox")</script> {{ end }} -{{ end }} -<div id="honksonpage"> -<div> -{{ $BonkCSRF := .HonkCSRF }} -{{ $IsPreview := .IsPreview }} -{{ $MapLink := .MapLink }} -{{ $Badonk := .User.Options.Reaction }} -{{ $i18n := .i18n }} -{{ $OmitImages := .User.Options.OmitImages }} -{{ range .Honks }} -{{ template "honk.html" map "Honk" . "MapLink" $MapLink "BonkCSRF" $BonkCSRF "IsPreview" $IsPreview "Badonk" $Badonk "OmitImages" $OmitImages "i18n" $i18n }} -{{ end }} -</div> -</div> -</main> |