diff --git a/dmp-frontend/.angular-cli.json b/dmp-frontend/.angular-cli.json
index f71ddd6e0..d2bdb2410 100644
--- a/dmp-frontend/.angular-cli.json
+++ b/dmp-frontend/.angular-cli.json
@@ -19,6 +19,8 @@
"testTsconfig": "tsconfig.spec.json",
"prefix": "app",
"styles": [
+ "../node_modules/primeng/resources/themes/omega/theme.css" ,
+ "../node_modules/primeng/resources/primeng.css",
"./../node_modules/bootstrap/dist/css/bootstrap.min.css",
"styles.css"
],
diff --git a/dmp-frontend/src/app/app-routing.module.ts b/dmp-frontend/src/app/app-routing.module.ts
index d8ede8ba6..c128949dd 100644
--- a/dmp-frontend/src/app/app-routing.module.ts
+++ b/dmp-frontend/src/app/app-routing.module.ts
@@ -10,6 +10,7 @@ import { DmpComponent } from './dmps/dmp.component';
import { AppComponent } from './app.component';
import { UserWorkspaceComponent } from './user-workspace/user-workspace.component';
import { MainSignInComponent } from './login/main-sign-in/main-sign-in.component';
+import { BreadcrumbService } from './services/breadcrumb.service';
const appRoutes: Routes = [
//{ path: 'dynamic-form/:id', component: DynamicFormComponent, canActivate: [AuthGuard] },
@@ -45,7 +46,7 @@ const appRoutes: Routes = [
RouterModule
],
providers: [
-
+ BreadcrumbService
]
})
export class AppRoutingModule { }
diff --git a/dmp-frontend/src/app/app.component.html b/dmp-frontend/src/app/app.component.html
index 619855ccb..c0605e7cc 100644
--- a/dmp-frontend/src/app/app.component.html
+++ b/dmp-frontend/src/app/app.component.html
@@ -9,11 +9,10 @@
-->
-
+
@@ -48,6 +47,12 @@
+
+
+
+
diff --git a/dmp-frontend/src/app/app.component.ts b/dmp-frontend/src/app/app.component.ts
index 9d73db78e..b800a4376 100644
--- a/dmp-frontend/src/app/app.component.ts
+++ b/dmp-frontend/src/app/app.component.ts
@@ -5,6 +5,9 @@ import { JsonObjest } from '../app/entities/JsonObject.class';
import { TokenService, TokenProvider } from './services/login/token.service';
import { Router, CanActivate, ActivatedRouteSnapshot, RouterStateSnapshot } from '@angular/router';
import { MainSignInComponent } from './login/main-sign-in/main-sign-in.component';
+import {BreadcrumbModule,MenuItem} from 'primeng/primeng';
+import { BreadcrumbService } from './services/breadcrumb.service';
+
import { AutocompleteRemoteComponent } from './form/fields/autocomplete-remote/autocomplete-remote.component';
@@ -22,21 +25,56 @@ export class AppComponent implements OnInit {
sliderExpanded : boolean = false;
- constructor(private tokenService : TokenService, private router: Router) {
+
+ breadcrumbHome: MenuItem = {icon: 'fa fa-home'};
+ breadcrumbData: MenuItem[] = new Array