This commit is contained in:
File diff suppressed because one or more lines are too long
|
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 14 KiB |
@@ -36,7 +36,7 @@
|
|||||||
filter: blur(10px);
|
filter: blur(10px);
|
||||||
|
|
||||||
&.visible {
|
&.visible {
|
||||||
opacity: 0.5;
|
opacity: 0.7;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -54,7 +54,7 @@
|
|||||||
filter: blur(5px);
|
filter: blur(5px);
|
||||||
|
|
||||||
&.visible {
|
&.visible {
|
||||||
opacity: 0.4;
|
opacity: 0.6;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -63,7 +63,7 @@
|
|||||||
filter: blur(8px);
|
filter: blur(8px);
|
||||||
|
|
||||||
&.visible {
|
&.visible {
|
||||||
opacity: 0.2;
|
opacity: 0.4;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -72,7 +72,7 @@
|
|||||||
filter: blur(8px);
|
filter: blur(8px);
|
||||||
|
|
||||||
&.visible {
|
&.visible {
|
||||||
opacity: 0.2;
|
opacity: 0.4;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -101,10 +101,8 @@
|
|||||||
</div>
|
</div>
|
||||||
@if (show) {
|
@if (show) {
|
||||||
<div class="div-bottom">
|
<div class="div-bottom">
|
||||||
<button class="btn-start-presentation" mat-button routerLink="/presentation/monitor">
|
<app-button [icon]="faDesktop" routerLink="/presentation/monitor">Präsentation starten</app-button>
|
||||||
<fa-icon [icon]="faDesktop"></fa-icon>
|
|
||||||
Präsentation starten
|
|
||||||
</button>
|
|
||||||
<mat-form-field appearance="outline">
|
<mat-form-field appearance="outline">
|
||||||
<mat-label>Hintergrund</mat-label>
|
<mat-label>Hintergrund</mat-label>
|
||||||
<mat-select (ngModelChange)="onBackground($event, show.id)" [ngModel]="show.presentationBackground">
|
<mat-select (ngModelChange)="onBackground($event, show.id)" [ngModel]="show.presentationBackground">
|
||||||
|
|||||||
@@ -17,9 +17,7 @@ import {CardComponent} from '../../../widget-modules/components/card/card.compon
|
|||||||
import {MatFormField, MatLabel} from '@angular/material/form-field';
|
import {MatFormField, MatLabel} from '@angular/material/form-field';
|
||||||
import {MatInput} from '@angular/material/input';
|
import {MatInput} from '@angular/material/input';
|
||||||
import {FormsModule, ReactiveFormsModule} from '@angular/forms';
|
import {FormsModule, ReactiveFormsModule} from '@angular/forms';
|
||||||
import {MatButton} from '@angular/material/button';
|
|
||||||
import {RouterLink} from '@angular/router';
|
import {RouterLink} from '@angular/router';
|
||||||
import {FaIconComponent} from '@fortawesome/angular-fontawesome';
|
|
||||||
import {MatSelect} from '@angular/material/select';
|
import {MatSelect} from '@angular/material/select';
|
||||||
import {MatOption} from '@angular/material/core';
|
import {MatOption} from '@angular/material/core';
|
||||||
import {MatSlider, MatSliderThumb} from '@angular/material/slider';
|
import {MatSlider, MatSliderThumb} from '@angular/material/slider';
|
||||||
@@ -27,6 +25,7 @@ import {AddSongComponent} from '../../../widget-modules/components/add-song/add-
|
|||||||
import {ShowTypePipe} from '../../../widget-modules/pipes/show-type-translater/show-type.pipe';
|
import {ShowTypePipe} from '../../../widget-modules/pipes/show-type-translater/show-type.pipe';
|
||||||
import {SectionTypePipe} from '../../../widget-modules/pipes/section-type-translator/section-type.pipe';
|
import {SectionTypePipe} from '../../../widget-modules/pipes/section-type-translator/section-type.pipe';
|
||||||
import {PageFrameComponent} from '../../../widget-modules/components/sidebar/page-frame.component';
|
import {PageFrameComponent} from '../../../widget-modules/components/sidebar/page-frame.component';
|
||||||
|
import {ButtonComponent} from '../../../widget-modules/components/button/button.component';
|
||||||
|
|
||||||
export interface PresentationSong {
|
export interface PresentationSong {
|
||||||
id: string;
|
id: string;
|
||||||
@@ -47,9 +46,7 @@ export interface PresentationSong {
|
|||||||
MatInput,
|
MatInput,
|
||||||
ReactiveFormsModule,
|
ReactiveFormsModule,
|
||||||
FormsModule,
|
FormsModule,
|
||||||
MatButton,
|
|
||||||
RouterLink,
|
RouterLink,
|
||||||
FaIconComponent,
|
|
||||||
MatSelect,
|
MatSelect,
|
||||||
MatOption,
|
MatOption,
|
||||||
MatSlider,
|
MatSlider,
|
||||||
@@ -60,6 +57,7 @@ export interface PresentationSong {
|
|||||||
ShowTypePipe,
|
ShowTypePipe,
|
||||||
SectionTypePipe,
|
SectionTypePipe,
|
||||||
PageFrameComponent,
|
PageFrameComponent,
|
||||||
|
ButtonComponent,
|
||||||
],
|
],
|
||||||
})
|
})
|
||||||
export class RemoteComponent implements OnDestroy {
|
export class RemoteComponent implements OnDestroy {
|
||||||
|
|||||||
@@ -9,10 +9,11 @@
|
|||||||
@if (shows.length > 0) {
|
@if (shows.length > 0) {
|
||||||
<div class="list">
|
<div class="list">
|
||||||
@for (show of shows; track show.id) {
|
@for (show of shows; track show.id) {
|
||||||
<button (click)="selectShow(show)" mat-stroked-button>
|
<app-button (click)="selectShow(show)" class="full-width">
|
||||||
<app-user-name [userId]="show.owner"></app-user-name>
|
<app-user-name [userId]="show.owner"></app-user-name>
|
||||||
, {{ show.showType | showType }}, {{ show.date.toDate() | date: "dd.MM.yyyy" }}
|
, {{ show.showType | showType }}, {{ show.date.toDate() | date: "dd.MM.yyyy" }}
|
||||||
</button>
|
</app-button>
|
||||||
|
|
||||||
}
|
}
|
||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -7,17 +7,17 @@ import {Router} from '@angular/router';
|
|||||||
import {fade} from '../../../animations';
|
import {fade} from '../../../animations';
|
||||||
import {AsyncPipe, DatePipe} from '@angular/common';
|
import {AsyncPipe, DatePipe} from '@angular/common';
|
||||||
import {CardComponent} from '../../../widget-modules/components/card/card.component';
|
import {CardComponent} from '../../../widget-modules/components/card/card.component';
|
||||||
import {MatButton} from '@angular/material/button';
|
|
||||||
import {UserNameComponent} from '../../../services/user/user-name/user-name.component';
|
import {UserNameComponent} from '../../../services/user/user-name/user-name.component';
|
||||||
import {ShowTypePipe} from '../../../widget-modules/pipes/show-type-translater/show-type.pipe';
|
import {ShowTypePipe} from '../../../widget-modules/pipes/show-type-translater/show-type.pipe';
|
||||||
import {PageFrameComponent} from '../../../widget-modules/components/sidebar/page-frame.component';
|
import {PageFrameComponent} from '../../../widget-modules/components/sidebar/page-frame.component';
|
||||||
|
import {ButtonComponent} from '../../../widget-modules/components/button/button.component';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-select',
|
selector: 'app-select',
|
||||||
templateUrl: './select.component.html',
|
templateUrl: './select.component.html',
|
||||||
styleUrls: ['./select.component.less'],
|
styleUrls: ['./select.component.less'],
|
||||||
animations: [fade],
|
animations: [fade],
|
||||||
imports: [CardComponent, MatButton, UserNameComponent, AsyncPipe, DatePipe, ShowTypePipe, PageFrameComponent],
|
imports: [CardComponent, UserNameComponent, AsyncPipe, DatePipe, ShowTypePipe, PageFrameComponent, ButtonComponent],
|
||||||
})
|
})
|
||||||
export class SelectComponent implements OnInit {
|
export class SelectComponent implements OnInit {
|
||||||
private showService = inject(ShowService);
|
private showService = inject(ShowService);
|
||||||
|
|||||||
@@ -1,9 +1,5 @@
|
|||||||
:host {
|
|
||||||
display: inline-flex;
|
|
||||||
}
|
|
||||||
|
|
||||||
:host(.full-width) {
|
:host(.full-width) {
|
||||||
display: flex;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -17,6 +17,7 @@
|
|||||||
--color-primary-dark: #48686e;
|
--color-primary-dark: #48686e;
|
||||||
--color-primary: #6f8f95;
|
--color-primary: #6f8f95;
|
||||||
--color-primary-light: #85a4aa;
|
--color-primary-light: #85a4aa;
|
||||||
|
--primary-color-sat: #578f9a;
|
||||||
--primary-color: #6f8f95;
|
--primary-color: #6f8f95;
|
||||||
--primary-hover: #85a4aa;
|
--primary-hover: #85a4aa;
|
||||||
--primary-active: #5b797e;
|
--primary-active: #5b797e;
|
||||||
|
|||||||
Reference in New Issue
Block a user