From 65d0b0110daac971e6045c6faf21d8a96c2b8703 Mon Sep 17 00:00:00 2001 From: Kevan Ahlquist Date: Fri, 13 Feb 2015 01:13:04 -0600 Subject: [PATCH] Consume image IDs that contain slashes, fix container port labels, be nicer about old browsers. --- app/app.js | 2 +- app/components/container/container.html | 2 +- app/components/dashboard/dashboard.html | 6 +++--- app/components/image/image.html | 2 +- dist/dockerui.js | 14 +++++++------- dist/templates/app.js | 10 +++++----- 6 files changed, 18 insertions(+), 18 deletions(-) diff --git a/app/app.js b/app/app.js index 7596fece0..6b1b0152a 100644 --- a/app/app.js +++ b/app/app.js @@ -6,7 +6,7 @@ angular.module('dockerui', ['dockerui.templates', 'ngRoute', 'dockerui.services' $routeProvider.when('/containers/:id/', {templateUrl: 'app/components/container/container.html', controller: 'ContainerController'}); $routeProvider.when('/containers/:id/logs/', {templateUrl: 'app/components/containerLogs/containerlogs.html', controller: 'ContainerLogsController'}); $routeProvider.when('/images/', {templateUrl: 'app/components/images/images.html', controller: 'ImagesController'}); - $routeProvider.when('/images/:id/', {templateUrl: 'app/components/image/image.html', controller: 'ImageController'}); + $routeProvider.when('/images/:id*/', {templateUrl: 'app/components/image/image.html', controller: 'ImageController'}); $routeProvider.when('/settings', {templateUrl: 'app/components/settings/settings.html', controller: 'SettingsController'}); $routeProvider.otherwise({redirectTo: '/'}); }]) diff --git a/app/components/container/container.html b/app/components/container/container.html index 6bacb011e..e192a2ce0 100644 --- a/app/components/container/container.html +++ b/app/components/container/container.html @@ -60,7 +60,7 @@ diff --git a/app/components/dashboard/dashboard.html b/app/components/dashboard/dashboard.html index 037516ad0..7dd6f34dc 100644 --- a/app/components/dashboard/dashboard.html +++ b/app/components/dashboard/dashboard.html @@ -27,7 +27,7 @@

Status

- Get a better browser... Your holding everyone back. +

You are using an outdated browser. Please upgrade your browser to improve your experience.

@@ -38,11 +38,11 @@

Containers created

- Get a better browser... You're holding everyone back. +

You are using an outdated browser. Please upgrade your browser to improve your experience.

Images created

- Get a better browser... You're holding everyone back. +

You are using an outdated browser. Please upgrade your browser to improve your experience.

diff --git a/app/components/image/image.html b/app/components/image/image.html index 721fada51..108c6f21d 100644 --- a/app/components/image/image.html +++ b/app/components/image/image.html @@ -15,7 +15,7 @@

Containers created:

- Get a better broswer... Your holding everyone back. +

You are using an outdated browser. Please upgrade your browser to improve your experience.

diff --git a/dist/dockerui.js b/dist/dockerui.js index 709e4fbc1..dec3b4062 100644 --- a/dist/dockerui.js +++ b/dist/dockerui.js @@ -1,4 +1,4 @@ -/*! dockerui - v0.6.0 - 2015-02-09 +/*! dockerui - v0.6.0 - 2015-02-13 * https://github.com/crosbymichael/dockerui * Copyright (c) 2015 Michael Crosby & Kevan Ahlquist; * Licensed MIT @@ -11,7 +11,7 @@ angular.module('dockerui', ['dockerui.templates', 'ngRoute', 'dockerui.services' $routeProvider.when('/containers/:id/', {templateUrl: 'app/components/container/container.html', controller: 'ContainerController'}); $routeProvider.when('/containers/:id/logs/', {templateUrl: 'app/components/containerLogs/containerlogs.html', controller: 'ContainerLogsController'}); $routeProvider.when('/images/', {templateUrl: 'app/components/images/images.html', controller: 'ImagesController'}); - $routeProvider.when('/images/:id/', {templateUrl: 'app/components/image/image.html', controller: 'ImageController'}); + $routeProvider.when('/images/:id*/', {templateUrl: 'app/components/image/image.html', controller: 'ImageController'}); $routeProvider.when('/settings', {templateUrl: 'app/components/settings/settings.html', controller: 'SettingsController'}); $routeProvider.otherwise({redirectTo: '/'}); }]) @@ -1097,7 +1097,7 @@ angular.module("app/components/container/container.html", []).run(["$templateCac " \n" + " \n" + " \n" + @@ -1290,7 +1290,7 @@ angular.module("app/components/dashboard/dashboard.html", []).run(["$templateCac "
\n" + "

Status

\n" + " \n" + - " Get a better browser... Your holding everyone back.\n" + + "

You are using an outdated browser. Please upgrade your browser to improve your experience.

\n" + "
\n" + "
\n" + "
\n" + @@ -1301,11 +1301,11 @@ angular.module("app/components/dashboard/dashboard.html", []).run(["$templateCac "
\n" + "

Containers created

\n" + " \n" + - " Get a better browser... You're holding everyone back.\n" + + "

You are using an outdated browser. Please upgrade your browser to improve your experience.

\n" + "
\n" + "

Images created

\n" + " \n" + - " Get a better browser... You're holding everyone back.\n" + + "

You are using an outdated browser. Please upgrade your browser to improve your experience.

\n" + "
\n" + "
\n" + " \n" + @@ -1340,7 +1340,7 @@ angular.module("app/components/image/image.html", []).run(["$templateCache", fun "
\n" + "

Containers created:

\n" + " \n" + - " Get a better broswer... Your holding everyone back.\n" + + "

You are using an outdated browser. Please upgrade your browser to improve your experience.

\n" + "
\n" + "
\n" + "\n" + diff --git a/dist/templates/app.js b/dist/templates/app.js index f633b0a56..2ca118ea2 100644 --- a/dist/templates/app.js +++ b/dist/templates/app.js @@ -86,7 +86,7 @@ angular.module("app/components/container/container.html", []).run(["$templateCac " \n" + " \n" + " \n" + @@ -279,7 +279,7 @@ angular.module("app/components/dashboard/dashboard.html", []).run(["$templateCac "
\n" + "

Status

\n" + " \n" + - " Get a better browser... Your holding everyone back.\n" + + "

You are using an outdated browser. Please upgrade your browser to improve your experience.

\n" + "
\n" + "
\n" + "
\n" + @@ -290,11 +290,11 @@ angular.module("app/components/dashboard/dashboard.html", []).run(["$templateCac "
\n" + "

Containers created

\n" + " \n" + - " Get a better browser... You're holding everyone back.\n" + + "

You are using an outdated browser. Please upgrade your browser to improve your experience.

\n" + "
\n" + "

Images created

\n" + " \n" + - " Get a better browser... You're holding everyone back.\n" + + "

You are using an outdated browser. Please upgrade your browser to improve your experience.

\n" + "
\n" + "
\n" + " \n" + @@ -329,7 +329,7 @@ angular.module("app/components/image/image.html", []).run(["$templateCache", fun "
\n" + "

Containers created:

\n" + " \n" + - " Get a better broswer... Your holding everyone back.\n" + + "

You are using an outdated browser. Please upgrade your browser to improve your experience.

\n" + "
\n" + "
\n" + "\n" +