mirror of https://gitlab.com/bashrc2/epicyon
Sequence of skip links
parent
fc0ab024d9
commit
701ca8372b
|
@ -705,14 +705,15 @@ def htmlProfile(rssIconAtTop: bool,
|
||||||
movedTo, alsoKnownAs,
|
movedTo, alsoKnownAs,
|
||||||
pinnedContent)
|
pinnedContent)
|
||||||
|
|
||||||
|
# Links for keyboard navigation
|
||||||
profileStr = \
|
profileStr = \
|
||||||
'<div class="transparent">' + \
|
'<div class="transparent">' + \
|
||||||
'<label class="transparent">' + \
|
'<label class="transparent">' + \
|
||||||
'<a class="skip-main" href="#buttonheader">' + \
|
|
||||||
translate['Skip to timeline'] + '</a></label> | ' + \
|
|
||||||
'<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">' + \
|
||||||
|
'<a class="skip-main" href="#buttonheader">' + \
|
||||||
|
translate['Skip to timeline'] + '</a></label>' + \
|
||||||
'</div>\n'
|
'</div>\n'
|
||||||
|
|
||||||
profileStr += profileHeaderStr + donateSection
|
profileStr += profileHeaderStr + donateSection
|
||||||
|
|
|
@ -369,6 +369,9 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str,
|
||||||
tlStr += \
|
tlStr += \
|
||||||
'<div class="transparent">' + \
|
'<div class="transparent">' + \
|
||||||
'<label class="transparent">' + \
|
'<label class="transparent">' + \
|
||||||
|
'<a href="/users/' + nickname + '">' + \
|
||||||
|
translate['Switch to profile view'] + '</a></label> | ' + \
|
||||||
|
'<label class="transparent">' + \
|
||||||
'<a class="skip-main" href="#timeline">' + \
|
'<a class="skip-main" href="#timeline">' + \
|
||||||
translate['Skip to timeline'] + '</a></label> | ' + \
|
translate['Skip to timeline'] + '</a></label> | ' + \
|
||||||
'<label class="transparent">' + \
|
'<label class="transparent">' + \
|
||||||
|
@ -376,10 +379,7 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str,
|
||||||
translate['Skip to Newswire'] + '</a></label> | ' + \
|
translate['Skip to Newswire'] + '</a></label> | ' + \
|
||||||
'<label class="transparent">' + \
|
'<label class="transparent">' + \
|
||||||
'<a class="skip-links" href="#links">' + \
|
'<a class="skip-links" href="#links">' + \
|
||||||
translate['Skip to Links'] + '</a></label> | ' + \
|
translate['Skip to Links'] + '</a></label>' + \
|
||||||
'<label class="transparent">' + \
|
|
||||||
'<a href="/users/' + nickname + '">' + \
|
|
||||||
translate['Switch to profile view'] + '</a></label>' + \
|
|
||||||
'</div>\n'
|
'</div>\n'
|
||||||
|
|
||||||
# banner and row of buttons
|
# banner and row of buttons
|
||||||
|
|
Loading…
Reference in New Issue