From 37813a65192ea7b9f37d50a84f4b2e8a855f1783 Mon Sep 17 00:00:00 2001 From: "k.triantafyllou" Date: Wed, 14 Oct 2020 11:19:00 +0000 Subject: [PATCH] [Explore | Trunk]: Add header on app component git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-portal/trunk@59592 d315682c-612b-4755-9ff5-7f18f6832af3 --- explore/src/app/app.component.ts | 17 +- explore/src/app/home/home.component.html | 1123 ++++++++++++++-------- explore/src/app/home/home.component.ts | 1 + 3 files changed, 744 insertions(+), 397 deletions(-) diff --git a/explore/src/app/app.component.ts b/explore/src/app/app.component.ts index 039ff265..725a7144 100644 --- a/explore/src/app/app.component.ts +++ b/explore/src/app/app.component.ts @@ -9,16 +9,14 @@ import {Session, User} from './openaireLibrary/login/utils/helper.class'; import {HelperFunctions} from "./openaireLibrary/utils/HelperFunctions.class"; import {UserManagementService} from "./openaireLibrary/services/user-management.service"; import {ConfigurationService} from "./openaireLibrary/utils/configuration/configuration.service"; +import {Header} from "./openaireLibrary/sharedComponents/navigationBar.component"; @Component({ //changeDetection: ChangeDetectionStrategy.Default, //encapsulation: ViewEncapsulation.Emulated, selector: 'app-root', - styles: [` - `], template: ` - - { this.user = user; this.buildMenu(); + this.header = { + route: "/", + url: null, + title: 'explore', + logoUrl: this.logoPath + 'logo-large-explore.png', + logoSmallUrl:this.logoPath + 'logo-small-explore.png', + position:'left', + badge:true + }; }); //console.log(this.properties.loginUrl); }, error => { diff --git a/explore/src/app/home/home.component.html b/explore/src/app/home/home.component.html index fa4d51a3..865c605e 100644 --- a/explore/src/app/home/home.component.html +++ b/explore/src/app/home/home.component.html @@ -1,158 +1,158 @@ - -
-
- {{logo}} logo + + +
+
+ {{logo}} logo +
-
- - -
- -
- -
-
-
-
-
-
-
- -
-
-
- -
-
-
- - + +
+ +
+ +
+
+
+
+
+
+
+ + +
+
+
-
- - +
+
+ + +
+
+ + +
+
+
- -
- + +
-
-
-
-
-
+
+
+
+
- - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - + + + + + + + + + + - - - - + + + + - - + + -
-
+
+
-
-
-
-
    - -
- - - -
+ + + +
-
- - -
+
+ + +
-
- - +
+ + +
+
-
-
+
+
+
+ +
+
+
+
+
+
+
+
+ +
+
+
+

Extracted Metadata Combined.

+

The OpenAIRE Research Graph is one of the largest open scholarly record collections worldwide, key in + fostering Open Science and establishing its practices in the daily research activities. Conceived as a + public and transparent good, populated out of data sources trusted by scientists, the Graph aims at + bringing + discovery, monitoring, and assessment of science back in the hands of the scientific community.
+
+ Imagine a vast collection of research products all linked together, contextualised and openly available. + For + the past ten years OpenAIRE has been working to gather this valuable record. OpenAIRE is pleased to + announce + the beta release of its Research Graph, a massive collection of metadata and links between scientific + products such as articles, datasets, software, and other research products, entities like organisations, + funders, funding streams, projects, communities, and data sources.
+
+ As of today, the OpenAIRE Research Graph aggregates around 450Mi metadata records with links collecting + from + 10,000 data sources trusted by scientists! After cleaning, deduplication, and fine-grained classification + processes, they narrow down to ~100Mi publications, ~8Mi datasets, ~200K software research products, 8Mi + other products linked together with semantic relations.
+
+ More than 10Mi full-texts of Open Access publications are mined by algorithms to enrich metadata records + with additional properties and links among research products, funders, projects, communities, and + organizations. Thanks to the mining algorithm, the graph is completed with 480Mi semantic relations.

+
+
+ Read more +
+
+ Read less +
+
+
+
+
+
+
+
+
+

+ Contribute to improve the
+ OpenAIRE Research Graph +

+

+ The graph is currently under pre-release consultation process which will + last two months. Help us making the graph ready for its 1st production release by providing your feedback! +

+

+ You can provide feedback via Trello + or via opening a ticket in the OpenAIRE + Helpdesk under the category OpenAIRE Services with the subject "OpenAIRE Research Graph: ”. + The graph can be explore and tested via this portal or via data dumps made available in + Zenodo.org.

+

+ Find information about the OpenAIRE Research Graph, how to test it and contribute to improving it on our + blog. You can also + write to Paolo Manghi, the OpenAIRE Technical Director, for + additional details. +

+
- -
-
-
-
-
-
-
-
- -
-
-
-

Extracted Metadata Combined.

-

The OpenAIRE Research Graph is one of the largest open scholarly record collections worldwide, key in - fostering Open Science and establishing its practices in the daily research activities. Conceived as a - public and transparent good, populated out of data sources trusted by scientists, the Graph aims at bringing - discovery, monitoring, and assessment of science back in the hands of the scientific community.
-
- Imagine a vast collection of research products all linked together, contextualised and openly available. For - the past ten years OpenAIRE has been working to gather this valuable record. OpenAIRE is pleased to announce - the beta release of its Research Graph, a massive collection of metadata and links between scientific - products such as articles, datasets, software, and other research products, entities like organisations, - funders, funding streams, projects, communities, and data sources.
-
- As of today, the OpenAIRE Research Graph aggregates around 450Mi metadata records with links collecting from - 10,000 data sources trusted by scientists! After cleaning, deduplication, and fine-grained classification - processes, they narrow down to ~100Mi publications, ~8Mi datasets, ~200K software research products, 8Mi - other products linked together with semantic relations.
-
- More than 10Mi full-texts of Open Access publications are mined by algorithms to enrich metadata records - with additional properties and links among research products, funders, projects, communities, and - organizations. Thanks to the mining algorithm, the graph is completed with 480Mi semantic relations.

-
-
- Read more -
-
- Read less -
-
-
-
-
-
-
-
-
-

- Contribute to improve the
- OpenAIRE Research Graph -

-

- The graph is currently under pre-release consultation process which will - last two months. Help us making the graph ready for its 1st production release by providing your feedback! -

-

- You can provide feedback via Trello - or via opening a ticket in the OpenAIRE - Helpdesk under the category OpenAIRE Services with the subject "OpenAIRE Research Graph: ”. - The graph can be explore and tested via this portal or via data dumps made available in - Zenodo.org.

-

- Find information about the OpenAIRE Research Graph, how to test it and contribute to improving it on our - blog. You can also - write to Paolo Manghi, the OpenAIRE Technical Director, for - additional details. -

- -
-
+
+
-
-
-
-
-
-
-
-
- Share -

- Deposit your research -

-
-
Deposit in a repository of your choice.
- Select an OpenAIRE compatible
- repository (2.0 +) so that your research is linked to your funding information. Use Zenodo, a catch-all repository hosted by CERN to deposit all your research results (publications, data, software, etc.)
-
- Deposit
-
-
-
- Link -

- Link your work -

-
-
Connect all your research.
- If you can't find your research results in OpenAIRE, don't worry! Use our Link Out service , that reaches out to many
- external sources via APIs, to connect
- your research results and claim them to your project.
-
- Link
+
+
+
+
+
+
+
+ Share +

+ Deposit your research +

+
+
Deposit in a repository of your choice.
+ Select an OpenAIRE compatible
+ repository (2.0 +) so that your research is linked to your funding information. Use Zenodo, a + catch-all repository hosted by CERN to deposit all your research results (publications, data, + software, etc.) +
+
+ Deposit
+
+
+
+ Link +

+ Link your work +

+
+
Connect all your research.
+ If you can't find your research results in OpenAIRE, don't worry! Use our Link Out service , + that reaches out to many
+ external sources via APIs, to connect
+ your research results and claim them to your project. +
+
+ Link
+
-
-
-
-
-
-
-

- Our growing Community -

-
-
-

+

+
+
+
+
+

+ Our growing Community +

+
+
+

{{fundersSize.number|number}}{{fundersSize.size}} -
- Funders -

-

+
+ Funders +

+

{{datasourcesSize.number|number}} {{datasourcesSize.size}} -
- Content providers -

-

+
+ Content providers +

+

{{projectsSize.number|number}} {{projectsSize.size}} -
- Projects -

+
+ Projects +

+
-
-
-
-
-
-
-

- {{publicationsSize.count|number}}
- +

+
+
+
+
+

+ {{publicationsSize.count|number}}
+ publications -

-
-
-

- {{softwareSize.count|number}}
- +

+
+
+

+ {{softwareSize.count|number}}
+ software -

+

+
-
-
-
-

- {{datasetsSize.count|number}}
- +

+
+

+ {{datasetsSize.count|number}}
+ research data -

-
-
-

- {{otherSize.count|number}}
- +

+
+
+

+ {{otherSize.count|number}}
+ other research products -

+

+
-
-
-
-
-
-
+
+ -
-
- +
+
+ +
-
+ + + +
+
+ {{logo}} logo +
+
+
+
+ +
+ +
+
+
+
+
+
+
+
+
+
+ +
+
+
+ + +
+
+ + +
+
+ +
+
+
+
+
+
+
+
+
+
+
+
+ +
+
+
+
    + + + +
+
+ +
+ + +
+ +
+ + +
+
+
+ +
+
+ +
+
+
+ +
+
+
+
+ + + +
+
+
+
+ +
+
+
+ +
+
+ Read more +
+
+ Read less +
+
+
+
+
+
+ +
+
+
+
+
+

+ Our growing Community +

+
+
+

+ + {{fundersSize.number|number}}{{fundersSize.size}} + +
+ Funders +

+

+ + {{datasourcesSize.number|number}} + {{datasourcesSize.size}} + +
+ Content providers +

+

+ + {{projectsSize.number|number}} + {{projectsSize.size}} + +
+ Projects +

+
+
+
+
+
+
+
+
+
+
+
+
+

+ {{publicationsSize.count|number}}
+ + + publications + +

+
+
+

+ {{softwareSize.count|number}}
+ + + software + +

+
+
+
+
+

+ {{datasetsSize.count|number}}
+ + + research data + +

+
+
+

+ {{otherSize.count|number}}
+ + + other research products + +

+
+
+
+
+
+ +
+
+ +
+
+
diff --git a/explore/src/app/home/home.component.ts b/explore/src/app/home/home.component.ts index 992e1ecd..f491dedc 100644 --- a/explore/src/app/home/home.component.ts +++ b/explore/src/app/home/home.component.ts @@ -151,6 +151,7 @@ export class HomeComponent { selectedEntityAdvancedUrl; resultTypes = {publication:true, dataset:true, software:true, other:true}; public pageContents = null; + useHelpText: boolean = true; constructor ( private route: ActivatedRoute,