From eb04fc48fb900eebe4ef504f82e0f31a00a44f16 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 2 Oct 2020 16:19:18 +0100 Subject: [PATCH] Right justify --- epicyon-profile.css | 1 + webinterface.py | 10 ++++++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/epicyon-profile.css b/epicyon-profile.css index 01635e803..833396102 100644 --- a/epicyon-profile.css +++ b/epicyon-profile.css @@ -978,6 +978,7 @@ aside .toggle-inside li { .col-left img.leftColEditImage { background: var(--column-left-color); width: 20%; + float: right; } .col-left img.leftColImg { background: var(--column-left-color); diff --git a/webinterface.py b/webinterface.py index 44b98f1fc..0f555b47a 100644 --- a/webinterface.py +++ b/webinterface.py @@ -5193,18 +5193,20 @@ def getLeftColumnContent(baseDir: str, nickname: str, domainFull: str, ' \n' if moderator: + if editImageClass == 'leftColEdit': + htmlStr += '
\n' # show the edit icon htmlStr += \ - '
\n' + \ - ' ' + \ '' + \
             translate['Edit Links'] + '\n' + \ - '
\n' + iconsDir + '/edit.png" />\n' + if editImageClass == 'leftColEdit': + htmlStr += '
\n' linksFilename = baseDir + '/accounts/links.txt' if os.path.isfile(linksFilename):