From ac288d40da3235b9382d685c9958ad167a758bcd Mon Sep 17 00:00:00 2001 From: FChannel <> Date: Sat, 31 Jul 2021 11:42:59 -0700 Subject: added archive page and viewing --- static/top.html | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 51 insertions(+), 4 deletions(-) (limited to 'static/top.html') diff --git a/static/top.html b/static/top.html index 952feb0..0081fc7 100644 --- a/static/top.html +++ b/static/top.html @@ -3,11 +3,12 @@

/{{ .Board.Name }}/ - {{ .Board.PrefName }}

{{ .Board.Summary }}

{{ $len := len .Posts }} + {{ if eq $len 0 }} {{ if .Board.InReplyTo }} - {{ else }} + {{ else }} - {{ end }} + {{ end }}

@@ -35,9 +36,55 @@
+ + {{ else }} + + {{ if eq (index .Posts 0).Type "Note" }} + {{ if .Board.InReplyTo }} + + {{ else }} + + {{ end }} + {{ $len := len .Posts }} +
+
+
+
+
+ {{ if .Board.InReplyTo }}{{ end }}
+ {{ if eq .Board.InReplyTo "" }} +
+
+ {{ end }} +
+
+ + + + + +

+ Mark attachment as sensitive

+ +
+
+
+ +
+
+
+ {{ else }} +

Archived Post

+ {{ end }} + {{ end }} {{ end }} -- cgit v1.2.3