Nathan Woodburn
79b210c8a7
All checks were successful
Build Docker / Build Main Image (push) Successful in 33s
9 lines
378 B
Python
9 lines
378 B
Python
def links(links,host=""):
|
|
host = "https://"+host+"/"
|
|
|
|
html = ""
|
|
for link in links:
|
|
html += "<div class='link'><a href='"+link[3]+"' target='_blank' class='no_display'>"+host+link[2] +" -> " + link[3]+"</a>"
|
|
html += "<div class='link-delete'><a class='no_display' href='/delete/"+link[2]+"'>Delete</a></div>"
|
|
html += "</div>\n"
|
|
return html |