parent
ae03725a06
commit
19efd9401d
@ -1,4 +1,3 @@ |
|||||||
<!--<app-nav-menu></app-nav-menu>--> |
|
||||||
<div class="container"> |
<div class="container"> |
||||||
<router-outlet></router-outlet> |
<router-outlet></router-outlet> |
||||||
</div> |
</div> |
||||||
|
@ -0,0 +1,2 @@ |
|||||||
|
<app-nav-menu></app-nav-menu> |
||||||
|
<h1> Liste des collaborateurs </h1> |
@ -0,0 +1,21 @@ |
|||||||
|
import { NgModule } from '@angular/core'; |
||||||
|
import { Routes, RouterModule } from '@angular/router'; |
||||||
|
|
||||||
|
|
||||||
|
import { CollaborateursComponent } from "./collaborateurs.component"; |
||||||
|
|
||||||
|
|
||||||
|
const routes: Routes = [ |
||||||
|
{ |
||||||
|
path:'', |
||||||
|
component: CollaborateursComponent, |
||||||
|
pathMatch: 'full' |
||||||
|
} |
||||||
|
]; |
||||||
|
|
||||||
|
|
||||||
|
@NgModule({ |
||||||
|
imports: [RouterModule.forChild(routes)], |
||||||
|
exports: [RouterModule] |
||||||
|
}) |
||||||
|
export class CollaborateursRoutingModule {} |
@ -0,0 +1,2 @@ |
|||||||
|
<app-nav-menu></app-nav-menu> |
||||||
|
<h1>Liste des demandes de délégations</h1> |
@ -0,0 +1,21 @@ |
|||||||
|
import { NgModule } from '@angular/core'; |
||||||
|
import { Routes, RouterModule } from '@angular/router'; |
||||||
|
|
||||||
|
|
||||||
|
import { DemandesDelegationComponent } from "./demandes-delegation.component"; |
||||||
|
|
||||||
|
|
||||||
|
const routes: Routes = [ |
||||||
|
{ |
||||||
|
path:'', |
||||||
|
component: DemandesDelegationComponent, |
||||||
|
pathMatch: 'full' |
||||||
|
} |
||||||
|
]; |
||||||
|
|
||||||
|
|
||||||
|
@NgModule({ |
||||||
|
imports: [RouterModule.forChild(routes)], |
||||||
|
exports: [RouterModule] |
||||||
|
}) |
||||||
|
export class DemandesDelegationRoutingModule {} |
@ -0,0 +1,2 @@ |
|||||||
|
<app-nav-menu></app-nav-menu> |
||||||
|
<h1>Liste des demandes de formation </h1> |
@ -0,0 +1,21 @@ |
|||||||
|
import { NgModule } from '@angular/core'; |
||||||
|
import { Routes, RouterModule } from '@angular/router'; |
||||||
|
|
||||||
|
|
||||||
|
import { DemandesFormationComponent } from "./demandes-formation.component"; |
||||||
|
|
||||||
|
|
||||||
|
const routes: Routes = [ |
||||||
|
{ |
||||||
|
path:'', |
||||||
|
component: DemandesFormationComponent, |
||||||
|
pathMatch: 'full' |
||||||
|
} |
||||||
|
]; |
||||||
|
|
||||||
|
|
||||||
|
@NgModule({ |
||||||
|
imports: [RouterModule.forChild(routes)], |
||||||
|
exports: [RouterModule] |
||||||
|
}) |
||||||
|
export class DemandesFormationsRoutingModule {} |
@ -0,0 +1,2 @@ |
|||||||
|
<app-nav-menu></app-nav-menu> |
||||||
|
<h1>Saisie EP </h1> |
@ -0,0 +1,21 @@ |
|||||||
|
import { NgModule } from '@angular/core'; |
||||||
|
import { Routes, RouterModule } from '@angular/router'; |
||||||
|
|
||||||
|
|
||||||
|
import { EpSaisieComponent } from "./ep-saisie.component"; |
||||||
|
|
||||||
|
|
||||||
|
const routes: Routes = [ |
||||||
|
{ |
||||||
|
path:'', |
||||||
|
component: EpSaisieComponent, |
||||||
|
pathMatch: 'full' |
||||||
|
} |
||||||
|
]; |
||||||
|
|
||||||
|
|
||||||
|
@NgModule({ |
||||||
|
imports: [RouterModule.forChild(routes)], |
||||||
|
exports: [RouterModule] |
||||||
|
}) |
||||||
|
export class EpSaisieRoutingModule {} |
@ -0,0 +1,2 @@ |
|||||||
|
<app-nav-menu></app-nav-menu> |
||||||
|
<h1>Liste des EP collaborateurs</h1> |
@ -0,0 +1,21 @@ |
|||||||
|
import { NgModule } from '@angular/core'; |
||||||
|
import { Routes, RouterModule } from '@angular/router'; |
||||||
|
|
||||||
|
|
||||||
|
import { EpComponent } from "./ep.component"; |
||||||
|
|
||||||
|
|
||||||
|
const routes: Routes = [ |
||||||
|
{ |
||||||
|
path:'', |
||||||
|
component: EpComponent, |
||||||
|
pathMatch: 'full' |
||||||
|
} |
||||||
|
]; |
||||||
|
|
||||||
|
|
||||||
|
@NgModule({ |
||||||
|
imports: [RouterModule.forChild(routes)], |
||||||
|
exports: [RouterModule] |
||||||
|
}) |
||||||
|
export class EpRoutingModule {} |
@ -0,0 +1,2 @@ |
|||||||
|
<app-nav-menu></app-nav-menu> |
||||||
|
<h1>Liste des formations </h1> |
@ -1,31 +1,31 @@ |
|||||||
import { BrowserModule } from '@angular/platform-browser'; |
|
||||||
import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; |
|
||||||
import { FormsModule } from '@angular/forms'; |
|
||||||
|
|
||||||
|
|
||||||
import { NgModule } from "@angular/core"; |
import { NgModule } from "@angular/core"; |
||||||
import { CommonModule } from "@angular/common"; |
import { CommonModule } from "@angular/common"; |
||||||
|
import { RouterModule } from '@angular/router'; |
||||||
|
|
||||||
import { MaterialModule } from "@shared/angular-material/angular-material.module"; |
import { MaterialModule } from "@shared/angular-material/angular-material.module"; |
||||||
|
|
||||||
import {NavMenuModule} from '@shared/nav-menu/nav-menu.module'; |
import {NavMenuModule} from '@shared/nav-menu/nav-menu.module'; |
||||||
|
|
||||||
import { FormationsComponent } from './formations.component'; |
import { FormationsComponent } from './formations.component'; |
||||||
import { NewFormationComponent } from './new-formation/new-formation.component' |
import { NewFormationComponent } from './new-formation/new-formation.component'; |
||||||
import { FormationComponent } from './details-formation/formation.component' |
import { FormationComponent } from './details-formation/formation.component'; |
||||||
import { EditFormationComponent } from './edit-formation/edit-formation.component' |
import { EditFormationComponent } from './edit-formation/edit-formation.component'; |
||||||
|
|
||||||
|
import { FormationsRoutingModule } from './formations.routing.module'; |
||||||
|
|
||||||
@NgModule({ |
@NgModule({ |
||||||
declarations: [ FormationsComponent, NewFormationComponent,
|
declarations: [ FormationsComponent, NewFormationComponent, |
||||||
FormationComponent, EditFormationComponent |
FormationComponent, EditFormationComponent |
||||||
], |
], |
||||||
exports: [ |
exports: [ |
||||||
FormationsComponent |
FormationsComponent |
||||||
], |
], |
||||||
imports: [ |
imports: [ |
||||||
BrowserAnimationsModule, |
CommonModule, |
||||||
FormsModule, |
|
||||||
MaterialModule, |
MaterialModule, |
||||||
NavMenuModule |
NavMenuModule, |
||||||
|
RouterModule, |
||||||
|
FormationsRoutingModule |
||||||
], |
], |
||||||
}) |
}) |
||||||
export class FormationsModule {} |
export class FormationsModule {} |
||||||
|
@ -0,0 +1,21 @@ |
|||||||
|
import { NgModule } from '@angular/core'; |
||||||
|
import { Routes, RouterModule } from '@angular/router'; |
||||||
|
|
||||||
|
|
||||||
|
import { FormationsComponent } from "./formations.component"; |
||||||
|
|
||||||
|
|
||||||
|
const routes: Routes = [ |
||||||
|
{ |
||||||
|
path:'', |
||||||
|
component: FormationsComponent, |
||||||
|
pathMatch: 'full' |
||||||
|
} |
||||||
|
]; |
||||||
|
|
||||||
|
|
||||||
|
@NgModule({ |
||||||
|
imports: [RouterModule.forChild(routes)], |
||||||
|
exports: [RouterModule] |
||||||
|
}) |
||||||
|
export class FormationsRoutingModule {} |
@ -0,0 +1,2 @@ |
|||||||
|
<app-nav-menu></app-nav-menu> |
||||||
|
<h1>Liste des référents</h1> |
@ -0,0 +1,21 @@ |
|||||||
|
import { NgModule } from '@angular/core'; |
||||||
|
import { Routes, RouterModule } from '@angular/router'; |
||||||
|
|
||||||
|
|
||||||
|
import { ReferentsComponent } from "./referents.component"; |
||||||
|
|
||||||
|
|
||||||
|
const routes: Routes = [ |
||||||
|
{ |
||||||
|
path:'', |
||||||
|
component: ReferentsComponent, |
||||||
|
pathMatch: 'full' |
||||||
|
} |
||||||
|
]; |
||||||
|
|
||||||
|
|
||||||
|
@NgModule({ |
||||||
|
imports: [RouterModule.forChild(routes)], |
||||||
|
exports: [RouterModule] |
||||||
|
}) |
||||||
|
export class ReferentsRoutingModule {} |
@ -0,0 +1,60 @@ |
|||||||
|
const paths_collaborateurs = { |
||||||
|
base: "/collaborateurs", |
||||||
|
path: "collaborateurs", |
||||||
|
formation: "formations", |
||||||
|
evaluation: "evaluation", |
||||||
|
edit: "edit" |
||||||
|
}; |
||||||
|
|
||||||
|
const paths_demandes_delegation = { |
||||||
|
base: "/demandesdelegation", |
||||||
|
path: "demandesdelegation" |
||||||
|
}; |
||||||
|
|
||||||
|
const paths_demandes_formation = { |
||||||
|
base: "/demandesformation", |
||||||
|
path: "demandesformation", |
||||||
|
new: "nouvelledemande" |
||||||
|
}; |
||||||
|
|
||||||
|
const paths_ep = { |
||||||
|
base: "/ep", |
||||||
|
path: "ep", |
||||||
|
salaire: "augmentationsalaire", |
||||||
|
choixdate: "choixdate", |
||||||
|
demandedelegation: "demandedelegation", |
||||||
|
demandesformation: "demandesformation", |
||||||
|
propositiondate: "propositiondate", |
||||||
|
participants: "participants", |
||||||
|
commentaireAssistante: "commentaireassistante", |
||||||
|
commentaireReferent: "commentairereferent" |
||||||
|
}; |
||||||
|
|
||||||
|
const paths_saisie_ep = { |
||||||
|
base: "/saisieep", |
||||||
|
path: "saisieep", |
||||||
|
epa: "epa", |
||||||
|
eps: "eps", |
||||||
|
epa6ans: "epasixans" |
||||||
|
}; |
||||||
|
|
||||||
|
const paths_formation = { |
||||||
|
base: "/formations", |
||||||
|
path: "formations", |
||||||
|
new: "nouvelleformation", |
||||||
|
evaluation: "evaluation" |
||||||
|
}; |
||||||
|
|
||||||
|
const paths_home = { |
||||||
|
base: "/home", |
||||||
|
path: "home" |
||||||
|
}; |
||||||
|
|
||||||
|
|
||||||
|
const paths_referents = { |
||||||
|
base: "/referents", |
||||||
|
path: "referents" |
||||||
|
}; |
||||||
|
|
||||||
|
export { paths_collaborateurs, paths_demandes_delegation, paths_demandes_formation, |
||||||
|
paths_ep, paths_saisie_ep, paths_formation, paths_home, paths_referents}; |
Loading…
Reference in new issue