mirror of https://gitlab.com/bashrc2/epicyon
Keyboard navigation format
parent
19fff61889
commit
b39a690b90
|
@ -883,10 +883,10 @@ def getAvatarImageUrl(session,
|
||||||
def htmlKeyboardNavigation(links: {}) -> str:
|
def htmlKeyboardNavigation(links: {}) -> str:
|
||||||
"""Given a set of links return the html for keyboard navigation
|
"""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():
|
for title, url in links.items():
|
||||||
htmlStr += '<label class="transparent">' + \
|
htmlStr += '<li><label class="transparent">' + \
|
||||||
'<a href="' + str(url) + '">' + \
|
'<a href="' + str(url) + '">' + \
|
||||||
str(title) + '</a></label> | '
|
str(title) + '</a></label></li>'
|
||||||
htmlStr += '</div>'
|
htmlStr += '</ul></div>'
|
||||||
return htmlStr
|
return htmlStr
|
||||||
|
|
Loading…
Reference in New Issue