1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-15 07:43:35 +00:00
Files
browser/bitwarden_license/bit-web/src/app/secrets-manager/layout/dialogs/bulk-status-dialog.component.html
Oscar Hinton 344a054ba2 [SM-74] TableDataSource for sorting (#4079)
* Initial draft of a table data source

* Improve table data source

* Migrate projects table for demo

* Update existing tables

* Fix access selector

* remove sortDirection from custom fn

* a11y improvements

* update icons; make button full width

* update storybook docs

* apply code review changes

* fix: add table body to projects list

* Fix error on create secret. Fix project list setting projects on getter. Copy table data on set. Fix documentation

* Change signature to protected, rename method to not start with underscore

* add hover and focus effects

Co-authored-by: William Martin <contact@willmartian.com>
2023-01-12 17:06:58 -05:00

34 lines
942 B
HTML

<bit-dialog dialogSize="default">
<ng-container bitDialogTitle>
<span>{{ data.title | i18n }}</span>
<span class="tw-text-sm tw-normal-case tw-text-muted">
{{ data.details.length }}
{{ data.subTitle | i18n }}
</span>
</ng-container>
<div bitDialogContent>
{{ data.message | i18n }}
<bit-table>
<ng-container header>
<tr>
<th bitCell>{{ data.columnTitle | i18n }}</th>
<th bitCell>{{ "error" | i18n }}</th>
</tr>
</ng-container>
<ng-template body>
<tr bitRow *ngFor="let detail of data.details">
<td bitCell>{{ detail.name }}</td>
<td bitCell>{{ detail.errorMessage }}</td>
</tr>
</ng-template>
</bit-table>
</div>
<div bitDialogFooter class="tw-flex tw-gap-2">
<button bitButton buttonType="primary" bitDialogClose type="button">
{{ "close" | i18n }}
</button>
</div>
</bit-dialog>