mirror of
https://github.com/portainer/portainer.git
synced 2025-08-04 13:25:26 +02:00
* chore(project): install prettier and lint-staged * chore(project): apply prettier to html too * chore(project): git ignore eslintcache * chore(project): add a comment about format script * chore(prettier): update printWidth * chore(prettier): remove useTabs option * chore(prettier): add HTML validation * refactor(prettier): fix closing tags * feat(prettier): define angular parser for html templates * style(prettier): run prettier on codebase Co-authored-by: Anthony Lapenna <lapenna.anthony@gmail.com>
26 lines
1 KiB
HTML
26 lines
1 KiB
HTML
<div class="actionBar" authorization="DockerServiceUpdate, DockerServiceDelete, DockerServiceCreate">
|
|
<div class="btn-group" role="group" aria-label="...">
|
|
<button
|
|
ng-if="$ctrl.showUpdateAction"
|
|
type="button"
|
|
class="btn btn-sm btn-primary"
|
|
authorization="DockerServiceUpdate"
|
|
ng-disabled="$ctrl.selectedItemCount === 0"
|
|
ng-click="$ctrl.updateAction($ctrl.selectedItems)"
|
|
>
|
|
<i class="fa fa-sync space-right" aria-hidden="true"></i>Update
|
|
</button>
|
|
<button
|
|
type="button"
|
|
class="btn btn-sm btn-danger"
|
|
authorization="DockerServiceDelete"
|
|
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.services.new" ng-if="$ctrl.showAddAction" authorization="DockerServiceCreate">
|
|
<i class="fa fa-plus space-right" aria-hidden="true"></i>Add service
|
|
</button>
|
|
</div>
|