From a2252c1b5b42a2a223b0b5577eb756c65ae891bf Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 7 Jul 2015 22:31:21 -0500 Subject: [PATCH] UI fixes working on campaign results page --- static/css/dataTables.bootstrap.css | 2 +- static/js/app/campaigns.js | 6 +++--- static/js/app/templates.js | 2 +- static/js/app/users.js | 2 +- templates/base.html | 12 ++++++------ templates/campaign_results.html | 17 +++++++++++------ templates/campaigns.html | 2 +- 7 files changed, 24 insertions(+), 19 deletions(-) diff --git a/static/css/dataTables.bootstrap.css b/static/css/dataTables.bootstrap.css index f238fd18..f713b7a5 100644 --- a/static/css/dataTables.bootstrap.css +++ b/static/css/dataTables.bootstrap.css @@ -68,7 +68,7 @@ table.dataTable th { table.dataTable { clear: both; margin-top: 6px !important; - margin-bottom: 6px !important; + margin-bottom: 12px !important; max-width: none !important; } diff --git a/static/js/app/campaigns.js b/static/js/app/campaigns.js index 798f7374..32288a3c 100644 --- a/static/js/app/campaigns.js +++ b/static/js/app/campaigns.js @@ -57,10 +57,10 @@ $(document).ready(function(){ campaignTable = $("#campaignTable").DataTable(); $.each(campaigns, function(i, campaign){ campaignTable.row.add([ - moment(campaign.created_date).format('MMMM Do YYYY, h:mm:ss a'), campaign.name, - campaign.status, - "
\ \ \
{{end}} +{{define "scripts"}} + + + +{{end}} diff --git a/templates/campaigns.html b/templates/campaigns.html index 39fdf65e..858b831b 100644 --- a/templates/campaigns.html +++ b/templates/campaigns.html @@ -41,8 +41,8 @@ - +