Initial commit of docker flask.
This commit is contained in:
10
images.py
Normal file
10
images.py
Normal 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)
|
||||
|
||||
Reference in New Issue
Block a user