Keyboard navigation format

This commit is contained in:
bashrc committed 2021-02-05 17:33:31 +00:00
1 parent 19fff61889
commit b39a690b90
1 file changed
+4 -4
+4 -4
View File
@@ -883,10 +883,10 @@ def getAvatarImageUrl(session,
def htmlKeyboardNavigation(links: {}) -> str:
"""Given a set of links return the html for keyboard navigation
"""
htmlStr = '<div class="transparent">'
htmlStr = '<div class="transparent"><ul>'
for title, url in links.items():
htmlStr += '<label class="transparent">' + \
htmlStr += '<li><label class="transparent">' + \
'<a href="' + str(url) + '">' + \
str(title) + '</a></label> | '
htmlStr += '</div>'
str(title) + '</a></label></li>'
htmlStr += '</ul></div>'
return htmlStr