mirror of https://gitlab.com/bashrc2/epicyon
Remove show/hide button for text mode browsers
parent
82144b7937
commit
aa78d5be2a
|
@ -323,22 +323,23 @@ def header_buttons_timeline(default_timeline: str,
|
||||||
'<span>' + translate['Calendar'] + \
|
'<span>' + translate['Calendar'] + \
|
||||||
'</span></button></a>'
|
'</span></button></a>'
|
||||||
|
|
||||||
if not features_header:
|
if not features_header:
|
||||||
# the show/hide button, for a simpler header appearance
|
# 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="' + \
|
||||||
users_path + '/minimal" tabindex="3">' + \
|
users_path + '/minimal" tabindex="3">' + \
|
||||||
'<img loading="lazy" decoding="async" src="/icons' + \
|
'<img loading="lazy" decoding="async" src="/icons' + \
|
||||||
'/showhide.png" title="' + translate['Show/Hide Buttons'] + \
|
'/showhide.png" title="' + \
|
||||||
'" alt="| ' + translate['Show/Hide Buttons'] + \
|
translate['Show/Hide Buttons'] + \
|
||||||
'" class="timelineicon"/></a>\n'
|
'" alt="| ' + translate['Show/Hide Buttons'] + \
|
||||||
else:
|
'" class="timelineicon"/></a>\n'
|
||||||
tl_str += \
|
else:
|
||||||
'<a href="' + users_path + '/minimal' + \
|
tl_str += \
|
||||||
'" tabindex="3"><button class="button">' + \
|
'<a href="' + users_path + '/minimal' + \
|
||||||
'<span>' + translate['Show/Hide Buttons'] + \
|
'" tabindex="3"><button class="button">' + \
|
||||||
'</span></button></a>'
|
'<span>' + translate['Show/Hide Buttons'] + \
|
||||||
|
'</span></button></a>'
|
||||||
|
|
||||||
if features_header:
|
if features_header:
|
||||||
tl_str += \
|
tl_str += \
|
||||||
|
|
Loading…
Reference in New Issue