argos/dmp-frontend/src/app/library/confirmation-dialog/confirmation-dialog.compone...

18 lines
791 B
HTML
Raw Normal View History

2019-01-18 18:03:45 +01:00
<div class="confirmation-dialog">
2019-05-22 15:36:24 +02:00
<div class="row d-flex flex-row">
<div class="col confirmation-message">
2019-05-22 15:36:24 +02:00
{{ data.message }}
</div>
<div class="col-auto close-btn" (click)="close()"><mat-icon>close</mat-icon></div>
2019-01-18 18:03:45 +01:00
</div>
<div class="row">
<div class="col"></div>
2019-05-22 15:36:24 +02:00
<div class="col-auto"><button mat-raised-button type="button" (click)="cancel()"
class="cancel">{{ data.cancelButton }}</button></div>
<div *ngIf="data.isDeleteConfirmation" class="col-auto"><button mat-raised-button type="button" (click)="confirm()"
class="delete">{{ data.confirmButton }}</button></div>
<div *ngIf="!data.isDeleteConfirmation" class="col-auto"><button mat-raised-button type="button" (click)="confirm()"
2019-05-22 15:36:24 +02:00
class="confirm">{{ data.confirmButton }}</button></div>
2019-01-18 18:03:45 +01:00
</div>
</div>