diff --git a/angular-frontend/src/app/Admin/Individu/all-individus/all-individus.component.html b/angular-frontend/src/app/Admin/Individu/all-individus/all-individus.component.html index bc4fca7..074db8c 100644 --- a/angular-frontend/src/app/Admin/Individu/all-individus/all-individus.component.html +++ b/angular-frontend/src/app/Admin/Individu/all-individus/all-individus.component.html @@ -1,48 +1,56 @@ -
-
-
-
-
-
-

List Des Individus

-
-
-
- - - - - - - - - - - - - - - - - - - - - - - -
IDNomPrenomE-mailTelephoneVilleDate De NaissanceAction
{{ individu.id }}{{ individu.nom }}{{ individu.prenom }}{{ individu.email }}{{ individu.tele }}{{ individu.ville }}{{ individu.dateNaissance }} - Edit - -
+
+
+
+
+
+
+
+

List Des Individus

+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + +
IdNomPrenomE-mailTelephoneVilleDate De NaissanceAction
{{ increment() }}{{ individu.nom }}{{ individu.prenom }}{{ individu.email }}{{ individu.tele }}{{ individu.ville }}{{ individu.dateNaissance }} + Edit + +
+
-
\ No newline at end of file +
diff --git a/angular-frontend/src/app/Admin/Individu/all-individus/all-individus.component.ts b/angular-frontend/src/app/Admin/Individu/all-individus/all-individus.component.ts index 83722ac..d4c3e7e 100644 --- a/angular-frontend/src/app/Admin/Individu/all-individus/all-individus.component.ts +++ b/angular-frontend/src/app/Admin/Individu/all-individus/all-individus.component.ts @@ -12,6 +12,7 @@ import Swal from 'sweetalert2'; export class AllIndividusComponent implements OnInit { individus: Individu[] = []; permission: boolean; + index: number = 0; constructor( private individuService: IndividuService, @@ -24,9 +25,9 @@ export class AllIndividusComponent implements OnInit { } // This method is used to generate rows numbers in the individus list instead of displaying the id - // increment(): number { - // return this.index += 1; - // } + increment(): number { + return this.index += 1; + } getAllIndividus() { this.individuService.getAllIndividus().then((response) => { diff --git a/angular-frontend/src/app/Admin/Individu/edit-individu/edit-individu.component.html b/angular-frontend/src/app/Admin/Individu/edit-individu/edit-individu.component.html index cbf65ad..766c183 100644 --- a/angular-frontend/src/app/Admin/Individu/edit-individu/edit-individu.component.html +++ b/angular-frontend/src/app/Admin/Individu/edit-individu/edit-individu.component.html @@ -3,13 +3,13 @@
-
+

Modifier un individu

-
+
Toutes les IndividusToutes les Individu
@@ -76,16 +76,15 @@

Modifier un individu

name="dateNaissance" id="dateNaissance" /> -
+ -
diff --git a/angular-frontend/src/app/Admin/entreprise/create-entreprise/create-entreprise.component.html b/angular-frontend/src/app/Admin/entreprise/create-entreprise/create-entreprise.component.html index 08ea5e8..0746f8f 100644 --- a/angular-frontend/src/app/Admin/entreprise/create-entreprise/create-entreprise.component.html +++ b/angular-frontend/src/app/Admin/entreprise/create-entreprise/create-entreprise.component.html @@ -75,16 +75,14 @@

Ajouter une entreprise

required /> -
-
diff --git a/angular-frontend/src/app/Admin/entreprise/edit-entreprise/edit-entreprise.component.html b/angular-frontend/src/app/Admin/entreprise/edit-entreprise/edit-entreprise.component.html index f06f6a2..cb1da4c 100644 --- a/angular-frontend/src/app/Admin/entreprise/edit-entreprise/edit-entreprise.component.html +++ b/angular-frontend/src/app/Admin/entreprise/edit-entreprise/edit-entreprise.component.html @@ -73,7 +73,6 @@

Modifier une entreprise

id="email" /> -
-
diff --git a/angular-frontend/src/app/Admin/entreprise/list-Entreprise/list-Entreprise.component.html b/angular-frontend/src/app/Admin/entreprise/list-Entreprise/list-Entreprise.component.html index 72ffcef..2ef35fa 100644 --- a/angular-frontend/src/app/Admin/entreprise/list-Entreprise/list-Entreprise.component.html +++ b/angular-frontend/src/app/Admin/entreprise/list-Entreprise/list-Entreprise.component.html @@ -2,18 +2,21 @@
-
-
+
+

Liste des entreprises

- Ajouter - Entreprise + Ajouter Entreprise

-
- - +
+
+ @@ -22,7 +25,7 @@

Liste des entreprises

- + @@ -31,19 +34,29 @@

Liste des entreprises

@@ -56,4 +69,4 @@

Liste des entreprises

- \ No newline at end of file + diff --git a/angular-frontend/src/app/Admin/formator/add-formator/add-formator.component.html b/angular-frontend/src/app/Admin/formator/add-formator/add-formator.component.html index fda3d91..8ad9128 100644 --- a/angular-frontend/src/app/Admin/formator/add-formator/add-formator.component.html +++ b/angular-frontend/src/app/Admin/formator/add-formator/add-formator.component.html @@ -4,12 +4,10 @@
-

Ajouter Un Formateur

- +

Ajouter Un Formateur

+
@@ -18,8 +16,7 @@

Ajouter Un Formateur

- +
@@ -30,26 +27,24 @@

Ajouter Un Formateur

- +
- -
+ +
- -
+ +
-
+
diff --git a/angular-frontend/src/app/Admin/formator/list-formator/list-formator.component.html b/angular-frontend/src/app/Admin/formator/list-formator/list-formator.component.html index d1e8b9a..e36f5e3 100644 --- a/angular-frontend/src/app/Admin/formator/list-formator/list-formator.component.html +++ b/angular-frontend/src/app/Admin/formator/list-formator/list-formator.component.html @@ -2,38 +2,39 @@
-
+
-

Formator List

-

- - Ajouter Formateur - -

+

Formator List

+
-
ID Nom Addresse E-Mail Action
{{ entreprise.id }} {{ entreprise.nom }} {{ entreprise.url }} {{ entreprise.email }} - Details - -
- +
+ - + - + - diff --git a/angular-frontend/src/app/Admin/formator/update-formator/update-formator.component.html b/angular-frontend/src/app/Admin/formator/update-formator/update-formator.component.html index f394351..420c914 100644 --- a/angular-frontend/src/app/Admin/formator/update-formator/update-formator.component.html +++ b/angular-frontend/src/app/Admin/formator/update-formator/update-formator.component.html @@ -1,63 +1,75 @@
-
-
-
-
-

Modifier Un Formateur

- -
+
+
+
+
+

Modifier Un Formateur

+ +
+ +
+
+
+ + + + +
-
- -
- - - - -
+
+ + + +
-
- - - -
+
+ + + +
-
- - - -
+
+ + + +
-
- - - -
+
+ + + +
-
- - - -
- -
- -
- -
-
+
+
-
-
-
\ No newline at end of file +
+
+ +
+ diff --git a/angular-frontend/src/app/Admin/logout/logout.component.ts b/angular-frontend/src/app/Admin/logout/logout.component.ts index e601614..693fda5 100644 --- a/angular-frontend/src/app/Admin/logout/logout.component.ts +++ b/angular-frontend/src/app/Admin/logout/logout.component.ts @@ -5,10 +5,10 @@ import { Component} from '@angular/core'; templateUrl: './logout.component.html' }) export class Logout { - router: any; logout(): void { - //this.router.navigate(['/home']); + window.location.href = 'https://www.google.com'; + } } diff --git a/angular-frontend/src/app/components/sidebar/sidebar.component.ts b/angular-frontend/src/app/components/sidebar/sidebar.component.ts index 7134948..6c91967 100644 --- a/angular-frontend/src/app/components/sidebar/sidebar.component.ts +++ b/angular-frontend/src/app/components/sidebar/sidebar.component.ts @@ -1,7 +1,6 @@ import { Component, OnInit } from '@angular/core'; import { DemandeService } from 'app/Admin/formation copy/demande.service'; import { UserAuthsService } from 'app/services/user-auths.service'; -import { Router } from 'express'; declare const $: any; @@ -24,7 +23,7 @@ export class SidebarComponent implements OnInit { menuItems: any[]; countLine: number = 0; - constructor(private userAuthsService: UserAuthsService, public DemandeService: DemandeService, private router: Router) {} + constructor(private userAuthsService: UserAuthsService, public DemandeService: DemandeService) {} ngOnInit() { this.DemandeService.countLines() @@ -48,7 +47,7 @@ export class SidebarComponent implements OnInit { { path: '/admin/calendar', title: 'Calendar', icon: 'event', class: '', role: this.userAuthsService.isAdminOrAssistant() }, { path: '/admin/demande', title: 'Demandes Externes (' + this.countLine +')', icon: 'event', class: '', role: this.userAuthsService.isAdminOrAssistant() }, { path: '/home', title: 'Page Acceuil', icon: 'dashboard', class: '', role: true }, - { path: '/home', title: 'Logout', icon: 'logout', class: 'active-pro', role: this.userAuthsService.isAdminOrAssistant() }, + { path: '/admin/logout', title: 'Logout', icon: 'logout', class: 'active-pro', role: this.userAuthsService.isAdminOrAssistant() }, ]; }
ID Name Email Competances RemarquesActionsActions
{{formator.id}} {{formator.name}} {{formator.email}} {{formator.competences}} {{formator.remarques}} - Edit - + +