diff --git a/frontend/src/app/app-routing.module.ts b/frontend/src/app/app-routing.module.ts index b03ec72..47103b6 100644 --- a/frontend/src/app/app-routing.module.ts +++ b/frontend/src/app/app-routing.module.ts @@ -4,11 +4,13 @@ import {AppComponent} from "./app.component"; import {AdminDashboardComponent} from "./admin-dashboard/admin-dashboard.component"; import {MainComponent} from "./main/main.component"; import {UserSettingsComponent} from "./user-settings/user-settings.component"; +import {TaskgroupDashboardComponent} from "./taskgroups/taskgroup-dashboard/taskgroup-dashboard.component"; const routes: Routes = [ {path: '', component: MainComponent}, {path: 'admin', component: AdminDashboardComponent}, - {path: 'user/settings', component: UserSettingsComponent} + {path: 'user/settings', component: UserSettingsComponent}, + {path: 'taskgroups', component: TaskgroupDashboardComponent} ]; @NgModule({ diff --git a/frontend/src/app/app.component.html b/frontend/src/app/app.component.html index f32869d..b4f5177 100644 --- a/frontend/src/app/app.component.html +++ b/frontend/src/app/app.component.html @@ -1,5 +1,10 @@ - Spring Angular Demo + TimeManager + + + + + diff --git a/frontend/src/app/app.module.ts b/frontend/src/app/app.module.ts index a2b3d4e..3bd5527 100644 --- a/frontend/src/app/app.module.ts +++ b/frontend/src/app/app.module.ts @@ -36,6 +36,7 @@ import { DeleteAccountComponent } from './user-settings/account-settings/delete- import { RegistrationComponent } from './auth/registration/registration.component'; import { SettingsComponent } from './admin-dashboard/settings/settings.component'; import {MatListModule} from "@angular/material/list"; +import { TaskgroupDashboardComponent } from './taskgroups/taskgroup-dashboard/taskgroup-dashboard.component'; @NgModule({ declarations: [ @@ -52,7 +53,8 @@ import {MatListModule} from "@angular/material/list"; ManageEmailComponent, DeleteAccountComponent, RegistrationComponent, - SettingsComponent + SettingsComponent, + TaskgroupDashboardComponent ], imports: [ BrowserModule, diff --git a/frontend/src/app/taskgroups/taskgroup-dashboard/taskgroup-dashboard.component.css b/frontend/src/app/taskgroups/taskgroup-dashboard/taskgroup-dashboard.component.css new file mode 100644 index 0000000..e69de29 diff --git a/frontend/src/app/taskgroups/taskgroup-dashboard/taskgroup-dashboard.component.html b/frontend/src/app/taskgroups/taskgroup-dashboard/taskgroup-dashboard.component.html new file mode 100644 index 0000000..1aae99a --- /dev/null +++ b/frontend/src/app/taskgroups/taskgroup-dashboard/taskgroup-dashboard.component.html @@ -0,0 +1 @@ +

taskgroup-dashboard works!

diff --git a/frontend/src/app/taskgroups/taskgroup-dashboard/taskgroup-dashboard.component.spec.ts b/frontend/src/app/taskgroups/taskgroup-dashboard/taskgroup-dashboard.component.spec.ts new file mode 100644 index 0000000..4ec2ce3 --- /dev/null +++ b/frontend/src/app/taskgroups/taskgroup-dashboard/taskgroup-dashboard.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { TaskgroupDashboardComponent } from './taskgroup-dashboard.component'; + +describe('TaskgroupDashboardComponent', () => { + let component: TaskgroupDashboardComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ TaskgroupDashboardComponent ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(TaskgroupDashboardComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/frontend/src/app/taskgroups/taskgroup-dashboard/taskgroup-dashboard.component.ts b/frontend/src/app/taskgroups/taskgroup-dashboard/taskgroup-dashboard.component.ts new file mode 100644 index 0000000..c8f32eb --- /dev/null +++ b/frontend/src/app/taskgroups/taskgroup-dashboard/taskgroup-dashboard.component.ts @@ -0,0 +1,15 @@ +import { Component, OnInit } from '@angular/core'; + +@Component({ + selector: 'app-taskgroup-dashboard', + templateUrl: './taskgroup-dashboard.component.html', + styleUrls: ['./taskgroup-dashboard.component.css'] +}) +export class TaskgroupDashboardComponent implements OnInit { + + constructor() { } + + ngOnInit(): void { + } + +}