From ef2bbfa6154f6f0ad8eaa3614bcecee51ffdda9c Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 4 Oct 2020 22:37:27 +0100 Subject: [PATCH] Show newswire date --- epicyon-profile.css | 7 +++++++ webinterface.py | 4 +++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/epicyon-profile.css b/epicyon-profile.css index 9f7b32b73..c6325db46 100644 --- a/epicyon-profile.css +++ b/epicyon-profile.css @@ -74,6 +74,7 @@ --column-left-header-size: 20px; --column-left-icon-size: 20%; --column-right-icon-size: 20%; + --newswire-date-color: white; } @font-face { @@ -228,6 +229,12 @@ a:focus { color: var(--column-right-fg-color); } +.newswireDate { + font-size: var(--font-size-newswire); + color: var(--newswire-date-color); + float: right; +} + .new-post-text { font-size: var(--font-size2); font-family: Arial, Helvetica, sans-serif; diff --git a/webinterface.py b/webinterface.py index a7c5ba03f..8fe8b67be 100644 --- a/webinterface.py +++ b/webinterface.py @@ -5343,7 +5343,9 @@ def htmlNewswire(newswire: str) -> str: htmlStr = '' for dateStr, item in newswire.items(): htmlStr += '

' + \ - '' + item[0] + '

' + '' + item[0] + '
' + htmlStr += '

' return htmlStr