diff --git a/src/app/components/shared/_dialogs/topic-cloud-confirm-dialog/topic-cloud-confirm-dialog.component.html b/src/app/components/shared/_dialogs/topic-cloud-confirm-dialog/topic-cloud-confirm-dialog.component.html index 2936174ed18150a78536b7e4206ac86c9303a4fb..af197ebabf1558335a6d2d83820c35d7a1299a98 100644 --- a/src/app/components/shared/_dialogs/topic-cloud-confirm-dialog/topic-cloud-confirm-dialog.component.html +++ b/src/app/components/shared/_dialogs/topic-cloud-confirm-dialog/topic-cloud-confirm-dialog.component.html @@ -1,6 +1,6 @@ <h1 mat-dialog-title>Do you really want to delete the topic "{{data.topic}}"?</h1> <div mat-dialog-actions> - <button mat-button [mat-dialog-close]="false">No</button> - <button mat-button [mat-dialog-close]="true" cdkFocusInitial>Yes</button> + <button class="primary" mat-stroked-button [mat-dialog-close]="false">Cancel</button> + <button class="warn" mat-stroked-button [mat-dialog-close]="true">Delete</button> </div> diff --git a/src/app/components/shared/_dialogs/topic-cloud-confirm-dialog/topic-cloud-confirm-dialog.component.scss b/src/app/components/shared/_dialogs/topic-cloud-confirm-dialog/topic-cloud-confirm-dialog.component.scss index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..f941937840b63f7343bf096a029c249a06ce15cc 100644 --- a/src/app/components/shared/_dialogs/topic-cloud-confirm-dialog/topic-cloud-confirm-dialog.component.scss +++ b/src/app/components/shared/_dialogs/topic-cloud-confirm-dialog/topic-cloud-confirm-dialog.component.scss @@ -0,0 +1,7 @@ +.primary { + background-color: var(--primary); +} + +.warn { + background-color: var(--red); +} diff --git a/src/app/components/shared/_dialogs/topic-cloud-dialog/topic-cloud-dialog.component.ts b/src/app/components/shared/_dialogs/topic-cloud-dialog/topic-cloud-dialog.component.ts index 792432ac82938139388a8871307359196620478f..c15a5733203810e1538528121a4c4d7bcad83714 100644 --- a/src/app/components/shared/_dialogs/topic-cloud-dialog/topic-cloud-dialog.component.ts +++ b/src/app/components/shared/_dialogs/topic-cloud-dialog/topic-cloud-dialog.component.ts @@ -89,7 +89,7 @@ export class TopicCloudDialogComponent implements OnInit { } } -export interface Keyword { +interface Keyword { keywordID: number; keyword: string; questions: string[];