From 26e8055317e7654f3c85225cb0843429b72b87fa Mon Sep 17 00:00:00 2001 From: hamza zia Date: Mon, 2 Jun 2014 18:58:58 +0800 Subject: [PATCH] more ui refinements, global statistics moved to the new sidebar --- index.html | 38 ++++++++++++++++++++++++++------------ js/directives/dgraph.js | 3 +-- 2 files changed, 27 insertions(+), 14 deletions(-) diff --git a/index.html b/index.html index f5b4a63..3d55299 100755 --- a/index.html +++ b/index.html @@ -75,8 +75,6 @@ - - @@ -231,6 +229,8 @@
@@ -314,15 +337,6 @@ Currently no download in line to display, use the 'Add' download button to start downloading files! - -
-
- diff --git a/js/directives/dgraph.js b/js/directives/dgraph.js index 36e60da..ec10b0f 100644 --- a/js/directives/dgraph.js +++ b/js/directives/dgraph.js @@ -39,10 +39,9 @@ angular // hack for the null height for flot elem elem.height(elem.width() * ratio); - var graph = $.plot(elem, [dconf, uconf], { legend: { - show: true, + show: (attrs.nolabel == undefined), backgroundOpacity: 0, margin: [10, 20], labelFormatter: function(label, series) {