From fbd5e54c952663d0f0fab352d37d3baeefdb2e53 Mon Sep 17 00:00:00 2001 From: FChannel <> Date: Thu, 13 May 2021 23:47:42 -0700 Subject: improved tripcodes --- static/posts.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'static/posts.html') diff --git a/static/posts.html b/static/posts.html index a32d7c5..7806204 100644 --- a/static/posts.html +++ b/static/posts.html @@ -60,7 +60,7 @@ } {{ end }} - {{ .Name }}{{ if .AttributedTo }} {{.AttributedTo }} {{ else }} Anonymous {{ end }}{{ .Published }} No. {{ .Id }} {{ if ne .Type "Tombstone" }}[Report]{{ end }} + {{ .Name }}{{ if .AttributedTo }} {{.AttributedTo }} {{ else }} Anonymous {{ end }} {{ .TripCode }} {{ .Published }} No. {{ .Id }} {{ if ne .Type "Tombstone" }}[Report]{{ end }}

{{.Content}}

{{ if .Replies }} {{ $replies := .Replies }} @@ -126,7 +126,7 @@ } {{ end }} - {{ .Name }}{{ if .AttributedTo }} {{.AttributedTo }} {{ else }} Anonymous {{ end }}{{ .Published }} No. {{ .Id }} {{ if ne .Type "Tombstone" }}[Report]{{ end }} + {{ .Name }}{{ if .AttributedTo }} {{.AttributedTo }} {{ else }} Anonymous {{ end }} {{ .TripCode }} {{ .Published }} No. {{ .Id }} {{ if ne .Type "Tombstone" }}[Report]{{ end }} {{ $parentId := .Id }} {{ if .Replies.OrderedItems }} {{ range .Replies.OrderedItems }} -- cgit v1.2.3 From caa24b5f43709f3201faf0eabf2ac7afcdee17f7 Mon Sep 17 00:00:00 2001 From: FChannel <> Date: Sun, 30 May 2021 21:40:04 -0700 Subject: more route redirection cleanup --- static/posts.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'static/posts.html') diff --git a/static/posts.html b/static/posts.html index 7806204..aaf10c9 100644 --- a/static/posts.html +++ b/static/posts.html @@ -9,11 +9,11 @@
{{ if eq $board.ModCred $board.Domain $board.Actor.Id }} - [Delete Post] + [Delete Post] {{ end }} {{ if .Attachment }} {{ if eq $board.ModCred $board.Domain $board.Actor.Id }} - [Delete Attachment] + [Delete Attachment] {{ end }} File: {{ (index .Attachment 0).Name }}({{ (index .Attachment 0).Size }})
@@ -75,11 +75,11 @@
>>
{{ if eq $board.ModCred $board.Domain $board.Actor.Id }} - [Delete Post] + [Delete Post] {{ end }} {{ if .Attachment }} {{ if eq $board.ModCred $board.Domain $board.Actor.Id }} - [Delete Attachment] + [Delete Attachment] {{ end }} File {{ (index .Attachment 0).Name }} ({{ (index .Attachment 0).Size }})
-- cgit v1.2.3 From 9d937e6f895ca7213ae759efca9b292a1d014ab3 Mon Sep 17 00:00:00 2001 From: FChannel <> Date: Thu, 3 Jun 2021 01:19:37 -0700 Subject: cleaning up removing posts --- static/posts.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'static/posts.html') diff --git a/static/posts.html b/static/posts.html index aaf10c9..ee71faf 100644 --- a/static/posts.html +++ b/static/posts.html @@ -79,7 +79,7 @@ {{ end }} {{ if .Attachment }} {{ if eq $board.ModCred $board.Domain $board.Actor.Id }} - [Delete Attachment] + [Delete Attachment] {{ end }} File {{ (index .Attachment 0).Name }} ({{ (index .Attachment 0).Size }})
-- cgit v1.2.3 From cc24155859b65653495747bd0b38be9bcef33298 Mon Sep 17 00:00:00 2001 From: FChannel <> Date: Thu, 17 Jun 2021 00:21:07 -0700 Subject: added html meta data as well as basic hover effect on links --- static/posts.html | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'static/posts.html') diff --git a/static/posts.html b/static/posts.html index ee71faf..bfcc84b 100644 --- a/static/posts.html +++ b/static/posts.html @@ -131,10 +131,13 @@ {{ if .Replies.OrderedItems }} {{ range .Replies.OrderedItems }} - - {{ end }} - {{ end }} -

{{.Content}}

+ + {{ end }} + {{ end }} +

{{.Content}}

-- cgit v1.2.3 From 6b265b0a8c2e45422f4a4601e041d44e5cef1c1b Mon Sep 17 00:00:00 2001 From: FChannel <> Date: Sat, 19 Jun 2021 18:26:14 -0700 Subject: added sensitive content checkbox for upload --- static/posts.html | 41 ++++++++++++++++++++++++++++++++++------- 1 file changed, 34 insertions(+), 7 deletions(-) (limited to 'static/posts.html') diff --git a/static/posts.html b/static/posts.html index bfcc84b..a6cac44 100644 --- a/static/posts.html +++ b/static/posts.html @@ -14,14 +14,27 @@ {{ if .Attachment }} {{ if eq $board.ModCred $board.Domain $board.Actor.Id }} [Delete Attachment] + [Mark Sensitive] {{ end }} File: {{ (index .Attachment 0).Name }}({{ (index .Attachment 0).Size }}) + +