2019-01-26 20:37:49 +01:00
|
|
|
<h2 mat-dialog-title translate>Project
|
|
|
|
<span *ngIf="projectorElementBuildDescriptor.projectionDefaultName === 'motions'" translate>Motion</span>
|
|
|
|
{{ projectorElementBuildDescriptor.getTitle() }}?</h2>
|
2019-01-10 15:06:10 +01:00
|
|
|
<mat-dialog-content>
|
2019-01-26 20:37:49 +01:00
|
|
|
<div class="projectors" *ngFor="let projector of projectors" [ngClass]="isProjectedOn(projector) ? 'projected' : ''">
|
|
|
|
<mat-checkbox [checked]="isProjectorSelected(projector)" (change)="toggleProjector(projector)">
|
|
|
|
{{ projector.name | translate }}
|
|
|
|
</mat-checkbox>
|
|
|
|
<span *ngIf="isProjectedOn(projector)" class="right">
|
|
|
|
<mat-icon>videocam</mat-icon>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<mat-divider></mat-divider>
|
|
|
|
|
|
|
|
<div *ngIf="options.length > 0">
|
2019-01-10 15:06:10 +01:00
|
|
|
<div *ngFor="let option of options">
|
|
|
|
<div *ngIf="isDecisionOption(option)">
|
|
|
|
<mat-checkbox [checked]="projectorElement[option.key]" (change)="projectorElement[option.key] = !projectorElement[option.key]">
|
|
|
|
{{ option.displayName | translate }}
|
|
|
|
</mat-checkbox>
|
|
|
|
</div>
|
|
|
|
<div *ngIf="isChoiceOption(option)">
|
|
|
|
<h3>{{ option.displayName | translate }}</h3>
|
|
|
|
<mat-radio-group [name]="option.key" [(ngModel)]="projectorElement[option.key]">
|
|
|
|
<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>
|
|
|
|
<button mat-button (click)="onOk()" color="primary" translate>OK</button>
|
|
|
|
<button mat-button (click)="onCancel()" translate>Cancel</button>
|
|
|
|
</mat-dialog-actions>
|