From 181bd9d392ac7c747544276c016cec7bf0705537 Mon Sep 17 00:00:00 2001 From: catborise Date: Tue, 21 May 2019 09:12:28 +0300 Subject: [PATCH] Update chartjs for instance statistics and add memory usage info for instances --- instances/templates/instance.html | 357 +++++++++++++++++++++--------- instances/views.py | 78 +------ 2 files changed, 263 insertions(+), 172 deletions(-) diff --git a/instances/templates/instance.html b/instances/templates/instance.html index 635cdd2..f0464b6 100644 --- a/instances/templates/instance.html +++ b/instances/templates/instance.html @@ -1230,6 +1230,18 @@ +
+
+

{% trans "Memory Usage" %}

+
+
+
+
+ +
+
+
+
{% for net in networks %}
@@ -1332,7 +1344,6 @@ $.each(data['vols'], function(i, item) { $("#vols").append(''); - }) }); @@ -1568,136 +1579,274 @@ $(document).ready(function () { }); }); - +