mirror of https://gitlab.com/bashrc2/epicyon
Links column button sequence
parent
597f4dd566
commit
5090810087
|
|
@ -358,8 +358,8 @@ details {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
background-color: var(--column-left-color);
|
background-color: var(--column-left-color);
|
||||||
float: right;
|
float: right;
|
||||||
display: block;
|
|
||||||
padding-bottom: var(--column-left-icons-margin);
|
padding-bottom: var(--column-left-icons-margin);
|
||||||
|
display: flex;
|
||||||
}
|
}
|
||||||
|
|
||||||
.postSeparatorImage img {
|
.postSeparatorImage img {
|
||||||
|
|
|
||||||
|
|
@ -157,31 +157,10 @@ def get_left_column_content(base_dir: str, nickname: str, domain_full: str,
|
||||||
if edit_image_class == 'leftColEdit':
|
if edit_image_class == 'leftColEdit':
|
||||||
html_str += '\n <center>\n'
|
html_str += '\n <center>\n'
|
||||||
|
|
||||||
|
# start of links column icons
|
||||||
html_str += ' <div class="leftColIcons">\n'
|
html_str += ' <div class="leftColIcons">\n'
|
||||||
|
|
||||||
if editor:
|
# 1. RSS icon
|
||||||
# show the edit icon
|
|
||||||
html_str += \
|
|
||||||
' <a href="/users/' + nickname + '/editlinks" ' + \
|
|
||||||
'accesskey="' + access_keys['menuEdit'] + '" tabindex="5" ' + \
|
|
||||||
'class="imageAnchor">' + \
|
|
||||||
'<img class="' + edit_image_class + \
|
|
||||||
'" loading="lazy" decoding="async" alt="' + \
|
|
||||||
translate['Edit Links'] + ' | " title="' + \
|
|
||||||
translate['Edit Links'] + '" src="/icons/edit.png" /></a>\n'
|
|
||||||
|
|
||||||
if artist:
|
|
||||||
# show the theme designer icon
|
|
||||||
html_str += \
|
|
||||||
' <a href="/users/' + nickname + '/themedesigner" ' + \
|
|
||||||
'accesskey="' + access_keys['menuThemeDesigner'] + \
|
|
||||||
'" tabindex="5" class="imageAnchor">' + \
|
|
||||||
'<img class="' + edit_image_class + \
|
|
||||||
'" loading="lazy" decoding="async" alt="' + \
|
|
||||||
translate['Theme Designer'] + ' | " title="' + \
|
|
||||||
translate['Theme Designer'] + '" src="/icons/theme.png" /></a>\n'
|
|
||||||
|
|
||||||
# RSS icon
|
|
||||||
if nickname != 'news':
|
if nickname != 'news':
|
||||||
# rss feed for this account
|
# rss feed for this account
|
||||||
rss_url = http_prefix + '://' + domain_full + \
|
rss_url = http_prefix + '://' + domain_full + \
|
||||||
|
|
@ -201,6 +180,30 @@ def get_left_column_content(base_dir: str, nickname: str, domain_full: str,
|
||||||
'" src="/icons/logorss.png" /></a>\n'
|
'" src="/icons/logorss.png" /></a>\n'
|
||||||
if rss_icon_at_top:
|
if rss_icon_at_top:
|
||||||
html_str += rss_icon_str
|
html_str += rss_icon_str
|
||||||
|
|
||||||
|
if artist:
|
||||||
|
# 2. show the theme designer icon
|
||||||
|
html_str += \
|
||||||
|
' <a href="/users/' + nickname + '/themedesigner" ' + \
|
||||||
|
'accesskey="' + access_keys['menuThemeDesigner'] + \
|
||||||
|
'" tabindex="5" class="imageAnchor">' + \
|
||||||
|
'<img class="' + edit_image_class + \
|
||||||
|
'" loading="lazy" decoding="async" alt="' + \
|
||||||
|
translate['Theme Designer'] + ' | " title="' + \
|
||||||
|
translate['Theme Designer'] + '" src="/icons/theme.png" /></a>\n'
|
||||||
|
|
||||||
|
if editor:
|
||||||
|
# 3. show the edit icon
|
||||||
|
html_str += \
|
||||||
|
' <a href="/users/' + nickname + '/editlinks" ' + \
|
||||||
|
'accesskey="' + access_keys['menuEdit'] + '" tabindex="5" ' + \
|
||||||
|
'class="imageAnchor">' + \
|
||||||
|
'<img class="' + edit_image_class + \
|
||||||
|
'" loading="lazy" decoding="async" alt="' + \
|
||||||
|
translate['Edit Links'] + ' | " title="' + \
|
||||||
|
translate['Edit Links'] + '" src="/icons/edit.png" /></a>\n'
|
||||||
|
|
||||||
|
# end of links column icons
|
||||||
html_str += ' </div>\n'
|
html_str += ' </div>\n'
|
||||||
|
|
||||||
if edit_image_class == 'leftColEdit':
|
if edit_image_class == 'leftColEdit':
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue