mirror of https://github.com/portainer/portainer
36 lines
2.1 KiB
HTML
36 lines
2.1 KiB
HTML
<div class="actionBar">
|
|
<div class="btn-group" role="group" aria-label="...">
|
|
<button type="button" class="btn btn-sm btn-success" ng-click="$ctrl.startAction($ctrl.selectedItems)"
|
|
ng-disabled="$ctrl.selectedItemCount === 0 || $ctrl.noStoppedItemsSelected">
|
|
<i class="fa fa-play space-right" aria-hidden="true"></i>Start
|
|
</button>
|
|
<button type="button" class="btn btn-sm btn-danger" ng-click="$ctrl.stopAction($ctrl.selectedItems)"
|
|
ng-disabled="$ctrl.selectedItemCount === 0 || $ctrl.noRunningItemsSelected">
|
|
<i class="fa fa-stop space-right" aria-hidden="true"></i>Stop
|
|
</button>
|
|
<button type="button" class="btn btn-sm btn-danger" ng-click="$ctrl.killAction($ctrl.selectedItems)"
|
|
ng-disabled="$ctrl.selectedItemCount === 0">
|
|
<i class="fa fa-bomb space-right" aria-hidden="true"></i>Kill
|
|
</button>
|
|
<button type="button" class="btn btn-sm btn-primary" ng-click="$ctrl.restartAction($ctrl.selectedItems)"
|
|
ng-disabled="$ctrl.selectedItemCount === 0">
|
|
<i class="fa fa-sync space-right" aria-hidden="true"></i>Restart
|
|
</button>
|
|
<button type="button" class="btn btn-sm btn-primary" ng-click="$ctrl.pauseAction($ctrl.selectedItems)"
|
|
ng-disabled="$ctrl.selectedItemCount === 0 || $ctrl.noRunningItemsSelected">
|
|
<i class="fa fa-pause space-right" aria-hidden="true"></i>Pause
|
|
</button>
|
|
<button type="button" class="btn btn-sm btn-primary" ng-click="$ctrl.resumeAction($ctrl.selectedItems)"
|
|
ng-disabled="$ctrl.selectedItemCount === 0 || $ctrl.noPausedItemsSelected">
|
|
<i class="fa fa-play space-right" aria-hidden="true"></i>Resume
|
|
</button>
|
|
<button type="button" class="btn btn-sm btn-danger"
|
|
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>
|
|
<button type="button" class="btn btn-sm btn-primary" ui-sref="docker.containers.new" ng-if="$ctrl.showAddAction">
|
|
<i class="fa fa-plus space-right" aria-hidden="true"></i>Add container
|
|
</button>
|
|
</div>
|