Revision 50681
Added by Argiro Kokogiannaki about 6 years ago
app.module.ts | ||
---|---|---|
8 | 8 |
import { RouterModule } from '@angular/router'; |
9 | 9 |
import { AppComponent } from './app.component'; |
10 | 10 |
|
11 |
import {NavigationBarModule, FeedbackModule, BottomModule, CookieLawModule, ErrorModule} from 'ng-openaire-library'; |
|
11 |
import {NavigationBarModule, FeedbackModule, BottomModule, CookieLawModule, ErrorModule, EnvironmentSpecificResolver} from 'ng-openaire-library';
|
|
12 | 12 |
|
13 | 13 |
import { OpenaireErrorPageComponent } from './error/errorPage.component'; |
14 |
import { AppRoutingModule } from './app-routing.module'; |
|
14 | 15 |
|
15 | 16 |
import { CommunityService } from './community/community.service'; |
16 | 17 |
|
... | ... | |
25 | 26 |
NavigationBarModule, FeedbackModule, BottomModule, |
26 | 27 |
CookieLawModule, |
27 | 28 |
BrowserModule.withServerTransition({appId: 'my-app'}), |
28 |
RouterModule.forRoot([ |
|
29 |
// { path: '', loadChildren: './community/community.module#CommunityModule'}, |
|
30 |
{ path: '', loadChildren: './home/home.module#HomeModule'}, |
|
31 |
{ path: 'home', loadChildren: './home/home.module#HomeModule'}, |
|
32 |
{ path: 'community', loadChildren: './community/community.module#CommunityModule'}, |
|
33 |
{ path: 'communities', loadChildren: './communities/communities.module#CommunitiesModule'}, |
|
34 |
{ path: 'search/publication', loadChildren: './landingPages/publication/libPublication.module#LibPublicationModule' }, |
|
35 |
{ path: 'search/dataset', loadChildren: './landingPages/dataset/libDataset.module#LibDatasetModule' }, |
|
36 |
{ path: 'search/software', loadChildren: './landingPages/software/libSoftware.module#LibSoftwareModule' }, |
|
37 |
{ path: 'search/project', loadChildren: './landingPages/project/libProject.module#LibProjectModule' }, |
|
38 |
{ path: 'search/dataprovider', loadChildren: '././landingPages/dataProvider/libDataProvider.module#LibDataProviderModule' }, |
|
39 |
{ path: 'search/organization', loadChildren: './landingPages/organization/libOrganization.module#LibOrganizationModule' }, |
|
40 |
{ path: 'participate/deposit-datasets', loadChildren: './deposit/datasets/depositDatasets.module#LibDepositDatasetsModule' }, |
|
41 |
{ path: 'participate/deposit-datasets-result', loadChildren: './deposit/datasets/depositDatasetsResults.module#LibDepositDatasetsResultsModule' }, |
|
42 |
{ path: 'participate/deposit-subject-result', loadChildren: './deposit/datasets/depositBySubjectResults.module#LibDepositBySubjectResultsModule' }, |
|
43 |
{ path: 'participate/deposit-publications', loadChildren: './deposit/publications/depositPublications.module#LibDepositPublicationsModule' }, |
|
44 |
{ path: 'participate/deposit-publications-result', loadChildren: './deposit/publications/depositPublicationsResults.module#LibDepositPublicationsResultsModule' }, |
|
45 |
{ path: 'search/find', loadChildren: './searchPages/find/libSearch.module#LibMainSearchModule' }, |
|
46 |
{ path: 'search/find/publications', loadChildren: './searchPages/simple/searchPublications.module#LibSearchPublicationsModule' }, |
|
47 |
{ path: 'search/find/datasets', loadChildren: './searchPages/simple/searchDatasets.module#LibSearchDatasetsModule' }, |
|
48 |
{ path: 'search/find/software', loadChildren: './searchPages/simple/searchSoftware.module#LibSearchSoftwareModule' }, |
|
49 |
{ path: 'search/find/projects', loadChildren: './searchPages/simple/searchProjects.module#LibSearchProjectsModule' }, |
|
50 |
{ path: 'search/find/dataproviders', loadChildren: './searchPages/simple/searchDataProviders.module#LibSearchDataProvidersModule' }, |
|
51 |
{ path: 'search/find/organizations', loadChildren: './searchPages/simple/searchOrganizations.module#LibSearchOrganizationsModule' }, |
|
52 |
{ path: 'search/content-providers', loadChildren: './searchPages/dataProviders/compatibleDataProviders.module#LibCompatibleDataProvidersModule' }, |
|
53 |
{ path: 'search/content-providers-table', loadChildren: './searchPages/dataProviders/compatibleDataProvidersTable.module#CompatibleDataProvidersTableModule' }, |
|
54 |
{ path: 'search/entity-registries', loadChildren: './searchPages/dataProviders/entityRegistries.module#LibEntityRegistriesModule' }, |
|
55 |
{ path: 'search/entity-registries-table', loadChildren: './searchPages/dataProviders/entityRegistriesTable.module#EntityRegistriesTableModule' }, |
|
56 |
{ path: 'search/journals', loadChildren: './searchPages/dataProviders/journals.module#LibJournalsModule' }, |
|
57 |
{ path: 'search/journals-table', loadChildren: './searchPages/dataProviders/journalsTable.module#JournalsTableModule' }, |
|
58 |
{ path: 'search/advanced/publications', loadChildren: './searchPages/advanced/advancedSearchPublications.module#LibAdvancedSearchPublicationsModule' }, |
|
59 |
{ path: 'search/advanced/datasets', loadChildren: './searchPages/advanced/advancedSearchDatasets.module#LibAdvancedSearchDatasetsModule' }, |
|
60 |
{ path: 'search/advanced/software', loadChildren: './searchPages/advanced/advancedSearchSoftware.module#LibAdvancedSearchSoftwareModule' }, |
|
61 |
{ path: 'search/advanced/organizations', loadChildren: './searchPages/advanced/advancedSearchOrganizations.module#LibAdvancedSearchOrganizationsModule' }, |
|
62 |
{ path: 'search/advanced/dataproviders', loadChildren: './searchPages/advanced/advancedSearchDataProviders.module#LibAdvancedSearchDataProvidersModule' }, |
|
63 |
{ path: 'search/advanced/projects', loadChildren: './searchPages/advanced/advancedSearchProjects.module#LibAdvancedSearchProjectsModule' }, |
|
64 |
{ path: 'project-report', loadChildren: './landingPages/htmlProjectReport/libHtmlProjectReport.module#LibHtmlProjectReportModule' }, |
|
65 |
{ path: 'myclaims', loadChildren: './claims/myClaims/myClaims.module#LibMyClaimsModule' }, |
|
66 |
{ path: 'claims', loadChildren: './claims/claimsAdmin/claimsAdmin.module#LibClaimsAdminModule' }, |
|
67 |
{ path: 'participate/claim', loadChildren: './claims/linking/linkingGeneric.module#LibLinkingGenericModule' }, |
|
68 |
{ path: 'participate/direct-claim', loadChildren: './claims/directLinking/directLinking.module#LibDirectLinkingModule' }, |
|
69 |
{ path: 'claims-project-manager', loadChildren: './claims/claimsByToken/claimsByToken.module#LibClaimsByTokenModule' }, |
|
70 |
{ path: 'reload', loadChildren: './reload/libReload.module#LibReloadModule' }, |
|
71 |
{ path: 'user-info', loadChildren: './login/libUser.module#LibUserModule' }, |
|
72 |
{ path: 'error', component: OpenaireErrorPageComponent }, |
|
73 |
{ path: '**',pathMatch: 'full',component: OpenaireErrorPageComponent } |
|
74 |
]), |
|
29 |
AppRoutingModule |
|
30 |
|
|
75 | 31 |
], |
76 | 32 |
declarations: [ AppComponent, OpenaireErrorPageComponent], |
77 | 33 |
exports: [ AppComponent ], |
78 |
providers:[ CommunityService ], |
|
34 |
providers:[EnvironmentSpecificResolver , CommunityService ],
|
|
79 | 35 |
bootstrap: [AppComponent] |
80 | 36 |
}) |
81 | 37 |
// |
Also available in: Unified diff
Addind Search Pages| linking| deposit | use properties | remove not useful pages | mockups for main page, my communities | complete search queries in community dashboard page