From 1ffd4ad2ee0f209542ca5f6000f7c581a7658f64 Mon Sep 17 00:00:00 2001 From: Sana EL HIRI Date: Fri, 21 Jan 2022 15:10:24 +0100 Subject: [PATCH] dev --- src/app/app-routing.module.ts | 5 +- src/app/app.module.ts | 2 + .../page-test-form.component.html | 80 +++++++++++++++++++ .../page-test-form.component.scss | 0 .../page-test-form.component.spec.ts | 25 ++++++ .../page-test-form.component.ts | 15 ++++ 6 files changed, 126 insertions(+), 1 deletion(-) create mode 100644 src/app/pages/page-test-form/page-test-form.component.html create mode 100644 src/app/pages/page-test-form/page-test-form.component.scss create mode 100644 src/app/pages/page-test-form/page-test-form.component.spec.ts create mode 100644 src/app/pages/page-test-form/page-test-form.component.ts diff --git a/src/app/app-routing.module.ts b/src/app/app-routing.module.ts index 7010ac8..b34ba92 100644 --- a/src/app/app-routing.module.ts +++ b/src/app/app-routing.module.ts @@ -13,6 +13,7 @@ import { PageNotFoundComponent } from './pages/page-not-found/page-not-found.com import { PageRepertoireComponent } from './pages/page-repertoire/page-repertoire.component'; import { PageResetPasswordComponent } from './pages/page-reset-password/page-reset-password.component'; import { PageSignupComponent } from './pages/page-signup/page-signup.component'; +import { PageTestFormComponent } from './pages/page-test-form/page-test-form.component'; import { PageToDoListComponent } from './pages/page-to-do-list/page-to-do-list.component'; import { PageUpdateMemberComponent } from './pages/page-update-member/page-update-member.component'; @@ -32,7 +33,9 @@ const routes: Routes = [ { path: 'to-do-list', component: PageToDoListComponent }, { path: 'modifier-membre', component: PageUpdateMemberComponent }, { path: 'creation-team', component : PageCreationTeamComponent}, - { path: '**', component: PageNotFoundComponent }, + { path: 'test', component : PageTestFormComponent}, + { path: '**', component: PageNotFoundComponent } + ]; @NgModule({ diff --git a/src/app/app.module.ts b/src/app/app.module.ts index 8c02ccc..46e47df 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -34,6 +34,7 @@ import { CreneauComponent } from './components/creneau/creneau.component'; import { FormsModule, ReactiveFormsModule } from '@angular/forms'; import { HttpClientModule } from '@angular/common/http'; import { PageCreationTeamComponent } from './pages/page-creation-team/page-creation-team.component'; +import { PageTestFormComponent } from './pages/page-test-form/page-test-form.component'; @NgModule({ declarations: [ @@ -67,6 +68,7 @@ import { PageCreationTeamComponent } from './pages/page-creation-team/page-creat PaginationComponent, CreneauComponent, PageCreationTeamComponent, + PageTestFormComponent, ], imports: [ BrowserModule, diff --git a/src/app/pages/page-test-form/page-test-form.component.html b/src/app/pages/page-test-form/page-test-form.component.html new file mode 100644 index 0000000..d9f78fc --- /dev/null +++ b/src/app/pages/page-test-form/page-test-form.component.html @@ -0,0 +1,80 @@ +

page-test-form works!

+ +
+
+
+

Incrivez-vous !

+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+ + + +
+
+
diff --git a/src/app/pages/page-test-form/page-test-form.component.scss b/src/app/pages/page-test-form/page-test-form.component.scss new file mode 100644 index 0000000..e69de29 diff --git a/src/app/pages/page-test-form/page-test-form.component.spec.ts b/src/app/pages/page-test-form/page-test-form.component.spec.ts new file mode 100644 index 0000000..f1a9abd --- /dev/null +++ b/src/app/pages/page-test-form/page-test-form.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { PageTestFormComponent } from './page-test-form.component'; + +describe('PageTestFormComponent', () => { + let component: PageTestFormComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ PageTestFormComponent ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(PageTestFormComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/src/app/pages/page-test-form/page-test-form.component.ts b/src/app/pages/page-test-form/page-test-form.component.ts new file mode 100644 index 0000000..056d5ac --- /dev/null +++ b/src/app/pages/page-test-form/page-test-form.component.ts @@ -0,0 +1,15 @@ +import { Component, OnInit } from '@angular/core'; + +@Component({ + selector: 'app-page-test-form', + templateUrl: './page-test-form.component.html', + styleUrls: ['./page-test-form.component.scss'] +}) +export class PageTestFormComponent implements OnInit { + + constructor() { } + + ngOnInit(): void { + } + +}