From 2566e314e8351ffbceae9a2688d90a5c811d49e5 Mon Sep 17 00:00:00 2001 From: FChannel <=> Date: Fri, 22 Jan 2021 21:12:26 -0800 Subject: client to server conversion --- static/ncatalog.html | 93 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 93 insertions(+) create mode 100644 static/ncatalog.html (limited to 'static/ncatalog.html') diff --git a/static/ncatalog.html b/static/ncatalog.html new file mode 100644 index 0000000..a57e291 --- /dev/null +++ b/static/ncatalog.html @@ -0,0 +1,93 @@ +{{ define "header" }} + +{{ end }} + +{{ define "content" }} +{{ $board := .Board }} +
+ +
+ +
+ {{ range .Posts }} +
+ {{ if eq $board.ModCred $board.Domain $board.Actor }} + [Delete Post] + {{ end }} + {{ if .Attachment }} + {{ if eq $board.ModCred $board.Domain $board.Actor }} + [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 }} +
+
+ +
+{{ end }} +{{ define "bottom" }} +{{ end }} + +{{ define "script" }} +{{ end }} -- cgit v1.2.3