mirror of
https://github.com/portainer/portainer.git
synced 2025-07-20 22:09:41 +02:00
Added restart to container list actions.
This commit is contained in:
parent
c7ebe9d881
commit
0d4274fdeb
4 changed files with 11 additions and 0 deletions
|
@ -87,6 +87,10 @@ function($scope, Container, Settings, Messages, ViewSpinner) {
|
|||
batch($scope.containers, Container.stop, "Stopped");
|
||||
};
|
||||
|
||||
$scope.restartAction = function() {
|
||||
batch($scope.containers, Container.restart, "Restarted");
|
||||
};
|
||||
|
||||
$scope.killAction = function() {
|
||||
batch($scope.containers, Container.kill, "Killed");
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue