mirror of https://gitlab.com/bashrc2/epicyon
Sequences of newswire column icons
parent
6450f0e1f9
commit
c0a69557b9
|
@ -394,6 +394,11 @@ details {
|
||||||
float: right;
|
float: right;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.headernewswireicons {
|
||||||
|
display: flex;
|
||||||
|
float: right;
|
||||||
|
}
|
||||||
|
|
||||||
blockquote {
|
blockquote {
|
||||||
border-left: 10px;
|
border-left: 10px;
|
||||||
margin: 1.5em 10px;
|
margin: 1.5em 10px;
|
||||||
|
|
|
@ -130,6 +130,9 @@ def get_right_column_content(base_dir: str, nickname: str, domain_full: str,
|
||||||
if not show_publish_as_icon:
|
if not show_publish_as_icon:
|
||||||
html_str += publish_button_str
|
html_str += publish_button_str
|
||||||
|
|
||||||
|
# start of newswire column icons
|
||||||
|
html_str += ' <div class="headernewswireicons">\n'
|
||||||
|
|
||||||
# show the edit icon
|
# show the edit icon
|
||||||
if editor:
|
if editor:
|
||||||
dir_str = data_dir(base_dir)
|
dir_str = data_dir(base_dir)
|
||||||
|
@ -194,6 +197,9 @@ def get_right_column_content(base_dir: str, nickname: str, domain_full: str,
|
||||||
title_str + '" src="/' + \
|
title_str + '" src="/' + \
|
||||||
'icons/publish.png" /></a>\n'
|
'icons/publish.png" /></a>\n'
|
||||||
|
|
||||||
|
# end of newswire column icons
|
||||||
|
html_str += ' </div>\n'
|
||||||
|
|
||||||
if edit_image_class == 'rightColEdit':
|
if edit_image_class == 'rightColEdit':
|
||||||
html_str += ' </center>\n'
|
html_str += ' </center>\n'
|
||||||
else:
|
else:
|
||||||
|
|
|
@ -325,10 +325,9 @@ def header_buttons_timeline(default_timeline: str,
|
||||||
'<span>' + translate['Newswire'] + \
|
'<span>' + translate['Newswire'] + \
|
||||||
'</span></button></a>'
|
'</span></button></a>'
|
||||||
|
|
||||||
# 4. the calendar button
|
|
||||||
if not is_text_browser:
|
if not is_text_browser:
|
||||||
if not features_header:
|
if not features_header:
|
||||||
# the show/hide button, for a simpler header appearance
|
# 4. the show/hide button, for a simpler header appearance
|
||||||
if not icons_as_buttons:
|
if not icons_as_buttons:
|
||||||
tl_str += \
|
tl_str += \
|
||||||
' <a class="imageAnchor" href="' + \
|
' <a class="imageAnchor" href="' + \
|
||||||
|
@ -345,7 +344,7 @@ def header_buttons_timeline(default_timeline: str,
|
||||||
'<span>' + translate['Show/Hide Buttons'] + \
|
'<span>' + translate['Show/Hide Buttons'] + \
|
||||||
'</span></button></a>'
|
'</span></button></a>'
|
||||||
|
|
||||||
# the hide announces button
|
# 5. the hide announces button
|
||||||
if show_announces:
|
if show_announces:
|
||||||
hide_announces_icon = 'repeat_hide.png'
|
hide_announces_icon = 'repeat_hide.png'
|
||||||
hide_announces_text = translate['Hide Announces']
|
hide_announces_text = translate['Hide Announces']
|
||||||
|
@ -369,7 +368,7 @@ def header_buttons_timeline(default_timeline: str,
|
||||||
'<span>' + hide_announces_text + \
|
'<span>' + hide_announces_text + \
|
||||||
'</span></button></a>'
|
'</span></button></a>'
|
||||||
|
|
||||||
# calendar button
|
# 6. calendar button
|
||||||
if not features_header:
|
if not features_header:
|
||||||
calendar_alt_text = translate['Calendar']
|
calendar_alt_text = translate['Calendar']
|
||||||
if new_calendar_event:
|
if new_calendar_event:
|
||||||
|
@ -402,7 +401,7 @@ def header_buttons_timeline(default_timeline: str,
|
||||||
'><button class="button">' + \
|
'><button class="button">' + \
|
||||||
'<span>' + translate['User'] + '</span></button></a>'
|
'<span>' + translate['User'] + '</span></button></a>'
|
||||||
|
|
||||||
# 5. search button
|
# 7. search button
|
||||||
if not is_text_browser:
|
if not is_text_browser:
|
||||||
if not features_header:
|
if not features_header:
|
||||||
if not icons_as_buttons:
|
if not icons_as_buttons:
|
||||||
|
@ -426,7 +425,7 @@ def header_buttons_timeline(default_timeline: str,
|
||||||
'<span>' + translate['Search'] + \
|
'<span>' + translate['Search'] + \
|
||||||
'</span></button></a>'
|
'</span></button></a>'
|
||||||
|
|
||||||
# 6. new post
|
# 8. new post
|
||||||
if not is_text_browser:
|
if not is_text_browser:
|
||||||
if not features_header:
|
if not features_header:
|
||||||
tl_str += new_post_button_str
|
tl_str += new_post_button_str
|
||||||
|
|
Loading…
Reference in New Issue