feat(engine-details): replace host-view with host-overview

pull/2255/head
Chaim Lando 2018-09-05 11:40:51 +03:00
parent f1f798b7eb
commit 47f49b1e5d
4 changed files with 12 additions and 6 deletions

View File

@ -1,6 +1,6 @@
angular.module('portainer.docker') angular.module('portainer.docker')
.controller('HostController', ['$q', '$scope', 'SystemService', 'Notifications', .controller('HostOverviewController', ['$q', '$scope', 'SystemService', 'Notifications',
function ($q, $scope, SystemService, Notifications) { function HostOverviewController($q, $scope, SystemService, Notifications) {
function initView() { function initView() {
$q.all({ $q.all({

View File

@ -0,0 +1,10 @@
angular.module('portainer.docker').component('hostOverview', {
templateUrl: 'app/docker/components/host-overview/host-overview.html',
controller: 'HostOverviewController',
bindings: {
hostDetails: '<',
engineDetails: '<',
nodeDetails: '<',
isSwarm: '<'
}
});

View File

@ -1,4 +0,0 @@
angular.module('portainer.docker').component('hostView', {
templateUrl: 'app/docker/views/host/host.html',
controller: 'HostController'
});