summaryrefslogtreecommitdiffstats
path: root/ogcp/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'ogcp/views.py')
-rw-r--r--ogcp/views.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/ogcp/views.py b/ogcp/views.py
index 09454f7..e9a40c8 100644
--- a/ogcp/views.py
+++ b/ogcp/views.py
@@ -124,8 +124,9 @@ def index():
images_response = g.server.get('/images')
images = images_response.json()['images']
images.sort(key=image_modified_date_from_str, reverse=True)
+ disk = images_response.json()['disk']
return render_template('dashboard.html', clients=clients,
- images=images)
+ images=images, disk=disk)
return render_template('base.html')
@app.route('/login', methods=['GET', 'POST'])