From 86faac9ed09d044a2640e981563d62a0b93d127e Mon Sep 17 00:00:00 2001 From: "Steve Nyemba, The Architect" Date: Thu, 11 Oct 2018 01:51:19 -0500 Subject: [PATCH] bug fix layout --- src/api/static/css/default.css | 32 ++++++++++++++++ src/api/templates/dashboard/apps/summary.html | 7 +++- src/api/templates/dashboard/user-emails.html | 38 ++++++++++++++----- src/utils/charting.py | 4 +- src/utils/ml/analytics.py | 6 +-- 5 files changed, 70 insertions(+), 17 deletions(-) diff --git a/src/api/static/css/default.css b/src/api/static/css/default.css index ad8045f..78bf146 100644 --- a/src/api/static/css/default.css +++ b/src/api/static/css/default.css @@ -66,4 +66,36 @@ body { .button:hover{ background-color:#4682B4 ; color:#ffffff; +} + + + +.data-frame { + display:grid; + margin:4px; + padding:4px; + grid-template-rows: 80% 20%; + grid-gap:2px; + height:85%; + + overflow:hidden; + +} + +.data-frame .comment { + grid-row: 2; + padding:4px; + + font-size:12px; + color:gray; + font-weight: lighter; + font-family: verdana; + + +} +.data-frame .grid { + grid-row:1; + width:100%; + padding:4px; + } \ No newline at end of file diff --git a/src/api/templates/dashboard/apps/summary.html b/src/api/templates/dashboard/apps/summary.html index b660ec5..dcb6c8d 100644 --- a/src/api/templates/dashboard/apps/summary.html +++ b/src/api/templates/dashboard/apps/summary.html @@ -19,7 +19,7 @@ .board { display:grid ; grid-template-rows: 32px auto; - grid-gap:10px; + grid-gap:4px; } @@ -50,7 +50,10 @@ width:100%; } - .widget .chart iframe {width:100%; height:200px; overflow:hidden} + .widget .chart iframe { + width:100%; + height:220px; + overflow:hidden} input[type=text] { border:0px; diff --git a/src/api/templates/dashboard/user-emails.html b/src/api/templates/dashboard/user-emails.html index 18eb124..719aebf 100644 --- a/src/api/templates/dashboard/user-emails.html +++ b/src/api/templates/dashboard/user-emails.html @@ -118,16 +118,34 @@ $(document).ready(function(){ }) ; - -