From 5d4a2a7c2531b6fb8e561c516b45167d072bf888 Mon Sep 17 00:00:00 2001 From: Kevan Ahlquist Date: Sat, 29 Aug 2015 01:57:08 -0500 Subject: [PATCH] Fixed dashboard graphs, Chart.js doesn't like charts being hidden on creation, fixed routing issue to dashboard, version bump. --- app/app.js | 4 ++-- app/components/dashboard/dashboardController.js | 2 -- app/components/masthead/masthead.html | 2 +- package.json | 2 +- 4 files changed, 4 insertions(+), 6 deletions(-) diff --git a/app/app.js b/app/app.js index 0f87a89cf..35dbcdea9 100644 --- a/app/app.js +++ b/app/app.js @@ -48,5 +48,5 @@ angular.module('dockerui', ['dockerui.templates', 'ngRoute', 'dockerui.services' // You need to set this to the api endpoint without the port i.e. http://192.168.1.9 .constant('DOCKER_ENDPOINT', 'dockerapi') .constant('DOCKER_PORT', '') // Docker port, leave as an empty string if no port is requred. If you have a port, prefix it with a ':' i.e. :4243 - .constant('UI_VERSION', 'v0.6.0') - .constant('DOCKER_API_VERSION', 'v1.17'); + .constant('UI_VERSION', 'v0.8.0') + .constant('DOCKER_API_VERSION', 'v1.20'); diff --git a/app/components/dashboard/dashboardController.js b/app/components/dashboard/dashboardController.js index ff73fd3d3..07646c007 100644 --- a/app/components/dashboard/dashboardController.js +++ b/app/components/dashboard/dashboardController.js @@ -19,14 +19,12 @@ angular.module('dashboard', []) var opts = {animation: false}; if (Settings.firstLoad) { - $('#stats').hide(); opts.animation = true; Settings.firstLoad = false; $('#masthead').show(); setTimeout(function () { $('#masthead').slideUp('slow'); - $('#stats').slideDown('slow'); }, 5000); } diff --git a/app/components/masthead/masthead.html b/app/components/masthead/masthead.html index b47e5d195..c7246c80f 100644 --- a/app/components/masthead/masthead.html +++ b/app/components/masthead/masthead.html @@ -1,7 +1,7 @@

DockerUI