diff --git a/css/app.css b/css/app.css
index 62c986b38..af14914a9 100644
--- a/css/app.css
+++ b/css/app.css
@@ -75,6 +75,11 @@
margin: 0 auto;
}
+ .center {
+ width: 80%;
+ margin: 0 auto;
+ }
+
.btn-remove {
margin: 0 auto;
max-width: 70%;
@@ -83,3 +88,7 @@
.actions {
margin: 0 auto;
}
+
+ .container-bottom {
+ height: 50px;
+ }
diff --git a/index.html b/index.html
index 8b90de659..1c0f4b445 100644
--- a/index.html
+++ b/index.html
@@ -29,15 +29,16 @@
-
-
diff --git a/js/app.js b/js/app.js
index 758716650..3d58e29f6 100644
--- a/js/app.js
+++ b/js/app.js
@@ -2,7 +2,7 @@
angular.module('dockerui', ['dockerui.services', 'dockerui.filters'])
.config(['$routeProvider', function ($routeProvider) {
- $routeProvider.when('/', {templateUrl: 'partials/home.html', controller: 'DashboardController'});
+ $routeProvider.when('/', {templateUrl: 'partials/dashboard.html', controller: 'DashboardController'});
$routeProvider.when('/containers/', {templateUrl: 'partials/containers.html', controller: 'ContainersController'});
$routeProvider.when('/containers/:id/', {templateUrl: 'partials/container.html', controller: 'ContainerController'});
$routeProvider.when('/images/', {templateUrl: 'partials/images.html', controller: 'ImagesController'});
diff --git a/js/controllers.js b/js/controllers.js
index c2ff40c05..b391b748e 100644
--- a/js/controllers.js
+++ b/js/controllers.js
@@ -37,6 +37,16 @@ function DashboardController($scope, Container) {
}
+function SideBarController($scope, Container, Settings) {
+ $scope.template = 'partials/sidebar.html';
+ $scope.containers = [];
+ $scope.endpoint = Settings.endpoint;
+
+ Container.query({all: 0}, function(d) {
+ $scope.containers = d;
+ });
+}
+
function SettingsController($scope, Auth, System, Docker, Settings) {
$scope.auth = {};
$scope.info = {};
diff --git a/partials/dashboard.html b/partials/dashboard.html
index 2afb6f24e..637460e30 100644
--- a/partials/dashboard.html
+++ b/partials/dashboard.html
@@ -1,7 +1,13 @@
-
-
DockerUI
-
The Linux container engine
-
Learn more.
-
-
-
+
+
+
+
+
+
DockerUI
+
The Linux container engine
+
Learn more.
+
+
+
diff --git a/partials/masthead.html b/partials/masthead.html
index 39946d641..7835148d5 100644
--- a/partials/masthead.html
+++ b/partials/masthead.html
@@ -4,12 +4,12 @@
-
+
diff --git a/partials/sidebar.html b/partials/sidebar.html
new file mode 100644
index 000000000..1e4d3de0e
--- /dev/null
+++ b/partials/sidebar.html
@@ -0,0 +1,11 @@
+