From 3db517715bef6a53225c5c3c06e8fc5fd0bf71e3 Mon Sep 17 00:00:00 2001 From: FChannel <> Date: Sun, 24 Apr 2022 00:46:49 -0700 Subject: basic pass over view posts, post, catalog and manage page connections --- views/catalog.html | 109 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 109 insertions(+) create mode 100644 views/catalog.html (limited to 'views/catalog.html') diff --git a/views/catalog.html b/views/catalog.html new file mode 100644 index 0000000..c70471e --- /dev/null +++ b/views/catalog.html @@ -0,0 +1,109 @@ +{{ define "header" }} +/{{ .page.Board.Name }}/ - catalog + + + + + + + + + + + + +{{ end }} + +{{ $board := .page.Board }} +
+ + + +
+ +
+ {{ range .page.Posts }} +
+ {{ if eq $board.ModCred $board.Domain $board.Actor.Id }} + [Delete Post] + {{ end }} + {{ if .Attachment }} + {{ if eq $board.ModCred $board.Domain $board.Actor.Id }} + [Delete Attachment] + [Mark Sensitive] + {{ end }} + + + +
{{ parseAttachment . true }}
+
+ + {{ end }} + +
+ {{ $replies := .Replies }} + {{ if $replies }} + R: {{ $replies.TotalItems }}{{ if $replies.TotalImgs }}/ A: {{ $replies.TotalImgs }}{{ end }} + {{ end }} + {{ if .Name }} +
+ {{ .Name }} + {{ end }} + + {{ if .Content }} +
+ {{.Content}} + {{ end }} +
+
+
+ {{ end }} +
+
+ + + +
-- cgit v1.2.3