From 516d56c42ad8476ac9d3472f82c2363277e8575e Mon Sep 17 00:00:00 2001 From: "Steve L. Nyemba" Date: Fri, 10 Mar 2017 14:40:18 -0600 Subject: [PATCH] Layout fix with grids & shadows --- src/api/static/js/dashboard.js | 5 +-- src/api/templates/dashboard.html | 55 +++++++++++++++++--------------- 2 files changed, 33 insertions(+), 27 deletions(-) diff --git a/src/api/static/js/dashboard.js b/src/api/static/js/dashboard.js index 6811620..ec45de9 100644 --- a/src/api/static/js/dashboard.js +++ b/src/api/static/js/dashboard.js @@ -331,9 +331,10 @@ monitor.sandbox.init = function () { monitor.sandbox.render = function (logs) { months = { 1: 'Jan', 2: 'Feb', 3: 'Mar', 4: 'Apr', 5: 'May', 6: 'Jun', 7: 'Jul', 8: 'Aug', 9: 'Sep', 10: 'Oct', 11: 'Nov', 12: 'Dec' } - var d = ([logs[0].day, '-', months[logs[0].month], '-', logs[0].year, ' ', logs[0].hour, ':', logs[0].minute]).join('') + var d = ([logs[0].day, '-', MONTHS[logs[0].month], '-', logs[0].year, ' ', logs[0].hour, ':', logs[0].minute]).join('') jx.dom.set.value('sandbox_date', d) - var options = { width: $('#sandbox_status').width(), height: 'auto' } + + var options = { width: $('#sandbox_status').width()-8, height: 'auto' } options.data = jx.utils.patterns.visitor(logs, function (item) { if (item.value == 100) { item.status = '' diff --git a/src/api/templates/dashboard.html b/src/api/templates/dashboard.html index abdd0a8..43b9ea7 100644 --- a/src/api/templates/dashboard.html +++ b/src/api/templates/dashboard.html @@ -36,22 +36,23 @@ -
- -
-
Monitoring - +
+
+
+
Monitoring + +
+
+
+
+
+
+
+
- -
-
-
-
-
-
-
+
Application Summary By Status
Latest Lookup
@@ -83,14 +84,16 @@
-
-
CPU & Memory Usage Trend for
-
Anomaly Detected
+
+
+
CPU & Memory Usage Trend for
+
Anomaly Detected
-
- -
- +
+ +
+ +
@@ -106,22 +109,24 @@
-
-
+
+
Folder Analysis/Monitoring
Powered By Machine Learning
-
+
-
-
+
+
+
+