main: Fixed html a tag
All checks were successful
Build Docker / Build Bot (push) Successful in 25s
Build Docker / Build Master (push) Successful in 26s

This commit is contained in:
Nathan Woodburn 2023-08-25 22:53:35 +10:00
parent 490176ab04
commit 2bc34c1aca
Signed by: nathanwoodburn
GPG Key ID: 203B000478AD0EF1

View File

@ -480,7 +480,7 @@ def home():
html += "<p>Sites:</p>" html += "<p>Sites:</p>"
html += "<ul>" html += "<ul>"
for site in sites: for site in sites:
html += "<li>Domain: <a href=\"https://" + site.split(':')[0] + "\" target=\"_blank\">"+site.split(':')[0]+"<\a> | Worker: " + site.split(':')[1].strip('\n') + "</li>" html += "<li>Domain: <a href=\"https://" + site.split(':')[0] + "\" target=\"_blank\">"+site.split(':')[0]+"</a> | Worker: " + site.split(':')[1].strip('\n') + "</li>"
html += "</ul>" html += "</ul>"
html += "<h2>Licences</h2>" html += "<h2>Licences</h2>"
html += "<p>Number of unclaimed licences: " + str(len(licences)) + "</p>" html += "<p>Number of unclaimed licences: " + str(len(licences)) + "</p>"