2019-05-24 06:04:58 +00:00
|
|
|
<div class="actionBar" authorization="DockerServiceUpdate, DockerServiceDelete, DockerServiceCreate">
|
2018-06-11 13:13:19 +00:00
|
|
|
<div class="btn-group" role="group" aria-label="...">
|
2020-04-10 21:54:53 +00:00
|
|
|
<button
|
|
|
|
ng-if="$ctrl.showUpdateAction"
|
|
|
|
type="button"
|
2022-07-20 16:31:13 +00:00
|
|
|
class="btn btn-sm btn-primary h-fit vertical-center !ml-0"
|
2020-04-10 21:54:53 +00:00
|
|
|
authorization="DockerServiceUpdate"
|
|
|
|
ng-disabled="$ctrl.selectedItemCount === 0"
|
|
|
|
ng-click="$ctrl.updateAction($ctrl.selectedItems)"
|
2022-07-20 16:31:13 +00:00
|
|
|
data-cy="service-updateServiceButton"
|
2020-04-10 21:54:53 +00:00
|
|
|
>
|
2022-07-20 16:31:13 +00:00
|
|
|
<pr-icon icon="'refresh-cw'" feather="true" mode="'danger'"></pr-icon>Update
|
2018-06-11 13:13:19 +00:00
|
|
|
</button>
|
2020-04-10 21:54:53 +00:00
|
|
|
<button
|
|
|
|
type="button"
|
2022-07-20 16:31:13 +00:00
|
|
|
class="btn btn-sm btn-dangerlight h-fit vertical-center !ml-0"
|
2020-04-10 21:54:53 +00:00
|
|
|
authorization="DockerServiceDelete"
|
|
|
|
ng-disabled="$ctrl.selectedItemCount === 0"
|
|
|
|
ng-click="$ctrl.removeAction($ctrl.selectedItems)"
|
2022-07-20 16:31:13 +00:00
|
|
|
data-cy="service-removeServiceButton"
|
2020-04-10 21:54:53 +00:00
|
|
|
>
|
2022-07-20 16:31:13 +00:00
|
|
|
<pr-icon icon="'trash-2'" feather="true" mode="'danger'"></pr-icon>Remove
|
2018-06-11 13:13:19 +00:00
|
|
|
</button>
|
|
|
|
</div>
|
2019-05-24 06:04:58 +00:00
|
|
|
<button type="button" class="btn btn-sm btn-primary" ui-sref="docker.services.new" ng-if="$ctrl.showAddAction" authorization="DockerServiceCreate">
|
2018-06-11 13:13:19 +00:00
|
|
|
<i class="fa fa-plus space-right" aria-hidden="true"></i>Add service
|
|
|
|
</button>
|
|
|
|
</div>
|