diff --git a/booklore-ui/src/app/features/book/components/book-browser/book-browser.component.html b/booklore-ui/src/app/features/book/components/book-browser/book-browser.component.html index f70364cb0..749ecc922 100644 --- a/booklore-ui/src/app/features/book/components/book-browser/book-browser.component.html +++ b/booklore-ui/src/app/features/book/components/book-browser/book-browser.component.html @@ -101,13 +101,15 @@
- - - +
+ + + +
@@ -124,13 +126,15 @@
- - - +
+ + + +
diff --git a/booklore-ui/src/app/features/book/components/book-browser/book-browser.component.scss b/booklore-ui/src/app/features/book/components/book-browser/book-browser.component.scss index 59a7a840f..d7baaefb6 100644 --- a/booklore-ui/src/app/features/book/components/book-browser/book-browser.component.scss +++ b/booklore-ui/src/app/features/book/components/book-browser/book-browser.component.scss @@ -116,6 +116,12 @@ gap: 0.5rem; } +.display-settings-checkbox-row { + display: flex; + align-items: center; + gap: 0.5rem; +} + .display-settings-label { font-weight: 500; } diff --git a/booklore-ui/src/app/features/bookdrop/component/bookdrop-file-review/bookdrop-file-review.component.ts b/booklore-ui/src/app/features/bookdrop/component/bookdrop-file-review/bookdrop-file-review.component.ts index 00046d8f4..386ead323 100644 --- a/booklore-ui/src/app/features/bookdrop/component/bookdrop-file-review/bookdrop-file-review.component.ts +++ b/booklore-ui/src/app/features/bookdrop/component/bookdrop-file-review/bookdrop-file-review.component.ts @@ -382,7 +382,16 @@ export class BookdropFileReviewComponent implements OnInit { message: 'Are you sure you want to reset all metadata changes made to the selected files?', header: 'Confirm Reset', icon: 'pi pi-exclamation-triangle', - acceptButtonStyleClass: 'p-button-danger', + acceptLabel: 'Reset', + rejectLabel: 'Cancel', + rejectButtonProps: { + severity: 'secondary', + outlined: true + }, + acceptButtonProps: { + severity: 'danger', + outlined: true + }, accept: () => this.resetMetadata() }); } @@ -402,7 +411,16 @@ export class BookdropFileReviewComponent implements OnInit { message: `Are you sure you want to finalize the import of ${selectedCount} file${selectedCount !== 1 ? 's' : ''}?`, header: 'Confirm Finalize', icon: 'pi pi-exclamation-triangle', - acceptButtonStyleClass: 'p-button-danger', + acceptLabel: 'Finalize', + rejectLabel: 'Cancel', + rejectButtonProps: { + severity: 'secondary', + outlined: true + }, + acceptButtonProps: { + severity: 'success', + outlined: true + }, accept: () => this.finalizeImport(), }); } @@ -422,7 +440,16 @@ export class BookdropFileReviewComponent implements OnInit { message: `Are you sure you want to delete ${selectedCount} selected Bookdrop file${selectedCount !== 1 ? 's' : ''}? This action cannot be undone.`, header: 'Confirm Delete', icon: 'pi pi-exclamation-triangle', - acceptButtonStyleClass: 'p-button-danger', + acceptLabel: 'Delete', + rejectLabel: 'Cancel', + rejectButtonProps: { + severity: 'secondary', + outlined: true + }, + acceptButtonProps: { + severity: 'danger', + outlined: true + }, accept: () => { const payload: { selectAll: boolean; excludedIds?: number[]; selectedIds?: number[] } = { selectAll: this.selectAllAcrossPages,