feat: Initial code push
All checks were successful
Build Docker / Build Main Image (push) Successful in 33s
All checks were successful
Build Docker / Build Main Image (push) Successful in 33s
This commit is contained in:
9
render.py
Normal file
9
render.py
Normal file
@@ -0,0 +1,9 @@
|
||||
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
|
||||
Reference in New Issue
Block a user