From 1df70fec27ab5e4aa3dff8521767454be6b5498c Mon Sep 17 00:00:00 2001 From: FChannel <=> Date: Thu, 4 Feb 2021 12:33:42 -0800 Subject: when merging boards into a feed show the board color based on posts restrictions --- static/catalog.html | 189 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 189 insertions(+) create mode 100644 static/catalog.html (limited to 'static/catalog.html') diff --git a/static/catalog.html b/static/catalog.html new file mode 100644 index 0000000..b5b361e --- /dev/null +++ b/static/catalog.html @@ -0,0 +1,189 @@ + + + + {{ .Title }} + + + + + + {{ $board := .Board }} + {{ if $board.IsMod }} + [Manage Board] + {{ end }} +
+

/{{ $board.Name }}/ - {{ $board.PrefName }}

+
+
+
+
+
+
+
+
+
+ + + + +

+
+
+
+ +
+
+
+ +
+ +
+ +
+ {{ range .Posts }} +
+ {{ if $board.IsMod }} + [Delete Post] + {{ end }} + {{ if .Attachment }} + {{ if $board.IsMod }} + [Delete Attachment] + {{ end }} + +
+ + + + {{ end }} +
+ {{ $replies := .Replies }} + R: {{ $replies.TotalItems }}{{ if $replies.TotalImgs }}/ A: {{ $replies.TotalImgs }}{{ end }} + {{ if .Name }} + {{ .Name }} + {{ end }} + {{ if .Content }} + {{.Content}} + {{ end }} +
+
+
+ + {{ end }} +
+
+ +
+ + + -- cgit v1.2.3