diff --git a/src/app/app-routing-module.ts b/src/app/app-routing-module.ts
index c9fa9fe..d9783f1 100644
--- a/src/app/app-routing-module.ts
+++ b/src/app/app-routing-module.ts
@@ -61,7 +61,7 @@ const routes: Routes = [
path: 'employee/validation/ticket',
component: TicketValidationComponent,
canActivate: [AuthGuard],
- data: { roles: ['employee'], allowMobile: true },
+ data: { roles: ['employee'], allowMobile: false },
},
{
path: 'employee/validation/ticket/:ticketId',
diff --git a/src/app/home/home.component.css b/src/app/home/home.component.css
index 3b83a8f..72a6abc 100644
--- a/src/app/home/home.component.css
+++ b/src/app/home/home.component.css
@@ -13,3 +13,16 @@
}
.animate-fade-logo { animation: fade 1.5s 0.5s ease forwards; opacity: 0; }
+
+.arrow {
+ font-size: 30px;
+ height: 30px;
+ width: 30px;
+ color:#9f9fa9;
+
+ &:is(:where(.group):hover *) {
+ @media (hover: hover) {
+ color: #db2777;
+ }
+ }
+}
diff --git a/src/app/home/home.component.html b/src/app/home/home.component.html
index cd1a3aa..ae55682 100644
--- a/src/app/home/home.component.html
+++ b/src/app/home/home.component.html
@@ -9,11 +9,27 @@
diff --git a/src/app/main/main.component.css b/src/app/main/main.component.css
index 1a13e36..468a3e5 100644
--- a/src/app/main/main.component.css
+++ b/src/app/main/main.component.css
@@ -1,6 +1,12 @@
-::ng-deep .mat-step-header .mat-step-icon {
+/* ::ng-deep .mat-step-header .mat-step-icon {
background-color: #ccc;
color: white;
+} */
+
+/* Keine Ahnung, wie man sonst die letzte Box grĂ¼n bekommen soll... */
+::ng-deep .mat-step-header .mat-step-icon {
+ background-color: #30d64c;
+ color: white;
}
::ng-deep .mat-step-icon-state-edit {
@@ -8,7 +14,6 @@
color: white;
}
-
::ng-deep .mat-step-icon-state-done {
background-color: #30d64c !important;
color: white;
diff --git a/src/app/main/main.component.html b/src/app/main/main.component.html
index dff4f2e..a91fd19 100644
--- a/src/app/main/main.component.html
+++ b/src/app/main/main.component.html
@@ -96,8 +96,12 @@
+ [completed]="true"
+ [editable]="false"
+ state="CONFIRMED">
+
+ check
+
Sprint #5: Aufbereitung und Optimierung
diff --git a/src/app/main/main.component.ts b/src/app/main/main.component.ts
index 9596873..63e45d2 100644
--- a/src/app/main/main.component.ts
+++ b/src/app/main/main.component.ts
@@ -1,13 +1,20 @@
+import { STEPPER_GLOBAL_OPTIONS } from '@angular/cdk/stepper';
import { Component } from '@angular/core';
@Component({
selector: 'app-main',
standalone: false,
templateUrl: './main.component.html',
- styleUrl: './main.component.css'
+ styleUrl: './main.component.css',
+ providers: [
+ {
+ provide: STEPPER_GLOBAL_OPTIONS,
+ useValue: { displayDefaultIndicatorType: false }
+ }
+ ]
})
export class MainComponent {
- currentSprint = 5;
+ currentSprint = 6;
isCompleted(index: number): boolean {
return index <= this.currentSprint;
diff --git a/src/app/movie-search/movie-search.component.ts b/src/app/movie-search/movie-search.component.ts
index ad27356..69f3075 100644
--- a/src/app/movie-search/movie-search.component.ts
+++ b/src/app/movie-search/movie-search.component.ts
@@ -32,11 +32,6 @@ export class MovieSearchComponent implements OnInit {
ngOnInit() {
this.loadMovies();
- this.filteredOptions = this.searchControl.valueChanges.pipe(
- startWith(''),
- tap(value => this.movieSearchResult.emit(value || '')),
- map(value => this._filter(value || ''))
- );
}
private _filter(value: string): string[] {
@@ -52,6 +47,11 @@ export class MovieSearchComponent implements OnInit {
this.options = movies
.map(movie => movie.title)
.sort();
+ this.filteredOptions = this.searchControl.valueChanges.pipe(
+ startWith(''),
+ tap(value => this.movieSearchResult.emit(value || '')),
+ map(value => this._filter(value || ''))
+ );
}),
catchError(err => {
console.error('Fehler beim Laden der Filme', err);
diff --git a/src/app/test/test.component.html b/src/app/test/test.component.html
index e69de29..fd4aaf5 100644
--- a/src/app/test/test.component.html
+++ b/src/app/test/test.component.html
@@ -0,0 +1 @@
+Test bestanden!
diff --git a/src/app/ticket-small/ticket-small.component.html b/src/app/ticket-small/ticket-small.component.html
index 8ad4428..e0ce1ad 100644
--- a/src/app/ticket-small/ticket-small.component.html
+++ b/src/app/ticket-small/ticket-small.component.html
@@ -1,4 +1,4 @@
-
+

+ }