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:
parent
85a97e7080
commit
5ff3e2872c
7 changed files with 52 additions and 15 deletions
|
@ -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 = {};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue