diff --git a/package-lock.json b/package-lock.json index a82428e..efea836 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1867,12 +1867,6 @@ "@types/node": "*" } }, - "@types/jasmine": { - "version": "3.6.11", - "resolved": "https://registry.npmjs.org/@types/jasmine/-/jasmine-3.6.11.tgz", - "integrity": "sha512-S6pvzQDvMZHrkBz2Mcn/8Du7cpr76PlRJBAoHnSDNbulULsH5dp0Gns+WRyNX5LHejz/ljxK4/vIHK/caHt6SQ==", - "dev": true - }, "@types/json-schema": { "version": "7.0.9", "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.9.tgz", @@ -2685,9 +2679,9 @@ "dev": true }, "bootstrap": { - "version": "4.6.1", - "resolved": "https://registry.npmjs.org/bootstrap/-/bootstrap-4.6.1.tgz", - "integrity": "sha512-0dj+VgI9Ecom+rvvpNZ4MUZJz8dcX7WCX+eTID9+/8HgOkv3dsRzi8BGeZJCQU6flWQVYxwTQnEZFrmJSEO7og==" + "version": "5.1.3", + "resolved": "https://registry.npmjs.org/bootstrap/-/bootstrap-5.1.3.tgz", + "integrity": "sha512-fcQztozJ8jToQWXxVuEyXWW+dSo8AiXWKwiSSrKWsRB/Qt+Ewwza+JWoLKiTuQLaEPhdNAJ7+Dosc9DOIqNy7Q==" }, "brace-expansion": { "version": "1.1.11", @@ -6021,12 +6015,6 @@ "istanbul-lib-report": "^3.0.0" } }, - "jasmine-core": { - "version": "3.7.1", - "resolved": "https://registry.npmjs.org/jasmine-core/-/jasmine-core-3.7.1.tgz", - "integrity": "sha512-DH3oYDS/AUvvr22+xUBW62m1Xoy7tUlY1tsxKEJvl5JeJ7q8zd1K5bUwiOxdH+erj6l2vAMM3hV25Xs9/WrmuQ==", - "dev": true - }, "jest-worker": { "version": "26.6.2", "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-26.6.2.tgz", @@ -6303,21 +6291,6 @@ "minimatch": "^3.0.4" } }, - "karma-jasmine": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/karma-jasmine/-/karma-jasmine-4.0.1.tgz", - "integrity": "sha512-h8XDAhTiZjJKzfkoO1laMH+zfNlra+dEQHUAjpn5JV1zCPtOIVWGQjLBrqhnzQa/hrU2XrZwSyBa6XjEBzfXzw==", - "dev": true, - "requires": { - "jasmine-core": "^3.6.0" - } - }, - "karma-jasmine-html-reporter": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/karma-jasmine-html-reporter/-/karma-jasmine-html-reporter-1.7.0.tgz", - "integrity": "sha512-pzum1TL7j90DTE86eFt48/s12hqwQuiD+e5aXx2Dc9wDEn2LfGq6RoAxEZZjFiN0RDSCOnosEKRZWxbQ+iMpQQ==", - "dev": true - }, "karma-source-map-support": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/karma-source-map-support/-/karma-source-map-support-1.4.0.tgz", diff --git a/package.json b/package.json index 88eace0..851a276 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "@angular/platform-browser-dynamic": "~12.0.0", "@angular/router": "~12.0.0", "@ng-bootstrap/ng-bootstrap": "^10.0.0", - "bootstrap": "^4.6.1", + "bootstrap": "^5.1.3", "jquery": "^3.6.0", "rxjs": "~6.6.0", "tslib": "^2.1.0", diff --git a/src/app/app-routing.module.ts b/src/app/app-routing.module.ts index 2f72470..bc510c2 100644 --- a/src/app/app-routing.module.ts +++ b/src/app/app-routing.module.ts @@ -10,13 +10,13 @@ import {BusinessunitEditComponent} from "./components/businessunit/businessunit- const routes : Routes = [ {path:'', redirectTo:'/home', pathMatch:'full'}, - { path: 'home', component:HomeComponent }, - { path:'collaborateurs',component:CollaborateurComponent }, - { path: 'collaborateurs/:id', component: CollaborateurEditComponent }, - { path:'agences',component:AgenceComponent }, - { path: 'agences/:id', component: AgenceEditComponent }, - { path:'businessunits',component:BusinessunitComponent }, - { path: 'businessunits/:id', component: BusinessunitEditComponent }, + { path: 'home', component:HomeComponent, data:{title:'Services Collaborateurs'}}, + { path:'collaborateurs',component:CollaborateurComponent, 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'} }, + { path:'businessunits',component:BusinessunitComponent, data:{title:'BusinessUnits'} }, + { path: 'businessunits/:id', component: BusinessunitEditComponent, data:{title:'BusinessUnits'} }, ]; @NgModule({ diff --git a/src/app/app.component.html b/src/app/app.component.html index db91a22..5c6ec73 100644 --- a/src/app/app.component.html +++ b/src/app/app.component.html @@ -34,12 +34,6 @@ font-weight: 600; } - .content { - display: flex; - margin: 60px ; - flex-direction: column; - } - .terminal pre { font-family: SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace; color: white; @@ -78,7 +72,7 @@ -