2019-01-30 23:35:29 +01:00
|
|
|
<h2 mat-dialog-title>
|
2019-02-14 12:29:02 +01:00
|
|
|
<span translate>Project</span> {{ projectorElementBuildDescriptor.getTitle() }}?
|
2019-01-30 23:35:29 +01:00
|
|
|
</h2>
|
2019-01-10 15:06:10 +01:00
|
|
|
<mat-dialog-content>
|
2019-02-14 12:29:02 +01:00
|
|
|
<div class="projectors"
|
2019-01-30 23:35:29 +01:00
|
|
|
*ngFor="let projector of projectors"
|
2019-02-14 12:29:02 +01:00
|
|
|
[ngClass]="isProjectedOn(projector) ? 'projected' : ''">
|
2019-01-26 20:37:49 +01:00
|
|
|
<mat-checkbox [checked]="isProjectorSelected(projector)" (change)="toggleProjector(projector)">
|
|
|
|
{{ projector.name | translate }}
|
|
|
|
</mat-checkbox>
|
2019-01-30 23:35:29 +01:00
|
|
|
<span *ngIf="isProjectedOn(projector)" class="right"> <mat-icon>videocam</mat-icon> </span>
|
2019-01-26 20:37:49 +01:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<mat-divider></mat-divider>
|
|
|
|
|
|
|
|
<div *ngIf="options.length > 0">
|
2019-01-30 23:35:29 +01:00
|
|
|
<div *ngFor="let option of options">
|
|
|
|
<div *ngIf="isDecisionOption(option)">
|
|
|
|
<mat-checkbox
|
2019-02-14 16:02:18 +01:00
|
|
|
[checked]="optionValues[option.key]"
|
|
|
|
(change)="optionValues[option.key] = !optionValues[option.key]"
|
2019-01-30 23:35:29 +01:00
|
|
|
>
|
|
|
|
{{ option.displayName | translate }}
|
|
|
|
</mat-checkbox>
|
2019-01-10 15:06:10 +01:00
|
|
|
</div>
|
2019-01-30 23:35:29 +01:00
|
|
|
<div *ngIf="isChoiceOption(option)">
|
|
|
|
<h3>{{ option.displayName | translate }}</h3>
|
2019-02-14 16:02:18 +01:00
|
|
|
<mat-radio-group [name]="option.key" [(ngModel)]="optionValues[option.key]">
|
2019-01-30 23:35:29 +01:00
|
|
|
<mat-radio-button *ngFor="let choice of option.choices" [value]="choice.value">
|
|
|
|
{{ choice.displayName | translate }}
|
|
|
|
</mat-radio-button>
|
|
|
|
</mat-radio-group>
|
|
|
|
</div>
|
|
|
|
</div>
|
2019-01-26 20:37:49 +01:00
|
|
|
</div>
|
2019-01-10 15:06:10 +01:00
|
|
|
</mat-dialog-content>
|
|
|
|
<mat-dialog-actions>
|
2019-02-14 11:55:40 +01:00
|
|
|
<button mat-button osAutofocus (click)="onOk()" color="primary" translate>OK</button>
|
2019-01-10 15:06:10 +01:00
|
|
|
<button mat-button (click)="onCancel()" translate>Cancel</button>
|
|
|
|
</mat-dialog-actions>
|