f989be36ad
- Added a custom palette (`#c31c23`) - Set the new primary palette for dark theme Changes some styles depending on theme - Removed hard-coded colors - Set color depending on theme Prettified
43 lines
1.8 KiB
HTML
43 lines
1.8 KiB
HTML
<h2 mat-dialog-title>
|
|
<span translate>Project</span> {{ projectorElementBuildDescriptor.getDialogTitle() }}?
|
|
</h2>
|
|
<mat-dialog-content>
|
|
<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 matTooltip="{{ 'Is already projected' | translate }}" matTooltipPosition="above">videocam</mat-icon>
|
|
</span>
|
|
</div>
|
|
|
|
<mat-divider></mat-divider>
|
|
|
|
<div *ngIf="options.length > 0">
|
|
<div *ngFor="let option of options">
|
|
<div *ngIf="isDecisionOption(option)">
|
|
<mat-checkbox
|
|
[checked]="optionValues[option.key]"
|
|
(change)="optionValues[option.key] = !optionValues[option.key]"
|
|
>
|
|
{{ option.displayName | translate }}
|
|
</mat-checkbox>
|
|
</div>
|
|
<div *ngIf="isChoiceOption(option)">
|
|
<h3>{{ option.displayName | translate }}</h3>
|
|
<mat-radio-group [name]="option.key" [(ngModel)]="optionValues[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>
|
|
</div>
|
|
</mat-dialog-content>
|
|
<mat-dialog-actions>
|
|
<button mat-button osAutofocus (click)="onOk()" color="primary" translate>OK</button>
|
|
<button mat-button (click)="onCancel()" translate>Cancel</button>
|
|
</mat-dialog-actions>
|