diff --git a/src/app/app-routing.module.ts b/src/app/app-routing.module.ts index 4587264..86990f8 100644 --- a/src/app/app-routing.module.ts +++ b/src/app/app-routing.module.ts @@ -7,6 +7,7 @@ import { PageAgendaComponent } from './pages/page-agenda/page-agenda.component'; import { PageAjoutContactComponent } from './pages/page-ajout-contact/page-ajout-contact.component'; import { PageCreationTeamComponent } from './pages/page-creation-team/page-creation-team.component'; import { PageDashboardComponent } from './pages/page-dashboard/page-dashboard.component'; +import { PageDeleteAccountComponent } from './pages/page-delete-account/page-delete-account.component'; import { PageDeleteMemberComponent } from './pages/page-delete-member/page-delete-member.component'; import { PageForgotPasswordComponent } from './pages/page-forgot-password/page-forgot-password.component'; import { PageMenuSemaineComponent } from './pages/page-menu-semaine/page-menu-semaine.component'; @@ -16,6 +17,7 @@ import { PageRepertoireComponent } from './pages/page-repertoire/page-repertoire import { PageResetPasswordComponent } from './pages/page-reset-password/page-reset-password.component'; import { PageSignupComponent } from './pages/page-signup/page-signup.component'; import { PageToDoListComponent } from './pages/page-to-do-list/page-to-do-list.component'; +import { PageUpdateAccountComponent } from './pages/page-update-account/page-update-account.component'; import { PageUpdateMemberComponent } from './pages/page-update-member/page-update-member.component'; const routes: Routes = [ @@ -27,6 +29,7 @@ const routes: Routes = [ { path: 'agenda', component: PageAgendaComponent }, { path: 'tableau-de-bord', component: PageDashboardComponent }, { path: 'supprimer-membre', component: PageDeleteMemberComponent }, + { path: 'supprimer-compte', component: PageDeleteAccountComponent }, { path: 'password-oublie', component: PageForgotPasswordComponent }, { path: 'menu', component: PageMenuSemaineComponent }, { path: 'repertoire', component: PageRepertoireComponent }, @@ -34,6 +37,7 @@ const routes: Routes = [ { path: 'creation-compte', component: PageSignupComponent }, { path: 'to-do-list', component: PageToDoListComponent }, { path: 'modifier-membre', component: PageUpdateMemberComponent }, + { path: 'modifier-compte', component: PageUpdateAccountComponent }, { path: 'ajouter-contact', component: PageAjoutContactComponent }, { path: 'creation-team', component: PageCreationTeamComponent }, { path: '**', component: PageNotFoundComponent }, diff --git a/src/app/app.module.ts b/src/app/app.module.ts index 3f9fcc5..6410996 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -37,6 +37,8 @@ import { PageAjoutContactComponent } from './pages/page-ajout-contact/page-ajout import { PageModifierContactComponent } from './pages/page-modifier-contact/page-modifier-contact.component'; import { PageCreationTeamComponent } from './pages/page-creation-team/page-creation-team.component'; import { AutofocusFixModule } from 'ngx-autofocus-fix'; +import { PageDeleteAccountComponent } from './pages/page-delete-account/page-delete-account.component'; +import { PageUpdateAccountComponent } from './pages/page-update-account/page-update-account.component'; @@ -75,6 +77,8 @@ import { AutofocusFixModule } from 'ngx-autofocus-fix'; PageAjoutContactComponent, PageModifierContactComponent, PageCreationTeamComponent, + PageDeleteAccountComponent, + PageUpdateAccountComponent, ], imports: [ BrowserModule, diff --git a/src/app/pages/page-account/page-account.component.html b/src/app/pages/page-account/page-account.component.html index aa47cd3..13e1f05 100644 --- a/src/app/pages/page-account/page-account.component.html +++ b/src/app/pages/page-account/page-account.component.html @@ -13,12 +13,12 @@
diff --git a/src/app/pages/page-delete-account/page-delete-account.component.html b/src/app/pages/page-delete-account/page-delete-account.component.html new file mode 100644 index 0000000..18e56eb --- /dev/null +++ b/src/app/pages/page-delete-account/page-delete-account.component.html @@ -0,0 +1,12 @@ + +
+
+ +
+
+

Supprimer votre compte

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

Supprimer un membre

+

Supprimer ce membre

diff --git a/src/app/pages/page-update-account/page-update-account.component.html b/src/app/pages/page-update-account/page-update-account.component.html new file mode 100644 index 0000000..0210d99 --- /dev/null +++ b/src/app/pages/page-update-account/page-update-account.component.html @@ -0,0 +1,12 @@ + +
+
+ +
+
+

Modifier votre compte

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

Modifier un membre

+

Modifier ce membre