oggui/ogWebconsole/src/app/shared/queue-confirmation-modal/queue-confirmation-modal.co...

15 lines
751 B
HTML

<h1 mat-dialog-title>{{ 'confirmationTitle' | translate }}</h1>
<div mat-dialog-content>
@if (allOff) {
<p class="queue-warning-info">{{ 'queueAllOffWarning' | translate }}</p>
} @else if (hasMixedStates) {
<p class="queue-warning-info">{{ 'queueMixedStatesWarning' | translate: { on: onCount, off: offCount } }}</p>
} @else {
<p>{{ 'queueActionsForFailedPcs' | translate }}</p>
}
<mat-checkbox [(ngModel)]="shouldQueue">{{ 'queueActions' | translate }}</mat-checkbox>
</div>
<div mat-dialog-actions class="action-container">
<button class="ordinary-button" (click)="onNoClick()">{{ 'buttonCancel' | translate }}</button>
<button class="action-button" (click)="onYesClick()">{{ 'buttonConfirm' | translate }}</button>
</div>