mirror of https://gitlab.com/bashrc2/epicyon
Keyboard navigation link on edit profile screen
parent
4bce9b6bf2
commit
7c5077c701
|
@ -718,7 +718,7 @@ def htmlProfile(rssIconAtTop: bool,
|
||||||
translate['Edit'] + '</a></label> | ' + \
|
translate['Edit'] + '</a></label> | ' + \
|
||||||
'<label class="transparent">' + \
|
'<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">' + \
|
'<label class="transparent">' + \
|
||||||
'<a href="/logout">' + \
|
'<a href="/logout">' + \
|
||||||
translate['Logout'] + '</a></label>' + \
|
translate['Logout'] + '</a></label>' + \
|
||||||
|
@ -1338,13 +1338,18 @@ def htmlEditProfile(cssCache: {}, translate: {}, baseDir: str, path: str,
|
||||||
getConfigParam(baseDir, 'instanceTitle')
|
getConfigParam(baseDir, 'instanceTitle')
|
||||||
editProfileForm = htmlHeaderWithExternalStyle(cssFilename, instanceTitle)
|
editProfileForm = htmlHeaderWithExternalStyle(cssFilename, instanceTitle)
|
||||||
|
|
||||||
# top banner
|
# keyboard navigation
|
||||||
editProfileForm += \
|
editProfileForm += \
|
||||||
|
'<div class="transparent">' + \
|
||||||
|
'<label class="transparent">' + \
|
||||||
'<a href="/users/' + nickname + '/' + defaultTimeline + '" title="' + \
|
'<a href="/users/' + nickname + '/' + defaultTimeline + '" title="' + \
|
||||||
translate['Switch to timeline view'] + '" alt="' + \
|
translate['Switch to timeline view'] + '" alt="' + \
|
||||||
translate['Switch to timeline view'] + '">\n'
|
translate['Switch to timeline view'] + '"></label>' + \
|
||||||
|
'</div>\n'
|
||||||
|
|
||||||
|
# top banner
|
||||||
editProfileForm += '<img loading="lazy" class="timeline-banner" src="' + \
|
editProfileForm += '<img loading="lazy" class="timeline-banner" src="' + \
|
||||||
'/users/' + nickname + '/' + bannerFile + '" /></a>\n'
|
'/users/' + nickname + '/' + bannerFile + '" alt="" /></a>\n'
|
||||||
|
|
||||||
editProfileForm += \
|
editProfileForm += \
|
||||||
'<form enctype="multipart/form-data" method="POST" ' + \
|
'<form enctype="multipart/form-data" method="POST" ' + \
|
||||||
|
|
Loading…
Reference in New Issue