Right justify

merge-requests/8/head
Bob Mottram 2020-10-02 16:19:18 +01:00
parent 0d247b32ed
commit eb04fc48fb
2 changed files with 7 additions and 4 deletions

View File

@ -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);

View File

@ -5193,18 +5193,20 @@ def getLeftColumnContent(baseDir: str, nickname: str, domainFull: str,
' </center>\n'
if moderator:
if editImageClass == 'leftColEdit':
htmlStr += ' <center>\n'
# show the edit icon
htmlStr += \
' <center>\n' + \
' <a href="' + \
' <a href="' + \
httpPrefix + '://' + domainFull + \
'/users/' + nickname + '/editlinks' + '">' + \
'<img class="' + editImageClass + \
'" loading="lazy" alt="' + \
translate['Edit Links'] + '" title="' + \
translate['Edit Links'] + '" src="/' + \
iconsDir + '/edit.png" /></a>\n' + \
' </center>\n'
iconsDir + '/edit.png" /></a>\n'
if editImageClass == 'leftColEdit':
htmlStr += ' <center>\n'
linksFilename = baseDir + '/accounts/links.txt'
if os.path.isfile(linksFilename):