mirror of https://gitlab.com/bashrc2/epicyon
Right justify
parent
0d247b32ed
commit
eb04fc48fb
|
@ -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);
|
||||
|
|
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue