mirror of
https://gitlab.com/bashrc2/epicyon
synced 2026-11-02 18:59:53 +00:00
Keyboard navigation format
This commit is contained in:
1 parent
19fff61889
commit
b39a690b90
1 file changed
+4
-4
+4
-4
@@ -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
|
||||
Reference in new issue
Block a user