added empty templates and routes for orgminer content
LocationBasedServices/smartguide/pipeline/head This commit looks good
LocationBasedServices/smartguide/pipeline/head This commit looks good
This commit is contained in:
@@ -203,6 +203,21 @@ export const routes: Routes = [
|
||||
(mod) => mod.KeywordsSearchComponent,
|
||||
),
|
||||
},
|
||||
{
|
||||
path: 'hierarchy',
|
||||
canActivate: [
|
||||
roleGuard([
|
||||
UserRole.User,
|
||||
UserRole.Manager,
|
||||
UserRole.Admin,
|
||||
UserRole.SuperAdmin,
|
||||
]),
|
||||
],
|
||||
loadComponent: () =>
|
||||
import('./modules/hierarchy/hierarchy.component').then(
|
||||
(mod) => mod.HierarchyComponent,
|
||||
),
|
||||
},
|
||||
{
|
||||
path: 'keywords/search-results',
|
||||
loadComponent: () =>
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
<p>hierarchy works!</p>
|
||||
@@ -0,0 +1,11 @@
|
||||
import { Component } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'app-hierarchy',
|
||||
imports: [],
|
||||
templateUrl: './hierarchy.component.html',
|
||||
styleUrl: './hierarchy.component.scss',
|
||||
})
|
||||
export class HierarchyComponent {
|
||||
|
||||
}
|
||||
@@ -100,6 +100,12 @@
|
||||
[icon]="TOPIC_ICON"
|
||||
[size]="200"
|
||||
[diameter]="200" />
|
||||
} @else if (resolverState.isResolvingFromOutside('/hierarchy')) {
|
||||
<app-loading
|
||||
text="Hierarchie werden geladen..."
|
||||
[icon]="HIERARCHY_ICON"
|
||||
[size]="200"
|
||||
[diameter]="200" />
|
||||
} @else {
|
||||
<ng-content></ng-content>
|
||||
}
|
||||
|
||||
@@ -31,6 +31,7 @@ import {
|
||||
PUBLICATION_ICON,
|
||||
SWITCH_ACCOUNT_ICON,
|
||||
TOPIC_ICON,
|
||||
HIERARCHY_ICON,
|
||||
} from '../icons';
|
||||
|
||||
@Component({
|
||||
@@ -61,6 +62,7 @@ export class AppLayoutComponent implements OnInit, OnDestroy {
|
||||
readonly INSTITUTION_ICON = INSTITUTION_ICON;
|
||||
readonly PATENT_ICON = PATENT_ICON;
|
||||
readonly NEWS_ICON = NEWS_ICON;
|
||||
readonly HIERARCHY_ICON = HIERARCHY_ICON;
|
||||
readonly TOPIC_ICON = TOPIC_ICON;
|
||||
|
||||
@ViewChild(MatDrawer, { static: false })
|
||||
|
||||
@@ -24,6 +24,7 @@ import {
|
||||
DASHBOARD_ICON,
|
||||
DOUBLE_ARROW_LEFT_ICON,
|
||||
DOUBLE_ARROW_RIGHT_ICON,
|
||||
HIERARCHY_ICON,
|
||||
INSTITUTION_ICON,
|
||||
JOBS_ICON,
|
||||
KEYWORDS_ICON,
|
||||
@@ -209,6 +210,12 @@ export class AppMenuComponent {
|
||||
mode: 'url',
|
||||
},
|
||||
},
|
||||
{
|
||||
label: 'Hierarchie',
|
||||
icon: HIERARCHY_ICON,
|
||||
route: '/hierarchy',
|
||||
disabled: false,
|
||||
},
|
||||
{
|
||||
label: 'Accounts',
|
||||
icon: MANAGE_ACCOUNTS_ICON,
|
||||
|
||||
@@ -18,6 +18,7 @@ export const PERSONS_ICON = 'groups' as const;
|
||||
export const PROJECT_ICON = 'work' as const;
|
||||
export const PUBLICATION_ICON = 'menu_book' as const;
|
||||
export const TOPIC_ICON = 'topic' as const;
|
||||
export const HIERARCHY_ICON = 'account_tree' as const;
|
||||
|
||||
export const OVERVIEW_ICON = 'visibility' as const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user