From ef7eb7330018c84a44fb24711982c25f51749d2e Mon Sep 17 00:00:00 2001 From: FChannel <> Date: Thu, 24 Jun 2021 23:45:18 -0700 Subject: changed activitystream formating for objects to better align with pleromas actor field --- static/main.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'static') diff --git a/static/main.html b/static/main.html index 172f90b..91d8344 100644 --- a/static/main.html +++ b/static/main.html @@ -22,7 +22,7 @@ } body { - {{ if .Board.Post.Actor.Restricted }} + {{ if .Board.Restricted }} background-color: #eef2fe; color: black; {{ else }} @@ -32,7 +32,7 @@ } .popup-box { - {{ if .Board.Post.Actor.Restricted }} + {{ if .Board.Restricted }} border: 4px solid #d3caf0; background-color: #eff5ff; {{ else }} @@ -46,7 +46,7 @@ } .reply { - {{ if .Board.Post.Actor.Restricted }} + {{ if .Board.Restricted }} color:#af0a0f; {{ else }} color:#000080; @@ -54,7 +54,7 @@ } .post { - {{ if .Board.Post.Actor.Restricted }} + {{ if .Board.Restricted }} background-color: #d5daf0; {{ else }} background-color: #f0e0d6; @@ -62,7 +62,7 @@ } :target > div > .post { - {{ if .Board.Post.Actor.Restricted }} + {{ if .Board.Restricted }} background-color: #d6bad0; {{ else }} background-color: #f0c0b0; -- cgit v1.2.3