forked from indymedia/epicyon
Border and text colors
parent
9b08d803d7
commit
d79a94af4d
|
@ -2358,6 +2358,7 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
if not (self.path.endswith('/outbox') or \
|
if not (self.path.endswith('/outbox') or \
|
||||||
self.path.endswith('/inbox') or \
|
self.path.endswith('/inbox') or \
|
||||||
self.path.endswith('/shares') or \
|
self.path.endswith('/shares') or \
|
||||||
|
self.path.endswith('/moderationaction') or \
|
||||||
self.path.endswith('/caps/new') or \
|
self.path.endswith('/caps/new') or \
|
||||||
self.path=='/sharedInbox'):
|
self.path=='/sharedInbox'):
|
||||||
print('Attempt to POST to invalid path '+self.path)
|
print('Attempt to POST to invalid path '+self.path)
|
||||||
|
|
|
@ -368,8 +368,12 @@ a:link {
|
||||||
border-radius: 0%;
|
border-radius: 0%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.replyingto {
|
||||||
|
color: var(--main-fg-color);
|
||||||
|
}
|
||||||
|
|
||||||
.darker {
|
.darker {
|
||||||
border-color: #ccc;
|
border: 2px solid var(--border-color);
|
||||||
background-color: var(--main-bg-color-darker);
|
background-color: var(--main-bg-color-darker);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -843,9 +843,9 @@ def individualPostAsHtml(baseDir: str, \
|
||||||
replyNickname=getNicknameFromActor(postJsonObject['object']['inReplyTo'])
|
replyNickname=getNicknameFromActor(postJsonObject['object']['inReplyTo'])
|
||||||
replyDomain,replyPort=getDomainFromActor(postJsonObject['object']['inReplyTo'])
|
replyDomain,replyPort=getDomainFromActor(postJsonObject['object']['inReplyTo'])
|
||||||
if replyNickname and replyDomain:
|
if replyNickname and replyDomain:
|
||||||
titleStr+=' <i>replying to</i> <a href="'+postJsonObject['object']['inReplyTo']+'">@'+replyNickname+'@'+replyDomain+'</a>'
|
titleStr+=' <i class="replyingto">replying to</i> <a href="'+postJsonObject['object']['inReplyTo']+'">@'+replyNickname+'@'+replyDomain+'</a>'
|
||||||
else:
|
else:
|
||||||
titleStr+=' <i>replying to</i> '+postJsonObject['object']['inReplyTo']
|
titleStr+=' <i class="replyingto">replying to</i> '+postJsonObject['object']['inReplyTo']
|
||||||
attachmentStr=''
|
attachmentStr=''
|
||||||
if postJsonObject['object']['attachment']:
|
if postJsonObject['object']['attachment']:
|
||||||
if isinstance(postJsonObject['object']['attachment'], list):
|
if isinstance(postJsonObject['object']['attachment'], list):
|
||||||
|
|
Loading…
Reference in New Issue