diff --git a/js/apps/system/aardvark/clusterFrontend/js/templates/showCluster.ejs b/js/apps/system/aardvark/clusterFrontend/js/templates/showCluster.ejs index 9a9481bc01..50e2ddec7f 100644 --- a/js/apps/system/aardvark/clusterFrontend/js/templates/showCluster.ejs +++ b/js/apps/system/aardvark/clusterFrontend/js/templates/showCluster.ejs @@ -90,9 +90,14 @@ Cluster Statistics
-
-
Virtual Memory Size
+
+
+
Virtual Memory Size
+
+
+
+
+
-
diff --git a/js/apps/system/aardvark/clusterFrontend/js/views/showClusterView.js b/js/apps/system/aardvark/clusterFrontend/js/views/showClusterView.js index 9e321651c0..722cdd8e63 100644 --- a/js/apps/system/aardvark/clusterFrontend/js/views/showClusterView.js +++ b/js/apps/system/aardvark/clusterFrontend/js/views/showClusterView.js @@ -182,7 +182,7 @@ var pieData = []; var self = this; this.data.forEach(function(m) { - pieData.push({key: m.get("name"), value :m.get("system").virtualSize, + pieData.push({key: m.get("name"), value :m.get("system").residentSize, time: self.serverTime}); }); return pieData; @@ -289,8 +289,8 @@ }, renderPieChart: function(dataset) { - var w = 500; - var h = 250; + var w = 150; + var h = 150; var radius = Math.min(w, h) / 2; //change 2 to 1.4. It's hilarious. var color = d3.scale.category20(); diff --git a/js/apps/system/aardvark/frontend/img/cpu.svg b/js/apps/system/aardvark/frontend/img/cpu.svg new file mode 100644 index 0000000000..480871b985 --- /dev/null +++ b/js/apps/system/aardvark/frontend/img/cpu.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/js/apps/system/aardvark/frontend/img/ram.svg b/js/apps/system/aardvark/frontend/img/ram.svg new file mode 100644 index 0000000000..157035646e --- /dev/null +++ b/js/apps/system/aardvark/frontend/img/ram.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/js/apps/system/aardvark/frontend/img/requests.svg b/js/apps/system/aardvark/frontend/img/requests.svg new file mode 100644 index 0000000000..7e2ac88485 --- /dev/null +++ b/js/apps/system/aardvark/frontend/img/requests.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/js/apps/system/aardvark/frontend/js/templates/statisticBarView.ejs b/js/apps/system/aardvark/frontend/js/templates/statisticBarView.ejs index a68c5921e2..ba7e9f5ba7 100644 --- a/js/apps/system/aardvark/frontend/js/templates/statisticBarView.ejs +++ b/js/apps/system/aardvark/frontend/js/templates/statisticBarView.ejs @@ -1,16 +1,15 @@