2019-05-24 06:04:58 +00:00
|
|
|
<div class="actionBar" authorization="DockerContainerStart, DockerContainerStop, DockerContainerKill, DockerContainerRestart, DockerContainerPause, DockerContainerUnpause, DockerContainerDelete, DockerContainerCreate">
|
2018-06-11 13:13:19 +00:00
|
|
|
<div class="btn-group" role="group" aria-label="...">
|
2019-05-24 06:04:58 +00:00
|
|
|
<button authorization="DockerContainerStart" type="button" class="btn btn-sm btn-success" ng-click="$ctrl.startAction($ctrl.selectedItems)"
|
2018-06-11 13:13:19 +00:00
|
|
|
ng-disabled="$ctrl.selectedItemCount === 0 || $ctrl.noStoppedItemsSelected">
|
|
|
|
<i class="fa fa-play space-right" aria-hidden="true"></i>Start
|
|
|
|
</button>
|
2019-05-24 06:04:58 +00:00
|
|
|
<button authorization="DockerContainerStop" type="button" class="btn btn-sm btn-danger" ng-click="$ctrl.stopAction($ctrl.selectedItems)"
|
2018-06-11 13:13:19 +00:00
|
|
|
ng-disabled="$ctrl.selectedItemCount === 0 || $ctrl.noRunningItemsSelected">
|
|
|
|
<i class="fa fa-stop space-right" aria-hidden="true"></i>Stop
|
|
|
|
</button>
|
2019-05-24 06:04:58 +00:00
|
|
|
<button authorization="DockerContainerKill" type="button" class="btn btn-sm btn-danger" ng-click="$ctrl.killAction($ctrl.selectedItems)"
|
2018-06-11 13:13:19 +00:00
|
|
|
ng-disabled="$ctrl.selectedItemCount === 0">
|
|
|
|
<i class="fa fa-bomb space-right" aria-hidden="true"></i>Kill
|
|
|
|
</button>
|
2019-05-24 06:04:58 +00:00
|
|
|
<button authorization="DockerContainerRestart" type="button" class="btn btn-sm btn-primary" ng-click="$ctrl.restartAction($ctrl.selectedItems)"
|
2018-06-11 13:13:19 +00:00
|
|
|
ng-disabled="$ctrl.selectedItemCount === 0">
|
|
|
|
<i class="fa fa-sync space-right" aria-hidden="true"></i>Restart
|
|
|
|
</button>
|
2019-05-24 06:04:58 +00:00
|
|
|
<button authorization="DockerContainerPause" type="button" class="btn btn-sm btn-primary" ng-click="$ctrl.pauseAction($ctrl.selectedItems)"
|
2018-06-11 13:13:19 +00:00
|
|
|
ng-disabled="$ctrl.selectedItemCount === 0 || $ctrl.noRunningItemsSelected">
|
|
|
|
<i class="fa fa-pause space-right" aria-hidden="true"></i>Pause
|
|
|
|
</button>
|
2019-05-24 06:04:58 +00:00
|
|
|
<button authorization="DockerContainerUnpause" type="button" class="btn btn-sm btn-primary" ng-click="$ctrl.resumeAction($ctrl.selectedItems)"
|
2018-06-11 13:13:19 +00:00
|
|
|
ng-disabled="$ctrl.selectedItemCount === 0 || $ctrl.noPausedItemsSelected">
|
|
|
|
<i class="fa fa-play space-right" aria-hidden="true"></i>Resume
|
|
|
|
</button>
|
2019-05-24 06:04:58 +00:00
|
|
|
<button authorization="DockerContainerDelete" type="button" class="btn btn-sm btn-danger"
|
2018-06-11 13:13:19 +00:00
|
|
|
ng-disabled="$ctrl.selectedItemCount === 0" ng-click="$ctrl.removeAction($ctrl.selectedItems)">
|
|
|
|
<i class="fa fa-trash-alt space-right" aria-hidden="true"></i>Remove
|
|
|
|
</button>
|
|
|
|
</div>
|
2019-05-24 06:04:58 +00:00
|
|
|
<button authorization="DockerContainerCreate" type="button" class="btn btn-sm btn-primary" ui-sref="docker.containers.new" ng-if="$ctrl.showAddAction">
|
2018-06-11 13:13:19 +00:00
|
|
|
<i class="fa fa-plus space-right" aria-hidden="true"></i>Add container
|
|
|
|
</button>
|
|
|
|
</div>
|