feat: status page + maintenance
This commit is contained in:
parent
1819826151
commit
3b659ab076
@ -15,5 +15,5 @@ for container in client.containers.list():
|
||||
cont = dict()
|
||||
cont["name"] = container.name
|
||||
cont["status"] = container.status
|
||||
cont["log"] = container.logs().decode('utf-8').replace('\n', '<br>')
|
||||
cont["logs"] = container.logs().decode('utf-8').replace('\n', '<br>')
|
||||
print(template.render(containers=[cont]))
|
||||
|
Loading…
Reference in New Issue
Block a user