Page up and down key shortcuts

main
Bob Mottram 2021-04-23 14:20:28 +01:00
parent 898af44e8b
commit 9b0a41a2b7
2 changed files with 6 additions and 2 deletions

View File

@ -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',

View File

@ -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' + \