main: Added info link to domains in admin page
All checks were successful
Build Docker / Build Bot (push) Successful in 21s
Build Docker / Build Master (push) Successful in 27s

This commit is contained in:
Nathan Woodburn 2023-08-25 18:22:20 +10:00
parent 2ef8e2c38d
commit 67ed81fd2e
Signed by: nathanwoodburn
GPG Key ID: 203B000478AD0EF1

View File

@ -567,8 +567,8 @@ def admin():
for site in sites:
if not site.__contains__(':'):
continue
html += "<p>Domain: " + site.split(':')[0] + " | Worker: " + site.split(':')[1].strip('\n') + "</p>"
domain = site.split(':')[0]
html += "<p>Domain: <a href='https://"+ domain + "'>" + domain + "</a> | Worker: " + site.split(':')[1].strip('\n') + " | <a href='/info?domain=" + domain + "'>Info</a></p>"
html += "<br><br>"
# Form to add worker