From d79a94af4d2cfec4dfde208bcf2ef138f35803cb Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 13 Aug 2019 11:59:38 +0100 Subject: [PATCH] Border and text colors --- daemon.py | 1 + epicyon-profile.css | 6 +++++- webinterface.py | 4 ++-- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/daemon.py b/daemon.py index 57e401e79..9781dc06b 100644 --- a/daemon.py +++ b/daemon.py @@ -2358,6 +2358,7 @@ class PubServer(BaseHTTPRequestHandler): if not (self.path.endswith('/outbox') or \ self.path.endswith('/inbox') or \ self.path.endswith('/shares') or \ + self.path.endswith('/moderationaction') or \ self.path.endswith('/caps/new') or \ self.path=='/sharedInbox'): print('Attempt to POST to invalid path '+self.path) diff --git a/epicyon-profile.css b/epicyon-profile.css index a3fbc0134..db32f45bb 100644 --- a/epicyon-profile.css +++ b/epicyon-profile.css @@ -368,8 +368,12 @@ a:link { border-radius: 0%; } +.replyingto { + color: var(--main-fg-color); +} + .darker { - border-color: #ccc; + border: 2px solid var(--border-color); background-color: var(--main-bg-color-darker); } diff --git a/webinterface.py b/webinterface.py index 9b1bd9ba4..4e7d49662 100644 --- a/webinterface.py +++ b/webinterface.py @@ -843,9 +843,9 @@ def individualPostAsHtml(baseDir: str, \ replyNickname=getNicknameFromActor(postJsonObject['object']['inReplyTo']) replyDomain,replyPort=getDomainFromActor(postJsonObject['object']['inReplyTo']) if replyNickname and replyDomain: - titleStr+=' replying to @'+replyNickname+'@'+replyDomain+'' + titleStr+=' replying to @'+replyNickname+'@'+replyDomain+'' else: - titleStr+=' replying to '+postJsonObject['object']['inReplyTo'] + titleStr+=' replying to '+postJsonObject['object']['inReplyTo'] attachmentStr='' if postJsonObject['object']['attachment']: if isinstance(postJsonObject['object']['attachment'], list):