diff options
author | Daniel García Moreno <danigm@soleta.eu> | 2021-06-08 12:36:55 +0200 |
---|---|---|
committer | Daniel García Moreno <danigm@soleta.eu> | 2021-06-08 12:36:55 +0200 |
commit | 514fb84a565e8bc9eb550164d545fa72d77c2b38 (patch) | |
tree | 2afdc9b7a225cd9066ca11e77bcc862986fbe65e /ogcp/views.py | |
parent | 22dcea19ff74871b7200bfc7f976836f436c5342 (diff) |
Add chart to dashboard
This patch adds an example chart using chartjs to the dashboard to show
the disk usage.
https://www.chartjs.org/docs/latest/getting-started/
Diffstat (limited to 'ogcp/views.py')
-rw-r--r-- | ogcp/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ogcp/views.py b/ogcp/views.py index 5496daf..bb9eaeb 100644 --- a/ogcp/views.py +++ b/ogcp/views.py @@ -162,7 +162,7 @@ def index(): disk = images_response.json()['disk'] oglive_list = g.server.get('/oglive/list').json() return render_template('dashboard.html', clients=clients, - images=images, disk=disk, + images=images, disk=disk, colsize="6", oglive_list=oglive_list) @app.route('/login', methods=['GET', 'POST']) |