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

Moved sidebar to its own submodule

This commit is contained in:
Kevan Ahlquist 2014-11-28 22:11:56 -06:00
parent 57fef1c958
commit 604fd1de3b
5 changed files with 13 additions and 11 deletions

View file

@ -0,0 +1,11 @@
angular.module('sidebar', [])
.controller('SideBarController', ['$scope', 'Container', 'Settings',
function($scope, Container, Settings) {
$scope.template = 'partials/sidebar.html';
$scope.containers = [];
$scope.endpoint = Settings.endpoint;
Container.query({all: 0}, function(d) {
$scope.containers = d;
});
}]);