mirror of
https://github.com/portainer/portainer.git
synced 2025-07-23 07:19:41 +02:00
Add container name to stats and top pages.
This commit is contained in:
parent
49d4c5800f
commit
b244242cb2
4 changed files with 40 additions and 18 deletions
|
@ -172,5 +172,11 @@ angular.module('stats', [])
|
|||
}
|
||||
return cpuPercent;
|
||||
}
|
||||
|
||||
Container.get({id: $routeParams.id}, function (d) {
|
||||
$scope.containerName = d.Name.substring(1);
|
||||
}, function (e) {
|
||||
Messages.error("Failure", e.data);
|
||||
});
|
||||
}])
|
||||
;
|
Loading…
Add table
Add a link
Reference in a new issue