mirror of https://gitlab.com/bashrc2/epicyon
Page up and down key shortcuts
parent
898af44e8b
commit
9b0a41a2b7
|
@ -14671,6 +14671,8 @@ def runDaemon(brochMode: bool,
|
|||
|
||||
# key shortcuts SHIFT + ALT + [key]
|
||||
httpd.accessKeys = {
|
||||
'Page up': '.',
|
||||
'Page down': ',',
|
||||
'submitButton': 'y',
|
||||
'followButton': 'f',
|
||||
'blockButton': 'b',
|
||||
|
|
|
@ -661,7 +661,8 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str,
|
|||
' <center>\n' + \
|
||||
' <a href="' + usersPath + '/' + boxName + \
|
||||
'?page=' + str(pageNumber - 1) + \
|
||||
'"><img loading="lazy" class="pageicon" src="/' + \
|
||||
'" accesskey="' + accessKeys['Page up'] + '">' + \
|
||||
'<img loading="lazy" class="pageicon" src="/' + \
|
||||
'icons/pageup.png" title="' + \
|
||||
translate['Page up'] + '" alt="' + \
|
||||
translate['Page up'] + '"></a>\n' + \
|
||||
|
@ -754,7 +755,8 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str,
|
|||
' <center>\n' + \
|
||||
' <a href="' + usersPath + '/' + boxName + '?page=' + \
|
||||
str(pageNumber + 1) + \
|
||||
'"><img loading="lazy" class="pageicon" src="/' + \
|
||||
'" accesskey="' + accessKeys['Page down'] + '">' + \
|
||||
'<img loading="lazy" class="pageicon" src="/' + \
|
||||
'icons/pagedown.png" title="' + \
|
||||
translate['Page down'] + '" alt="' + \
|
||||
translate['Page down'] + '"></a>\n' + \
|
||||
|
|
Loading…
Reference in New Issue