From 86df8d64ee3cd62611ad5c268843f57345e90561 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 1 Oct 2020 23:40:07 +0100 Subject: [PATCH] Additional text in left column --- epicyon-profile.css | 3 +-- webinterface.py | 10 ++++++++++ 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/epicyon-profile.css b/epicyon-profile.css index a5d3d66b6..804366bde 100644 --- a/epicyon-profile.css +++ b/epicyon-profile.css @@ -943,17 +943,16 @@ aside .toggle-inside li { } .col-left a:link { background: var(--column-left-color); - color: var(--column-left-fg-color); } .col-left a:visited { background: var(--column-left-color); - color: var(--column-left-fg-color); } .column-left { background-color: var(--column-left-color); width: var(--column-left-width); } .col-left { + color: var(--column-left-fg-color); padding: 10px 10px; font-size: var(--font-size-links); float: left; diff --git a/webinterface.py b/webinterface.py index a44495cf8..81ba9bb0f 100644 --- a/webinterface.py +++ b/webinterface.py @@ -5195,6 +5195,16 @@ def getLeftColumnContent(baseDir: str, nickname: str, domainFull: str, htmlStr += \ '

' + \ lineStr + '

\n' + else: + if lineStr: + if lineStr.startswith('#'): + linestr = lineStr[1:].strip() + htmlStr += \ + '
' + lineStr + '
\n' + else: + htmlStr += \ + '

' + lineStr + '

\n' + return htmlStr