From c971189286c42fe0e48a01985230411ad9e3045a Mon Sep 17 00:00:00 2001 From: Houssem BELHADJ AHMED Date: Thu, 12 Mar 2015 22:28:01 +0100 Subject: [PATCH] Add rename feature --- .gitignore | 1 + app/app.js | 2 +- app/components/container/container.html | 17 +++++- .../container/containerController.js | 17 ++++++ app/shared/services.js | 3 +- .../components/containerController.spec.js | 57 +++++++++++++++++++ .../startContainerController.spec.js | 8 +-- test/unit/{ => app}/shared/filters.spec.js | 0 test/unit/karma.conf.js | 1 + 9 files changed, 99 insertions(+), 7 deletions(-) create mode 100644 test/unit/app/components/containerController.spec.js rename {app/components/startContainer => test/unit/app/components}/startContainerController.spec.js (98%) rename test/unit/{ => app}/shared/filters.spec.js (100%) diff --git a/.gitignore b/.gitignore index 846d13822..720d7df4e 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ node_modules .idea dist dockerui +*.iml diff --git a/app/app.js b/app/app.js index d41c7e039..c63ff313a 100644 --- a/app/app.js +++ b/app/app.js @@ -15,4 +15,4 @@ angular.module('dockerui', ['dockerui.templates', 'ngRoute', 'dockerui.services' .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.16'); + .constant('DOCKER_API_VERSION', 'v1.17'); diff --git a/app/components/container/container.html b/app/components/container/container.html index e192a2ce0..a714e92cf 100644 --- a/app/components/container/container.html +++ b/app/components/container/container.html @@ -1,6 +1,21 @@
-

Container: {{ container.Name }}

+
+

Container: {{ container.Name }} + +

+
+
+

+ Container: + + + +

+