mirror of
https://github.com/bitwarden/browser
synced 2025-01-01 20:57:53 +01:00
56 lines
1.9 KiB
HTML
56 lines
1.9 KiB
HTML
<div class="dropdown mr-2" appListDropdown>
|
|
<button
|
|
class="btn btn-sm btn-outline-secondary dropdown-toggle"
|
|
type="button"
|
|
id="bulkActionsButton"
|
|
data-toggle="dropdown"
|
|
aria-haspopup="true"
|
|
aria-expanded="false"
|
|
appA11yTitle="{{ 'options' | i18n }}"
|
|
>
|
|
<i class="bwi bwi-cog" aria-hidden="true"></i>
|
|
</button>
|
|
<div class="dropdown-menu dropdown-menu-right" aria-labelledby="bulkActionsButton">
|
|
<button
|
|
class="dropdown-item"
|
|
appStopClick
|
|
(click)="bulkMove()"
|
|
*ngIf="!deleted && !organization"
|
|
>
|
|
<i class="bwi bwi-fw bwi-folder" aria-hidden="true"></i>
|
|
{{ "moveSelected" | i18n }}
|
|
</button>
|
|
<button
|
|
class="dropdown-item"
|
|
appStopClick
|
|
(click)="bulkShare()"
|
|
*ngIf="!deleted && !organization"
|
|
>
|
|
<i class="bwi bwi-fw bwi-arrow-circle-right" aria-hidden="true"></i>
|
|
{{ "moveSelectedToOrg" | i18n }}
|
|
</button>
|
|
<button class="dropdown-item" (click)="bulkRestore()" *ngIf="deleted && !organization">
|
|
<i class="bwi bwi-fw bwi-undo" aria-hidden="true"></i>
|
|
{{ "restoreSelected" | i18n }}
|
|
</button>
|
|
<button class="dropdown-item text-danger" (click)="bulkDelete()">
|
|
<i class="bwi bwi-fw bwi-trash" aria-hidden="true"></i>
|
|
{{ (deleted ? "permanentlyDeleteSelected" : "deleteSelected") | i18n }}
|
|
</button>
|
|
<div class="dropdown-divider"></div>
|
|
<button class="dropdown-item" appStopClick (click)="selectAll(true)">
|
|
<i class="bwi bwi-fw bwi-check-square" aria-hidden="true"></i>
|
|
{{ "selectAll" | i18n }}
|
|
</button>
|
|
<button class="dropdown-item" appStopClick (click)="selectAll(false)">
|
|
<i class="bwi bwi-fw bwi-minus-square" aria-hidden="true"></i>
|
|
{{ "unselectAll" | i18n }}
|
|
</button>
|
|
</div>
|
|
</div>
|
|
|
|
<ng-template #bulkDeleteTemplate></ng-template>
|
|
<ng-template #bulkRestoreTemplate></ng-template>
|
|
<ng-template #bulkMoveTemplate></ng-template>
|
|
<ng-template #bulkShareTemplate></ng-template>
|