diff --git a/Dockerfile b/Dockerfile index c335dd9..d1fa907 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,12 +6,10 @@ RUN mkdir -p /app WORKDIR /app -COPY package.json /app +COPY . /app RUN npm install -COPY . /app - RUN npm run build --prod # Stage 2 diff --git a/src/app/app-routing.module.ts b/src/app/app-routing.module.ts index bc510c2..4305101 100644 --- a/src/app/app-routing.module.ts +++ b/src/app/app-routing.module.ts @@ -7,6 +7,8 @@ import {AgenceComponent} from "./components/agence/agence.component"; import {AgenceEditComponent} from "./components/agence/agence-edit/agence-edit.component"; import {BusinessunitComponent} from "./components/businessunit/businessunit.component"; import {BusinessunitEditComponent} from "./components/businessunit/businessunit-edit/businessunit-edit.component"; +import {PeriodeEssaiComponent} from "./components/periode-essai/periode-essai.component"; +import {PeriodeEssaiEditComponent} from "./components/periode-essai/periode-essai-edit/periode-essai-edit.component"; const routes : Routes = [ {path:'', redirectTo:'/home', pathMatch:'full'}, @@ -17,6 +19,8 @@ const routes : Routes = [ { path: 'agences/:id', component: AgenceEditComponent, data:{title:'Agences'} }, { path:'businessunits',component:BusinessunitComponent, data:{title:'BusinessUnits'} }, { path: 'businessunits/:id', component: BusinessunitEditComponent, data:{title:'BusinessUnits'} }, + { path:'periodeessais',component:PeriodeEssaiComponent, data:{title:'Periodes d\'Essai'} }, + { path: 'periodeessais/:id', component: PeriodeEssaiEditComponent, data:{title:'Periodes d\'Essai'} }, ]; @NgModule({ diff --git a/src/app/app.module.ts b/src/app/app.module.ts index 80a8990..61af15d 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -13,6 +13,8 @@ import { AgenceComponent } from './components/agence/agence.component'; import { AgenceEditComponent } from './components/agence/agence-edit/agence-edit.component'; import { BusinessunitComponent } from './components/businessunit/businessunit.component'; import { BusinessunitEditComponent } from './components/businessunit/businessunit-edit/businessunit-edit.component'; +import { PeriodeEssaiComponent } from './components/periode-essai/periode-essai.component'; +import { PeriodeEssaiEditComponent } from './components/periode-essai/periode-essai-edit/periode-essai-edit.component'; @NgModule({ declarations: [ @@ -24,6 +26,8 @@ import { BusinessunitEditComponent } from './components/businessunit/businessuni AgenceEditComponent, BusinessunitComponent, BusinessunitEditComponent, + PeriodeEssaiComponent, + PeriodeEssaiEditComponent, ], imports: [ diff --git a/src/app/components/periode-essai/periode-essai-edit/periode-essai-edit.component.html b/src/app/components/periode-essai/periode-essai-edit/periode-essai-edit.component.html new file mode 100644 index 0000000..59a58c9 --- /dev/null +++ b/src/app/components/periode-essai/periode-essai-edit/periode-essai-edit.component.html @@ -0,0 +1 @@ +
periode-essai-edit works!
diff --git a/src/app/components/periode-essai/periode-essai-edit/periode-essai-edit.component.scss b/src/app/components/periode-essai/periode-essai-edit/periode-essai-edit.component.scss new file mode 100644 index 0000000..e69de29 diff --git a/src/app/components/periode-essai/periode-essai-edit/periode-essai-edit.component.ts b/src/app/components/periode-essai/periode-essai-edit/periode-essai-edit.component.ts new file mode 100644 index 0000000..ec7064a --- /dev/null +++ b/src/app/components/periode-essai/periode-essai-edit/periode-essai-edit.component.ts @@ -0,0 +1,15 @@ +import { Component, OnInit } from '@angular/core'; + +@Component({ + selector: 'app-periode-essai-edit', + templateUrl: './periode-essai-edit.component.html', + styleUrls: ['./periode-essai-edit.component.scss'] +}) +export class PeriodeEssaiEditComponent implements OnInit { + + constructor() { } + + ngOnInit(): void { + } + +} diff --git a/src/app/components/periode-essai/periode-essai.component.html b/src/app/components/periode-essai/periode-essai.component.html new file mode 100644 index 0000000..4e9f785 --- /dev/null +++ b/src/app/components/periode-essai/periode-essai.component.html @@ -0,0 +1 @@ +periode-essai works!
diff --git a/src/app/components/periode-essai/periode-essai.component.scss b/src/app/components/periode-essai/periode-essai.component.scss new file mode 100644 index 0000000..e69de29 diff --git a/src/app/components/periode-essai/periode-essai.component.ts b/src/app/components/periode-essai/periode-essai.component.ts new file mode 100644 index 0000000..20fab35 --- /dev/null +++ b/src/app/components/periode-essai/periode-essai.component.ts @@ -0,0 +1,15 @@ +import { Component, OnInit } from '@angular/core'; + +@Component({ + selector: 'app-periode-essai', + templateUrl: './periode-essai.component.html', + styleUrls: ['./periode-essai.component.scss'] +}) +export class PeriodeEssaiComponent implements OnInit { + + constructor() { } + + ngOnInit(): void { + } + +}