upsi dupsi, da sind noch die componenten 🤡
This commit is contained in:
0
src/app/seat/seat.component.css
Normal file
0
src/app/seat/seat.component.css
Normal file
15
src/app/seat/seat.component.html
Normal file
15
src/app/seat/seat.component.html
Normal file
@@ -0,0 +1,15 @@
|
||||
<button class="mx-1 hover:opacity-50">
|
||||
<mat-icon style="font-size: 30px; width: 30px; height: 30px">
|
||||
@if(seatCategory().id ==1){
|
||||
event_seat
|
||||
}
|
||||
@if(seatCategory().id == 2){
|
||||
weekend
|
||||
}
|
||||
@if(seatCategory().id == 3){
|
||||
chair
|
||||
}
|
||||
|
||||
</mat-icon>
|
||||
</button>
|
||||
|
||||
14
src/app/seat/seat.component.ts
Normal file
14
src/app/seat/seat.component.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
import {Component, input} from '@angular/core';
|
||||
import {TheaterSeatState} from '../model/theater-seat-state.model';
|
||||
import {Sitzkategorie} from '@infinimotion/model-frontend';
|
||||
|
||||
@Component({
|
||||
selector: 'app-seat',
|
||||
standalone: false,
|
||||
templateUrl: './seat.component.html',
|
||||
styleUrl: './seat.component.css'
|
||||
})
|
||||
export class SeatComponent {
|
||||
seatState = input.required<TheaterSeatState>();
|
||||
seatCategory = input.required<Sitzkategorie>();
|
||||
}
|
||||
Reference in New Issue
Block a user