Initial commit of docker flask.

This commit is contained in:
Krzysztof Płaczek
2018-03-09 10:33:19 +01:00
commit 6e9b3aed3a
16 changed files with 1128 additions and 0 deletions

10
images.py Normal file
View File

@@ -0,0 +1,10 @@
@app.route("/")
def index():
data = []
for client, value in clients.items():
data.append({'info': value.info(), 'version': value.version(), 'client_name': client,
'volumes': len(value.volumes.list())})
return render_template('index.html', data=data)