From 42eff07067894aeafd4570a213a2168fad699035 Mon Sep 17 00:00:00 2001 From: Blandine Bajard <83599148+BlandineBajard@users.noreply.github.com> Date: Fri, 4 Mar 2022 16:39:56 +0100 Subject: [PATCH] menache --- src/app/app-routing.module.ts | 4 --- src/app/app.module.ts | 6 ----- .../pagination/pagination.component.html | 1 - .../pagination/pagination.component.scss | 0 .../pagination/pagination.component.spec.ts | 25 ------------------- .../pagination/pagination.component.ts | 15 ----------- .../page-account/page-account.component.html | 9 ++++--- .../page-agenda/page-agenda.component.html | 12 ++++++--- .../page-delete-account.component.html | 12 --------- .../page-delete-account.component.scss | 0 .../page-delete-account.component.spec.ts | 25 ------------------- .../page-delete-account.component.ts | 15 ----------- .../page-update-account.component.html | 11 -------- .../page-update-account.component.scss | 0 .../page-update-account.component.spec.ts | 25 ------------------- .../page-update-account.component.ts | 15 ----------- 16 files changed, 14 insertions(+), 161 deletions(-) delete mode 100644 src/app/components/pagination/pagination.component.html delete mode 100644 src/app/components/pagination/pagination.component.scss delete mode 100644 src/app/components/pagination/pagination.component.spec.ts delete mode 100644 src/app/components/pagination/pagination.component.ts delete mode 100644 src/app/pages/page-delete-account/page-delete-account.component.html delete mode 100644 src/app/pages/page-delete-account/page-delete-account.component.scss delete mode 100644 src/app/pages/page-delete-account/page-delete-account.component.spec.ts delete mode 100644 src/app/pages/page-delete-account/page-delete-account.component.ts delete mode 100644 src/app/pages/page-update-account/page-update-account.component.html delete mode 100644 src/app/pages/page-update-account/page-update-account.component.scss delete mode 100644 src/app/pages/page-update-account/page-update-account.component.spec.ts delete mode 100644 src/app/pages/page-update-account/page-update-account.component.ts diff --git a/src/app/app-routing.module.ts b/src/app/app-routing.module.ts index 85355fe..b4b104e 100644 --- a/src/app/app-routing.module.ts +++ b/src/app/app-routing.module.ts @@ -7,7 +7,6 @@ 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'; @@ -17,7 +16,6 @@ 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'; import { PageSupportComponent } from './pages/page-support/page-support.component'; import { FooterComponent } from './components/footer/footer.component'; @@ -33,7 +31,6 @@ const routes: Routes = [ { path: 'agenda', canActivate: [AuthGuard], component: PageAgendaComponent }, { path: 'tableau-de-bord', canActivate: [AuthGuard], component: PageDashboardComponent }, { path: 'supprimer-membre', canActivate: [AuthGuard], component: PageDeleteMemberComponent }, - { path: 'supprimer-compte', canActivate: [AuthGuard], component: PageDeleteAccountComponent }, { path: 'password-oublie', component: PageForgotPasswordComponent }, { path: 'menu', canActivate: [AuthGuard], component: PageMenuSemaineComponent }, { path: 'repertoire', canActivate: [AuthGuard], component: PageRepertoireComponent }, @@ -42,7 +39,6 @@ const routes: Routes = [ { path: 'page-support', component: PageSupportComponent}, { path: 'to-do-list', canActivate: [AuthGuard], component: PageToDoListComponent }, { path: 'modifier-membre/:id', canActivate: [AuthGuard], component: PageUpdateMemberComponent }, - { path: 'modifier-compte', canActivate: [AuthGuard], component: PageUpdateAccountComponent }, { path: 'ajouter-contact', canActivate: [AuthGuard], component: PageAjoutContactComponent }, { path: 'creation-team', canActivate: [AuthGuard], component: PageCreationTeamComponent }, { path: 'footer', component: FooterComponent}, diff --git a/src/app/app.module.ts b/src/app/app.module.ts index 960f483..6fe94e6 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -26,7 +26,6 @@ import { ToDoListComponent } from './components/to-do-list/to-do-list.component' import { TacheComponent } from './components/tache/tache.component'; import { CardMenuComponent } from './components/card-menu/card-menu.component'; import { FicheContactComponent } from './components/fiche-contact/fiche-contact.component'; -import { PaginationComponent } from './components/pagination/pagination.component'; import { CreneauComponent } from './components/creneau/creneau.component'; import { FormsModule, ReactiveFormsModule } from '@angular/forms'; import { HttpClientModule, HTTP_INTERCEPTORS } from '@angular/common/http'; @@ -35,8 +34,6 @@ import { PageModifierContactComponent } from './pages/page-modifier-contact/page import { PageCreationTeamComponent } from './pages/page-creation-team/page-creation-team.component'; import { AutofocusFixModule } from 'ngx-autofocus-fix'; import { FooterComponent } from './components/footer/footer.component'; -import { PageDeleteAccountComponent } from './pages/page-delete-account/page-delete-account.component'; -import { PageUpdateAccountComponent } from './pages/page-update-account/page-update-account.component'; import { DayPilot, DayPilotModule } from "@daypilot/daypilot-lite-angular"; import { registerLocaleData } from '@angular/common'; import localeFr from '@angular/common/locales/fr'; @@ -74,14 +71,11 @@ registerLocaleData(localeFr) TacheComponent, CardMenuComponent, FicheContactComponent, - PaginationComponent, CreneauComponent, PageAjoutContactComponent, PageModifierContactComponent, PageCreationTeamComponent, FooterComponent, - PageDeleteAccountComponent, - PageUpdateAccountComponent, CardAvatarComponent, DeconnexionComponent, HumeurComponent, diff --git a/src/app/components/pagination/pagination.component.html b/src/app/components/pagination/pagination.component.html deleted file mode 100644 index 59b8a74..0000000 --- a/src/app/components/pagination/pagination.component.html +++ /dev/null @@ -1 +0,0 @@ -

pagination works!

diff --git a/src/app/components/pagination/pagination.component.scss b/src/app/components/pagination/pagination.component.scss deleted file mode 100644 index e69de29..0000000 diff --git a/src/app/components/pagination/pagination.component.spec.ts b/src/app/components/pagination/pagination.component.spec.ts deleted file mode 100644 index 258ba5c..0000000 --- a/src/app/components/pagination/pagination.component.spec.ts +++ /dev/null @@ -1,25 +0,0 @@ -import { ComponentFixture, TestBed } from '@angular/core/testing'; - -import { PaginationComponent } from './pagination.component'; - -describe('PaginationComponent', () => { - let component: PaginationComponent; - let fixture: ComponentFixture; - - beforeEach(async () => { - await TestBed.configureTestingModule({ - declarations: [ PaginationComponent ] - }) - .compileComponents(); - }); - - beforeEach(() => { - fixture = TestBed.createComponent(PaginationComponent); - component = fixture.componentInstance; - fixture.detectChanges(); - }); - - it('should create', () => { - expect(component).toBeTruthy(); - }); -}); diff --git a/src/app/components/pagination/pagination.component.ts b/src/app/components/pagination/pagination.component.ts deleted file mode 100644 index 35d2bcb..0000000 --- a/src/app/components/pagination/pagination.component.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { Component, OnInit } from '@angular/core'; - -@Component({ - selector: 'app-pagination', - templateUrl: './pagination.component.html', - styleUrls: ['./pagination.component.scss'] -}) -export class PaginationComponent implements OnInit { - - constructor() { } - - ngOnInit(): void { - } - -} diff --git a/src/app/pages/page-account/page-account.component.html b/src/app/pages/page-account/page-account.component.html index 14bd38e..0c04504 100644 --- a/src/app/pages/page-account/page-account.component.html +++ b/src/app/pages/page-account/page-account.component.html @@ -3,7 +3,7 @@
-

{{currentTeam.nom}}

+

{{ currentTeam.nom }}

@@ -11,12 +11,13 @@
@@ -26,7 +27,7 @@ -
+
diff --git a/src/app/pages/page-agenda/page-agenda.component.html b/src/app/pages/page-agenda/page-agenda.component.html index bd42f5a..3c9228b 100644 --- a/src/app/pages/page-agenda/page-agenda.component.html +++ b/src/app/pages/page-agenda/page-agenda.component.html @@ -1,7 +1,11 @@ - + - team : {{ teamId }} - user: {{ userId }} - role: {{ role }} + team : {{ teamId }} - user: {{ userId }} - role: {{ role }} -
-
- -
-
-

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 deleted file mode 100644 index e69de29..0000000 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 deleted file mode 100644 index 1515cf6..0000000 --- a/src/app/pages/page-delete-account/page-delete-account.component.spec.ts +++ /dev/null @@ -1,25 +0,0 @@ -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 deleted file mode 100644 index 0388cf0..0000000 --- a/src/app/pages/page-delete-account/page-delete-account.component.ts +++ /dev/null @@ -1,15 +0,0 @@ -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-update-account/page-update-account.component.html b/src/app/pages/page-update-account/page-update-account.component.html deleted file mode 100644 index 2c307c2..0000000 --- a/src/app/pages/page-update-account/page-update-account.component.html +++ /dev/null @@ -1,11 +0,0 @@ - - -
-
- -
-
-

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 deleted file mode 100644 index e69de29..0000000 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 deleted file mode 100644 index d65402a..0000000 --- a/src/app/pages/page-update-account/page-update-account.component.spec.ts +++ /dev/null @@ -1,25 +0,0 @@ -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 deleted file mode 100644 index 4fcb39b..0000000 --- a/src/app/pages/page-update-account/page-update-account.component.ts +++ /dev/null @@ -1,15 +0,0 @@ -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 { - } - -}