mirror of https://gitlab.com/bashrc2/epicyon
Keyboard navigation links on profile screen
parent
cb2d627cd9
commit
4bce9b6bf2
|
@ -707,15 +707,21 @@ def htmlProfile(rssIconAtTop: bool,
|
||||||
movedTo, alsoKnownAs,
|
movedTo, alsoKnownAs,
|
||||||
pinnedContent)
|
pinnedContent)
|
||||||
|
|
||||||
# Links for keyboard navigation
|
# Normally invisible links for keyboard navigation
|
||||||
profileStr = \
|
profileStr = \
|
||||||
'<div class="transparent">' + \
|
'<div class="transparent">' + \
|
||||||
'<label class="transparent">' + \
|
'<label class="transparent">' + \
|
||||||
'<a href="/users/' + nickname + '/' + defaultTimeline + '">' + \
|
'<a href="/users/' + nickname + '/' + defaultTimeline + '">' + \
|
||||||
translate['Switch to timeline view'] + '</a></label> | ' + \
|
translate['Switch to timeline view'] + '</a></label> | ' + \
|
||||||
'<label class="transparent">' + \
|
'<label class="transparent">' + \
|
||||||
|
'<a href="/users/' + nickname + '/editprofile">' + \
|
||||||
|
translate['Edit'] + '</a></label> | ' + \
|
||||||
|
'<label class="transparent">' + \
|
||||||
'<a class="skip-main" href="#buttonheader">' + \
|
'<a class="skip-main" href="#buttonheader">' + \
|
||||||
translate['Skip to timeline'] + '</a></label>' + \
|
translate['Skip to timeline'] + '</a></label> |' + \
|
||||||
|
'<label class="transparent">' + \
|
||||||
|
'<a href="/logout">' + \
|
||||||
|
translate['Logout'] + '</a></label>' + \
|
||||||
'</div>\n'
|
'</div>\n'
|
||||||
|
|
||||||
profileStr += profileHeaderStr + donateSection
|
profileStr += profileHeaderStr + donateSection
|
||||||
|
|
Loading…
Reference in New Issue