all repos — honk @ b596ad218e88d8d3a550a91c178dfa6494c32c79

my fork of honk

try to trim buttons down to essentials
Ted Unangst tedu@tedunangst.com
Fri, 08 May 2020 16:26:12 -0400
commit

b596ad218e88d8d3a550a91c178dfa6494c32c79

parent

e18c74cd26ba9bbf5a397e5da7b476b2992dbe8f

1 files changed, 5 insertions(+), 2 deletions(-)

jump to
M views/honk.htmlviews/honk.html

@@ -94,8 +94,7 @@ {{ end }}

{{ if and $bonkcsrf (not $IsPreview) }} <p> <details class="actions"> -<summary>Actions -</summary> +<summary>Actions</summary> <div> <p> {{ if .Honk.Public }}

@@ -109,6 +108,10 @@ <button disabled>nope</button>

{{ end }} <button onclick="return showhonkform(this, '{{ .Honk.XID }}', '{{ .Honk.Handle }}');"><a href="/newhonk?rid={{ .Honk.XID }}">honk back</a></button> <button onclick="return muteit(this, '{{ .Honk.Convoy }}');">mute</button> +<button onclick="return showelement('evenmore{{ .Honk.ID }}')">even more</button> +</div> +<div id="evenmore{{ .Honk.ID }}" style="display:none"> +<p> <button onclick="return zonkit(this, '{{ .Honk.XID }}');">zonk</button> {{ if .Honk.IsAcked }} <button onclick="return flogit(this, 'deack', '{{ .Honk.XID }}');">deack</button>