diff --git a/app/components/container/container.html b/app/components/container/container.html
index 4e149c264..61513b434 100644
--- a/app/components/container/container.html
+++ b/app/components/container/container.html
@@ -1,3 +1,11 @@
+
+
+
+ Containers > {{ container.Name|trimcontainername }}
+
+
+
+
diff --git a/app/components/containerLogs/containerlogs.html b/app/components/containerLogs/containerlogs.html
index 0a20d5ddc..ab28e8c7d 100644
--- a/app/components/containerLogs/containerlogs.html
+++ b/app/components/containerLogs/containerlogs.html
@@ -1,3 +1,10 @@
+
+
+
+ Containers > {{ container.Name|trimcontainername }} > Logs
+
+
+
diff --git a/app/components/containers/containers.html b/app/components/containers/containers.html
index 8d3c847f5..cae437952 100644
--- a/app/components/containers/containers.html
+++ b/app/components/containers/containers.html
@@ -1,5 +1,10 @@
+
+
+ Containers
+
+
diff --git a/app/components/dashboard/dashboard.html b/app/components/dashboard/dashboard.html
index de814476a..b1b80222c 100644
--- a/app/components/dashboard/dashboard.html
+++ b/app/components/dashboard/dashboard.html
@@ -1,3 +1,8 @@
+
+
+ Dashboard
+
+
diff --git a/app/components/image/image.html b/app/components/image/image.html
index 10b2d9ecb..3c1a5dbd3 100644
--- a/app/components/image/image.html
+++ b/app/components/image/image.html
@@ -1,3 +1,11 @@
+
+
+
+ Images > {{ id }}
+
+
+
+
diff --git a/app/components/images/images.html b/app/components/images/images.html
index dff6ab6e7..ddaa8a574 100644
--- a/app/components/images/images.html
+++ b/app/components/images/images.html
@@ -1,5 +1,10 @@
+
+
+ Images
+
+
diff --git a/app/components/network/network.html b/app/components/network/network.html
index d8e38e719..7db1ce8d6 100644
--- a/app/components/network/network.html
+++ b/app/components/network/network.html
@@ -1,3 +1,10 @@
+
+
+
+ Networks > {{ network.Name }}
+
+
+
diff --git a/app/components/networks/networks.html b/app/components/networks/networks.html
index fb8fb9e2e..6cf6cd352 100644
--- a/app/components/networks/networks.html
+++ b/app/components/networks/networks.html
@@ -1,5 +1,11 @@
+
+
+ Networks
+
+
+
diff --git a/app/components/stats/stats.html b/app/components/stats/stats.html
index b36e99e84..66c77e2bc 100644
--- a/app/components/stats/stats.html
+++ b/app/components/stats/stats.html
@@ -1,3 +1,10 @@
+
+
+
+ Containers > {{ container.Name|trimcontainername }} > Stats
+
+
+
@@ -5,7 +12,7 @@
- {{ containerName }}
+ {{ container.Name|trimcontainername }}
diff --git a/app/components/stats/statsController.js b/app/components/stats/statsController.js
index 9adddeacd..a8a40a8db 100644
--- a/app/components/stats/statsController.js
+++ b/app/components/stats/statsController.js
@@ -186,7 +186,7 @@ function (Settings, $scope, Messages, $timeout, Container, ContainerTop, $stateP
});
Container.get({id: $stateParams.id}, function (d) {
- $scope.containerName = d.Name.substring(1);
+ $scope.container = d;
}, function (e) {
Messages.error("Failure", e.data);
});
diff --git a/app/components/swarm/swarm.html b/app/components/swarm/swarm.html
index fd968c88d..dae196656 100644
--- a/app/components/swarm/swarm.html
+++ b/app/components/swarm/swarm.html
@@ -1,3 +1,8 @@
+
+
+ Swarm
+
+
diff --git a/app/components/volumes/volumes.html b/app/components/volumes/volumes.html
index 1f0f4eb1d..1b3e84bd5 100644
--- a/app/components/volumes/volumes.html
+++ b/app/components/volumes/volumes.html
@@ -1,5 +1,10 @@
+
+
+ Volumes
+
+
diff --git a/app/directives/header-content.js b/app/directives/header-content.js
new file mode 100644
index 000000000..0e8a8bb7c
--- /dev/null
+++ b/app/directives/header-content.js
@@ -0,0 +1,11 @@
+angular
+.module('uifordocker')
+.directive('rdHeaderContent', function rdHeaderContent() {
+ var directive = {
+ requires: '^rdHeader',
+ transclude: true,
+ template: '',
+ restrict: 'E'
+ };
+ return directive;
+});
diff --git a/app/directives/header-title.js b/app/directives/header-title.js
new file mode 100644
index 000000000..f21631da3
--- /dev/null
+++ b/app/directives/header-title.js
@@ -0,0 +1,14 @@
+angular
+.module('uifordocker')
+.directive('rdHeaderTitle', function rdHeaderTitle() {
+ var directive = {
+ requires: '^rdHeader',
+ scope: {
+ title: '@',
+ },
+ transclude: true,
+ template: '{{title}}
',
+ restrict: 'E'
+ };
+ return directive;
+});
diff --git a/app/directives/header.js b/app/directives/header.js
new file mode 100644
index 000000000..66752e7e7
--- /dev/null
+++ b/app/directives/header.js
@@ -0,0 +1,13 @@
+angular
+.module('uifordocker')
+.directive('rdHeader', function rdHeader() {
+ var directive = {
+ scope: {
+ "ngModel": "="
+ },
+ transclude: true,
+ template: '',
+ restrict: 'EA'
+ };
+ return directive;
+});
diff --git a/index.html b/index.html
index f78586712..3f92e0142 100644
--- a/index.html
+++ b/index.html
@@ -67,21 +67,6 @@