feat: status page + maintenance

This commit is contained in:
mco-system 2023-05-27 14:28:33 +11:00
parent 614c16750d
commit 1819826151

View File

@ -16,4 +16,4 @@ for container in client.containers.list():
cont["name"] = container.name
cont["status"] = container.status
cont["log"] = container.logs().decode('utf-8').replace('\n', '<br>')
print(template.render(containers=[container]))
print(template.render(containers=[cont]))