diff --git a/ogcp/templates/dashboard.html b/ogcp/templates/dashboard.html
index 518ae20..0f022c3 100644
--- a/ogcp/templates/dashboard.html
+++ b/ogcp/templates/dashboard.html
@@ -11,6 +11,39 @@
+
+
+
+ -
+ Disk size
+
+ -
+ used
+
+ -
+ available
+
+ -
+ use(%)
+
+
+
+ -
+ {{ disk['total'] // 2**30 }} Gbytes
+
+ -
+ {{ (disk['total'] - disk['free']) // 2**30 }} Gbytes
+
+ -
+ {{ disk['free'] // 2**30 }} Gbytes
+
+ -
+ {{ (((disk['total'] - disk['free']) / disk['total']) * 100)|int }}%
+
+
+
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'])