diff --git a/src/app/app.component.html b/src/app/app.component.html
index f5ecf24..89e1eca 100644
--- a/src/app/app.component.html
+++ b/src/app/app.component.html
@@ -1,5 +1,5 @@
-
+
diff --git a/src/app/screen-rotations/screen-rotations.component.html b/src/app/screen-rotations/screen-rotations.component.html
index a02d7b2..a16e415 100644
--- a/src/app/screen-rotations/screen-rotations.component.html
+++ b/src/app/screen-rotations/screen-rotations.component.html
@@ -1 +1,65 @@
-
rotations!
\ No newline at end of file
+
+
Rotations
+
+
+
+
+
+
+
+ @for (player of outsidePlayers; track $index) {
+ {{ player.name }}
+ }
+
+
+
+
+
+
+
+
+
+
+
+ Content for the first item
+
+
+
+
+
+
+
+
+
+
+
+ Content for the first item
+
+
+
+
+
+
+
+
+
+
+
+ Content for the first item
+
+
+
+
+
+
+
+
+
+
+
+ Content for the first item
+
+
+
+
+
diff --git a/src/app/screen-rotations/screen-rotations.component.ts b/src/app/screen-rotations/screen-rotations.component.ts
index 3f8c3fb..be8a5f5 100644
--- a/src/app/screen-rotations/screen-rotations.component.ts
+++ b/src/app/screen-rotations/screen-rotations.component.ts
@@ -2,13 +2,29 @@
import { Component, Input } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { Player } from '../model';
+import { NgbAccordionBody, NgbAccordionCollapse, NgbAccordionHeader, NgbAccordionItem, NgbAccordionButton, NgbAccordionDirective, NgbAccordionToggle } from '@ng-bootstrap/ng-bootstrap';
@Component({
selector: 'app-screen-rotations',
- imports: [FormsModule],
+ imports: [FormsModule, NgbAccordionButton, NgbAccordionDirective, NgbAccordionItem, NgbAccordionHeader, NgbAccordionToggle, NgbAccordionBody, NgbAccordionCollapse,],
templateUrl: './screen-rotations.component.html',
styleUrl: './screen-rotations.component.less'
})
export class ScreenRotationsComponent {
@Input() players!: Player[];
+ get outsidePlayers(): Player[] {
+ return this.players.filter(player => !player.outside);
+ }
+ get middlePlayers(): Player[] {
+ return this.players.filter(player => player.middle);
+ }
+ get oppositePlayers(): Player[] {
+ return this.players.filter(player => player.opposite);
+ }
+ get SetterPlayers(): Player[] {
+ return this.players.filter(player => player.setter);
+ }
+ get LiberoPlayers(): Player[] {
+ return this.players.filter(player => player.libero);
+ }
}
\ No newline at end of file