1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-22 14:59:41 +02:00

Update home page with dashboard partials

This commit is contained in:
Michael Crosby 2013-06-10 16:56:14 -09:00
parent 85a97e7080
commit 5ff3e2872c
7 changed files with 52 additions and 15 deletions

View file

@ -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 = {};