feat: Initial code push
All checks were successful
Build Docker / Build Main Image (push) Successful in 33s

This commit is contained in:
2023-11-17 00:06:02 +11:00
parent 94f298ad6d
commit 79b210c8a7
47 changed files with 10031 additions and 0 deletions

9
render.py Normal file
View 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