2020-10-27 01:10:18 +01:00
|
|
|
<div class="modal-header">
|
|
|
|
|
<h4 class="modal-title" id="modal-basic-title">{{title}}</h4>
|
2022-02-20 01:43:31 +01:00
|
|
|
<button type="button" class="btn-close" aria-label="Close" (click)="cancel()">
|
2020-10-27 01:10:18 +01:00
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="modal-body">
|
2020-12-13 14:28:37 +01:00
|
|
|
<p *ngIf="messageBold"><b>{{messageBold}}</b></p>
|
2022-05-19 23:42:25 +02:00
|
|
|
<p class="mb-0" *ngIf="message" [innerHTML]="message | safeHtml"></p>
|
2020-10-27 01:10:18 +01:00
|
|
|
</div>
|
|
|
|
|
<div class="modal-footer">
|
2022-03-16 13:17:08 -07:00
|
|
|
<button type="button" class="btn btn-outline-secondary" (click)="cancel()" [disabled]="!buttonsEnabled" i18n>
|
|
|
|
|
<span class="d-inline-block" style="padding-bottom: 1px;" >Cancel</span>
|
|
|
|
|
</button>
|
2021-01-25 22:44:26 -08:00
|
|
|
<button type="button" class="btn" [class]="btnClass" (click)="confirm()" [disabled]="!confirmButtonEnabled || !buttonsEnabled">
|
2023-10-30 19:57:11 -07:00
|
|
|
<span>
|
|
|
|
|
{{btnCaption}}
|
|
|
|
|
<span class="visually-hidden">{{ seconds | number: '1.0-0' }} seconds</span>
|
|
|
|
|
</span>
|
2022-03-16 13:17:08 -07:00
|
|
|
<ngb-progressbar *ngIf="!confirmButtonEnabled" style="height: 1px;" type="dark" [max]="secondsTotal" [value]="seconds"></ngb-progressbar>
|
2020-12-13 15:13:43 +01:00
|
|
|
</button>
|
2022-10-29 23:14:33 -07:00
|
|
|
<button *ngIf="alternativeBtnCaption" type="button" class="btn" [class]="alternativeBtnClass" (click)="alternative()" [disabled]="!alternativeButtonEnabled || !buttonsEnabled">
|
|
|
|
|
{{alternativeBtnCaption}}
|
|
|
|
|
</button>
|
2020-12-13 15:13:43 +01:00
|
|
|
</div>
|