diff --git a/angular.json b/angular.json index b502b3c..3187646 100644 --- a/angular.json +++ b/angular.json @@ -1,5 +1,8 @@ { "$schema": "./node_modules/@angular/cli/lib/config/schema.json", + "cli": { + "analytics": false + }, "version": 1, "newProjectRoot": "projects", "projects": { diff --git a/src/app/app-routing.module.ts b/src/app/app-routing.module.ts index 4305101..0cd2e35 100644 --- a/src/app/app-routing.module.ts +++ b/src/app/app-routing.module.ts @@ -9,11 +9,13 @@ import {BusinessunitComponent} from "./components/businessunit/businessunit.comp 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"; +import {CollaborateurAddComponent} from "./components/collaborateur/collaborateur-add/collaborateur-add.component"; const routes : Routes = [ {path:'', redirectTo:'/home', pathMatch:'full'}, { path: 'home', component:HomeComponent, data:{title:'Services Collaborateurs'}}, { path:'collaborateurs',component:CollaborateurComponent, data:{title:'Collaborateurs'} }, + { path:'collaborateurs/add',component:CollaborateurAddComponent, data:{title:'Collaborateurs'} }, { path: 'collaborateurs/:id', component: CollaborateurEditComponent, data:{title:'Collaborateurs'} }, { path:'agences',component:AgenceComponent, data:{title:'Agences'} }, { path: 'agences/:id', component: AgenceEditComponent, data:{title:'Agences'} }, diff --git a/src/app/app.component.html b/src/app/app.component.html index e7896a5..0155050 100644 --- a/src/app/app.component.html +++ b/src/app/app.component.html @@ -1,76 +1,22 @@ - -
diff --git a/src/app/app.component.scss b/src/app/app.component.scss index 8b13789..de0f241 100644 --- a/src/app/app.component.scss +++ b/src/app/app.component.scss @@ -1 +1,58 @@ +:host { + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; + font-size: 14px; + color: #333; + box-sizing: border-box; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} +h1, +h2, +h3, +h4, +h5, +h6 { + margin: 8px 0; +} + +p { + margin: 0; +} + +.toolbar { + top: 0; + left: 0; + right: 0; + height: 60px; + display: flex; + align-items: center; + background-color: #183650; + color: white; + font-weight: 600; +} + +.terminal pre { + font-family: SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace; + color: white; + padding: 0 1rem 1rem; + margin: 0; +} + +nav a { + padding: 5px; + text-decoration: none; + margin: 5px; + display: inline-block; + background-color: #E77620; + color: white; + border-radius: 4px; +} + +nav a:hover { + background-color: #42545C; +} + +.dropdown-menu{ + min-width: fit-content; +} diff --git a/src/app/app.module.ts b/src/app/app.module.ts index 61af15d..4699030 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -15,6 +15,7 @@ import { BusinessunitComponent } from './components/businessunit/businessunit.co 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'; +import { CollaborateurAddComponent } from './components/collaborateur/collaborateur-add/collaborateur-add.component'; @NgModule({ declarations: [ @@ -28,6 +29,7 @@ import { PeriodeEssaiEditComponent } from './components/periode-essai/periode-es BusinessunitEditComponent, PeriodeEssaiComponent, PeriodeEssaiEditComponent, + CollaborateurAddComponent, ], imports: [ diff --git a/src/app/components/collaborateur/collaborateur-add/collaborateur-add.component.html b/src/app/components/collaborateur/collaborateur-add/collaborateur-add.component.html new file mode 100644 index 0000000..520ed30 --- /dev/null +++ b/src/app/components/collaborateur/collaborateur-add/collaborateur-add.component.html @@ -0,0 +1,168 @@ +Pour ajouter un nouveau collaborateur, cliquez ici :
+ +ID | -Nom | -Prénom | -Mail Apside | -
---|---|---|---|
ID | +Nom | +Prénom | +Mail Apside | +{{collaborateur.name}} | {{collaborateur.firstName}} | {{collaborateur.apsideMail}} | -Modifier | +Modifier |