Apply changes from Elixir branch r58296

add impact factors:
		add fontawesome (package.json, styles.css, angular.json)
		add them in community page - most recent results



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@58414 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
argiro.kokogiannaki 2020-04-06 14:51:22 +00:00
parent 8cf1edfee7
commit a6404f7120
5 changed files with 47 additions and 1 deletions

View File

@ -23,6 +23,7 @@
"styles": [
"src/styles.css",
"src/material.scss",
"node_modules/@fortawesome/fontawesome-free/css/all.min.css",
"node_modules/datatables.net-dt/css/jquery.dataTables.css"
],
"scripts": [
@ -81,6 +82,7 @@
"styles": [
"src/styles.css",
"src/material.scss",
"node_modules/@fortawesome/fontawesome-free/css/all.min.css",
"node_modules/datatables.net-dt/css/jquery.dataTables.css"
],
"assets": [

View File

@ -34,6 +34,7 @@
"@angular/platform-browser-dynamic": "7.2.14",
"@angular/platform-server": "7.2.14",
"@angular/router": "7.2.14",
"@fortawesome/fontawesome-free": "^5.12.1",
"@nguniversal/express-engine": "^6.0.0",
"@nguniversal/module-map-ngfactory-loader": "^6.0.0",
"@types/express": "^4.16.1",

View File

@ -49,7 +49,7 @@ import {SearchResult} from "../../openaireLibrary/utils/entities/searchResult";
</li>
</div>-->
<search-result [results]="results"
[type]="resultType" [properties] = properties class="communityRecentResults">
[type]="resultType" [properties] = properties class="communityRecentResults" [showImpactFactors]="(community.communityId == 'elixir-gr')" >
</search-result>
</div>

View File

@ -182,3 +182,45 @@ div:not(.connect_App) bottom .uk-totop{
.communityPanelBackground .uk-grid-divider > :not(.uk-first-column)::before {
border-left: 1px solid rgba(255, 255, 255, .2);
}
/*
Impact Factor - ATHENA CODE */
#popularity-A{
color:red;
content: 'Test';
}
#popularity-B{
color:#eabd35;
content: 'Test';
}
#popularity-C{
color:grey;
content: 'Test';
}
#influence-A{
color:red;
content: 'Test';
}
#influence-B{
color:#eabd35;
content: 'Test';
}
#influence-C{
color:grey;
content: 'Test';
}
.fa-university::before {
content: "\f19c";
}
.fa-fire::before {
content: "\f06d";
}
/* ATHENA CODE */

View File

@ -1,2 +1,3 @@
/* You can add global styles to this file, and also import other style files */
@import "~@angular/material/prebuilt-themes/indigo-pink.css";
@import "~@fortawesome/fontawesome-free/css/all.min.css"; /*ATHENA CODE */