[Library|Trunk]
Footer: options for centering contents and have dark or light background Table View: change parameter to fv0 Searchbar, Entities Selection: clean up logs git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58530 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
parent
777074d274
commit
e142a4d6ab
|
@ -99,10 +99,9 @@ export class EntitiesSelectionComponent {
|
||||||
ngOnInit() {
|
ngOnInit() {
|
||||||
this.show = 0;
|
this.show = 0;
|
||||||
if (this.properties) {
|
if (this.properties) {
|
||||||
console.log(this.customFilter)
|
// console.log(this.customFilter)
|
||||||
this.config.getCommunityInformation(this.properties, (this.customFilter && this.customFilter.queryFieldName == "communityId") ? this.customFilter.valueId : this.properties.adminToolsCommunity).subscribe(data => {
|
this.config.getCommunityInformation(this.properties, (this.customFilter && this.customFilter.queryFieldName == "communityId") ? this.customFilter.valueId : this.properties.adminToolsCommunity).subscribe(data => {
|
||||||
var showEntity = {};
|
var showEntity = {};
|
||||||
console.log(data)
|
|
||||||
for (var i = 0; i < data['entities'].length; i++) {
|
for (var i = 0; i < data['entities'].length; i++) {
|
||||||
|
|
||||||
showEntity["" + data['entities'][i]["pid"] + ""] = data['entities'][i]["isEnabled"];
|
showEntity["" + data['entities'][i]["pid"] + ""] = data['entities'][i]["isEnabled"];
|
||||||
|
|
|
@ -242,8 +242,8 @@ public getParametersFromUrl(params) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(this.searchUtils.keyword.length > 0 ){
|
if(this.searchUtils.keyword.length > 0 ){
|
||||||
allLimits+=(allLimits.length==0?"?":"&")+'keyword=' + this.searchUtils.keyword;
|
allLimits+=(allLimits.length==0?"?":"&")+'fv0=' + this.searchUtils.keyword;
|
||||||
this.parameterNames.push("keyword");
|
this.parameterNames.push("fv0");
|
||||||
this.parameterValues.push(this.searchUtils.keyword);
|
this.parameterValues.push(this.searchUtils.keyword);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,90 +1,52 @@
|
||||||
<div class="uk-section-primary uk-section uk-section-small uk-padding-remove-bottom">
|
<div [class]="sectionClass + ' uk-section uk-section-small uk-padding-remove-bottom'">
|
||||||
<div class="uk-container uk-container-expand">
|
<div [class]="'uk-container ' +(centered?'uk-container-small':'uk-container-expand') ">
|
||||||
<div class="uk-container uk-container-expand uk-margin-small">
|
<!-- <div class="uk-container uk-container-expand uk-margin-small">-->
|
||||||
<div class="uk-grid-collapse uk-grid" uk-grid="">
|
<div [class]="(centered?'':'uk-grid uk-grid-collapse ') " >
|
||||||
<div id="footer#3" class="uk-width-expand@s uk-first-column uk-text-left@s uk-text-center">
|
<div id="footer#3" [class]="'uk-first-column uk-text-left ' +
|
||||||
<div *ngIf="showOpenaire" class="uk-margin-small uk-margin-remove-top uk-text-left@s uk-text-center">
|
(centered?'uk-grid uk-margin-remove-right':'')">
|
||||||
<img [src]="assetsPath + 'common/Logo_Horizontal_white_small.png'" data-width="126" data-height="30" class="el-image" alt="OpenAIRE">
|
<div *ngIf="showOpenaire"
|
||||||
|
[class]="'uk-margin-top uk-text-left '+(centered?'uk-width-1-4':'')">
|
||||||
|
<img [src]="assetsPath + 'common/Logo_Horizontal_'+(darkBackground?'white':'dark')+'_small.png'"
|
||||||
|
data-width="126"
|
||||||
|
data-height="30" class="el-image" alt="OpenAIRE">
|
||||||
</div>
|
</div>
|
||||||
<div *ngIf="showCommision" id="footer#5" class="uk-margin uk-text-left@s uk-text-center">
|
<div *ngIf="showCommision" id="footer#5"
|
||||||
|
[class]="'uk-margin uk-text-left '+(centered?'uk-width-expand':'')">
|
||||||
|
<div *ngIf="!grantAdvance" class="uk-margin">
|
||||||
|
<img style="margin-right: 8px; float: left;"
|
||||||
|
[src]="assetsPath + 'common/commission'+(this.darkBackground?'.jpg':'-dark.png')"
|
||||||
|
alt="flag black white low" width="50" height="33">
|
||||||
|
<span style="font-size: 8pt; line-height: 0.7!important;" [innerHtml] = "grantConenctText"></span>
|
||||||
|
</div>
|
||||||
<div class="uk-margin">
|
<div class="uk-margin">
|
||||||
<img style="margin-right: 8px; float: left;" [src]="assetsPath + 'common/commission.jpg'" alt="flag black white low" width="50" height="33">
|
<img style="margin-right: 8px; float: left;" [src]="assetsPath + 'common/commission'+(this.darkBackground?'.jpg':'-dark.png')" alt="flag black white low" width="50" height="33">
|
||||||
<span style="font-size: 8pt; line-height: 0.7!important;" [innerHtml] = "(grantAdvance)?grantAdvanceText:grantConenctText"></span>
|
<span style="font-size: 8pt; line-height: 0.7!important;" [innerHtml] = "grantAdvanceText"></span>
|
||||||
</div>
|
</div>
|
||||||
<!--img [src]="assetsPath + 'common/commission.jpg'" sizes="(min-width: 50px) 50px" data-width="427" data-height="285" class="el-image" alt="European Commission"-->
|
<!--img [src]="assetsPath + 'common/commission.jpg'" sizes="(min-width: 50px) 50px" data-width="427" data-height="285" class="el-image" alt="European Commission"-->
|
||||||
</div>
|
</div>
|
||||||
<div *ngIf="showSocialButtons" id="footer#6" class="newsletter uk-margin uk-margin-remove-bottom uk-text-left@s uk-text-center uk-panel">
|
<!--<div *ngIf="showSocialButtons" id="footer#6" class="newsletter uk-margin uk-margin-remove-bottom uk-text-left@s uk-text-center uk-panel">
|
||||||
<h5 class="el-title uk-margin uk-h5">
|
|
||||||
Newsletter
|
|
||||||
</h5>
|
|
||||||
<a target="_blank" href="https://www.openaire.eu/newsletter/listing" class="el-link newsletter">
|
<a target="_blank" href="https://www.openaire.eu/newsletter/listing" class="el-link newsletter">
|
||||||
<span class="el-image uk-icon">
|
<h5 class="el-title uk-margin uk-h5">
|
||||||
|
Newsletter
|
||||||
|
<span class="el-image uk-icon">
|
||||||
<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
|
<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
|
||||||
<circle cx="3.12" cy="16.8" r="1.85"></circle>
|
<circle cx="3.12" cy="16.8" r="1.85"></circle>
|
||||||
<path fill="none" stroke="#000" stroke-width="1.1" d="M1.5,8.2 C1.78,8.18 2.06,8.16 2.35,8.16 C7.57,8.16 11.81,12.37 11.81,17.57 C11.81,17.89 11.79,18.19 11.76,18.5"></path>
|
<path fill="none" stroke="#000" stroke-width="1.1" d="M1.5,8.2 C1.78,8.18 2.06,8.16 2.35,8.16 C7.57,8.16 11.81,12.37 11.81,17.57 C11.81,17.89 11.79,18.19 11.76,18.5"></path>
|
||||||
<path fill="none" stroke="#000" stroke-width="1.1" d="M1.5,2.52 C1.78,2.51 2.06,2.5 2.35,2.5 C10.72,2.5 17.5,9.24 17.5,17.57 C17.5,17.89 17.49,18.19 17.47,18.5"></path>
|
<path fill="none" stroke="#000" stroke-width="1.1" d="M1.5,2.52 C1.78,2.51 2.06,2.5 2.35,2.5 C10.72,2.5 17.5,9.24 17.5,17.57 C17.5,17.89 17.49,18.19 17.47,18.5"></path>
|
||||||
</svg>
|
</svg>
|
||||||
</span>
|
</span>
|
||||||
|
</h5>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>-->
|
||||||
<div *ngIf="showSocialButtons" id="footer#7" class="newsletter uk-margin-small uk-margin-remove-top uk-text-left@s uk-panel">
|
|
||||||
|
|
||||||
<div class="acymailing_module" id="acymailing_module_formAcymailing60611">
|
|
||||||
<div class="" id="acymailing_toggle_formAcymailing60611">
|
|
||||||
<p><a class="" id="acymailing_togglemodule_formAcymailing60611" target="_blank" href="https://www.openaire.eu/newsletter/listing">Subscribe</a></p>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<!-- <div *ngIf="showSocialButtons" class="uk-margin-small uk-margin-remove-top uk-text-left@s uk-text-center">-->
|
|
||||||
<!-- <div class="uk-child-width-auto uk-grid-small uk-flex-left@s uk-flex-center uk-grid" uk-grid="">-->
|
|
||||||
<!-- <div class="uk-first-column">-->
|
|
||||||
<!-- <a href="https://www.facebook.com/groups/openaire/" target="_blank" class="el-link uk-icon-button uk-icon">-->
|
|
||||||
<!-- <svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">-->
|
|
||||||
<!-- <path d="M11,10h2.6l0.4-3H11V5.3c0-0.9,0.2-1.5,1.5-1.5H14V1.1c-0.3,0-1-0.1-2.1-0.1C9.6,1,8,2.4,8,5v2H5.5v3H8v8h3V10z"></path>-->
|
|
||||||
<!-- </svg>-->
|
|
||||||
<!-- </a>-->
|
|
||||||
<!-- </div>-->
|
|
||||||
<!-- <div>-->
|
|
||||||
<!-- <a href="https://www.twitter.com/OpenAIRE_eu" target="_blank" class="el-link uk-icon-button uk-icon">-->
|
|
||||||
<!-- <svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">-->
|
|
||||||
<!-- <path d="M19,4.74 C18.339,5.029 17.626,5.229 16.881,5.32 C17.644,4.86 18.227,4.139 18.503,3.28 C17.79,3.7 17.001,4.009 16.159,4.17 C15.485,3.45 14.526,3 13.464,3 C11.423,3 9.771,4.66 9.771,6.7 C9.771,6.99 9.804,7.269 9.868,7.539 C6.795,7.38 4.076,5.919 2.254,3.679 C1.936,4.219 1.754,4.86 1.754,5.539 C1.754,6.82 2.405,7.95 3.397,8.61 C2.79,8.589 2.22,8.429 1.723,8.149 L1.723,8.189 C1.723,9.978 2.997,11.478 4.686,11.82 C4.376,11.899 4.049,11.939 3.713,11.939 C3.475,11.939 3.245,11.919 3.018,11.88 C3.49,13.349 4.852,14.419 6.469,14.449 C5.205,15.429 3.612,16.019 1.882,16.019 C1.583,16.019 1.29,16.009 1,15.969 C2.635,17.019 4.576,17.629 6.662,17.629 C13.454,17.629 17.17,12 17.17,7.129 C17.17,6.969 17.166,6.809 17.157,6.649 C17.879,6.129 18.504,5.478 19,4.74"></path>-->
|
|
||||||
<!-- </svg>-->
|
|
||||||
<!-- </a>-->
|
|
||||||
<!-- </div>-->
|
|
||||||
<!-- <div>-->
|
|
||||||
<!-- <a href="https://www.linkedin.com/groups/3893548/" target="_blank" class="el-link uk-icon-button uk-icon">-->
|
|
||||||
<!-- <svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">-->
|
|
||||||
<!-- <path d="M5.77,17.89 L5.77,7.17 L2.21,7.17 L2.21,17.89 L5.77,17.89 L5.77,17.89 Z M3.99,5.71 C5.23,5.71 6.01,4.89 6.01,3.86 C5.99,2.8 5.24,2 4.02,2 C2.8,2 2,2.8 2,3.85 C2,4.88 2.77,5.7 3.97,5.7 L3.99,5.7 L3.99,5.71 L3.99,5.71 Z"></path>-->
|
|
||||||
<!-- <path d="M7.75,17.89 L11.31,17.89 L11.31,11.9 C11.31,11.58 11.33,11.26 11.43,11.03 C11.69,10.39 12.27,9.73 13.26,9.73 C14.55,9.73 15.06,10.71 15.06,12.15 L15.06,17.89 L18.62,17.89 L18.62,11.74 C18.62,8.45 16.86,6.92 14.52,6.92 C12.6,6.92 11.75,7.99 11.28,8.73 L11.3,8.73 L11.3,7.17 L7.75,7.17 C7.79,8.17 7.75,17.89 7.75,17.89 L7.75,17.89 L7.75,17.89 Z"></path>-->
|
|
||||||
<!-- </svg>-->
|
|
||||||
<!-- </a>-->
|
|
||||||
<!-- </div>-->
|
|
||||||
<!-- <div>-->
|
|
||||||
<!-- <a href="https://www.slideshare.net/OpenAIRE_eu" target="_blank" class="el-link uk-icon-button uk-icon">-->
|
|
||||||
<!-- <svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">-->
|
|
||||||
<!-- <line fill="none" stroke="#000" stroke-width="1.1" x1="13.4" y1="14" x2="6.3" y2="10.7"></line>-->
|
|
||||||
<!-- <line fill="none" stroke="#000" stroke-width="1.1" x1="13.5" y1="5.5" x2="6.5" y2="8.8"></line>-->
|
|
||||||
<!-- <circle fill="none" stroke="#000" stroke-width="1.1" cx="15.5" cy="4.6" r="2.3"></circle>-->
|
|
||||||
<!-- <circle fill="none" stroke="#000" stroke-width="1.1" cx="15.5" cy="14.8" r="2.3"></circle>-->
|
|
||||||
<!-- <circle fill="none" stroke="#000" stroke-width="1.1" cx="4.5" cy="9.8" r="2.3"></circle>-->
|
|
||||||
<!-- </svg>-->
|
|
||||||
<!-- </a>-->
|
|
||||||
<!-- </div>-->
|
|
||||||
<!-- <div>-->
|
|
||||||
<!-- <a href="https://www.youtube.com/channel/UChFYqizc-S6asNjQSoWuwjw" target="_blank" class="el-link uk-icon-button uk-icon">-->
|
|
||||||
<!-- <svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">-->
|
|
||||||
<!-- <path d="M15,4.1c1,0.1,2.3,0,3,0.8c0.8,0.8,0.9,2.1,0.9,3.1C19,9.2,19,10.9,19,12c-0.1,1.1,0,2.4-0.5,3.4c-0.5,1.1-1.4,1.5-2.5,1.6 c-1.2,0.1-8.6,0.1-11,0c-1.1-0.1-2.4-0.1-3.2-1c-0.7-0.8-0.7-2-0.8-3C1,11.8,1,10.1,1,8.9c0-1.1,0-2.4,0.5-3.4C2,4.5,3,4.3,4.1,4.2 C5.3,4.1,12.6,4,15,4.1z M8,7.5v6l5.5-3L8,7.5z"></path>-->
|
|
||||||
<!-- </svg>-->
|
|
||||||
<!-- </a>-->
|
|
||||||
<!-- </div>-->
|
|
||||||
<!-- </div>-->
|
|
||||||
<!-- </div>-->
|
|
||||||
</div>
|
</div>
|
||||||
<div *ngIf="showMenuItems" class="uk-width-expand@m uk-light">
|
<div [class]="(!centered?'uk-grid uk-width-expand':'')">
|
||||||
|
<div *ngIf="showMenuItems" [class]="'uk-width-expand@m '+ (darkBackground?'uk-light':'')">
|
||||||
<div id="footer#7" class="uk-text-right@m uk-text-center">
|
<div id="footer#7" class="uk-text-right@m uk-text-center">
|
||||||
|
|
||||||
<ul class="uk-subnav uk-margin-remove-bottom uk-subnav-divider" uk-margin="">
|
<ul [class]="(centered?'uk-flex-center':'')
|
||||||
|
+' uk-subnav uk-margin-remove-bottom uk-subnav-divider'" uk-margin="">
|
||||||
<ng-container *ngFor="let submenu of menuItems">
|
<ng-container *ngFor="let submenu of menuItems">
|
||||||
<li class="el-item" *ngIf="isEnabled(submenu.routeRequired, showPage)">
|
<li class="el-item" *ngIf="isEnabled(submenu.routeRequired, showPage)">
|
||||||
<a *ngIf="submenu.route.length > 0" routerLink="{{submenu.route}}" [queryParams]=submenu.params >{{submenu.title}}</a>
|
<a *ngIf="submenu.route.length > 0" routerLink="{{submenu.route}}" [queryParams]=submenu.params >{{submenu.title}}</a>
|
||||||
|
@ -133,8 +95,9 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div *ngIf="showSocialButtons" class="uk-margin-small uk-margin-remove-top uk-text-left@s uk-text-center">
|
<div *ngIf="showSocialButtons" class="uk-margin uk-text-center uk-width-1-1">
|
||||||
<div class="uk-child-width-auto uk-grid-small uk-flex-left@s uk-flex-center uk-grid" uk-grid="">
|
<div [class]="(centered?'uk-flex-center':'uk-flex-left ') +
|
||||||
|
' uk-child-width-auto uk-grid-small uk-grid'">
|
||||||
<div class="uk-first-column">
|
<div class="uk-first-column">
|
||||||
<a href="https://www.facebook.com/groups/openaire/" target="_blank" class="el-link uk-icon-button uk-icon">
|
<a href="https://www.facebook.com/groups/openaire/" target="_blank" class="el-link uk-icon-button uk-icon">
|
||||||
<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
|
<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
@ -175,32 +138,46 @@
|
||||||
</svg>
|
</svg>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
<div>
|
||||||
|
<a target="_blank" href="https://www.openaire.eu/newsletter/listing" class="el-link newsletter">
|
||||||
|
<span class="el-title uk-margin uk-text-large">
|
||||||
|
Newsletter
|
||||||
|
<span class="el-image uk-icon">
|
||||||
|
<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<circle cx="3.12" cy="16.8" r="1.85"></circle>
|
||||||
|
<path fill="none" stroke="#000" stroke-width="1.1" d="M1.5,8.2 C1.78,8.18 2.06,8.16 2.35,8.16 C7.57,8.16 11.81,12.37 11.81,17.57 C11.81,17.89 11.79,18.19 11.76,18.5"></path>
|
||||||
|
<path fill="none" stroke="#000" stroke-width="1.1" d="M1.5,2.52 C1.78,2.51 2.06,2.5 2.35,2.5 C10.72,2.5 17.5,9.24 17.5,17.57 C17.5,17.89 17.49,18.19 17.47,18.5"></path>
|
||||||
|
</svg>
|
||||||
|
</span>
|
||||||
|
</span>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
<!-- </div>-->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
<div class="uk-section-primary uk-section uk-section-xsmall">
|
<!--<div [class]="sectionClass + ' uk-section uk-section-xsmall'">
|
||||||
<div class="uk-container">
|
<div class="uk-container">
|
||||||
<div class="uk-grid-margin uk-grid uk-grid-stack" uk-grid="">
|
<div class="uk-grid-margin uk-grid uk-grid-stack" uk-grid="">
|
||||||
<div class="uk-width-expand@m">
|
<div class="uk-width-expand@m">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>-->
|
||||||
<div class="uk-section-primary uk-section uk-section-xsmall">
|
<div [class]="sectionClass + ' uk-section uk-section-xsmall'">
|
||||||
<div class="uk-container uk-container-expand">
|
<div class="uk-container uk-container-expand">
|
||||||
<div class="uk-grid-margin uk-grid" uk-grid="">
|
<div class="uk-grid-margin uk-grid" uk-grid="">
|
||||||
<div class="uk-width-small@m uk-first-column">
|
<div class="uk-width-small@m uk-first-column">
|
||||||
</div>
|
</div>
|
||||||
<div class="uk-width-expand@m">
|
<div class="uk-width-expand@m">
|
||||||
<div id="footer#22" class=" uk-text-small uk-margin uk-margin-remove-bottom uk-text-center@m uk-text-center uk-text-lead">
|
<div id="footer#22" class=" uk-text-small uk-margin uk-margin-remove-bottom uk-text-center@m uk-text-center ">
|
||||||
<a href="http://creativecommons.org/licenses/by/4.0/" rel="license" class="license">
|
<a href="http://creativecommons.org/licenses/by/4.0/" rel="license" class="license">
|
||||||
<!-- <img src="/images/Icons/cc.svg" uk-svg="" hidden="true">-->
|
<svg *ngIf="darkBackground" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" width="24"
|
||||||
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" width="24" height="24" class=" uk-svg">
|
height="24" class=" uk-svg">
|
||||||
<title></title>
|
<title></title>
|
||||||
<g data-name="Creative Commons" id="Creative_Commons">
|
<g data-name="Creative Commons" id="Creative_Commons">
|
||||||
<circle cx="12" cy="12" r="11.5" style="fill:none;stroke:#ffffff;stroke-linecap:round;stroke-linejoin:round"></circle>
|
<circle cx="12" cy="12" r="11.5" style="fill:none;stroke:#ffffff;stroke-linecap:round;stroke-linejoin:round"></circle>
|
||||||
|
@ -208,9 +185,13 @@
|
||||||
<path d="M18.87,10a3.5,3.5,0,1,0,0,4" style="fill:none;stroke:#ffffff;stroke-linecap:round;stroke-linejoin:round"></path>
|
<path d="M18.87,10a3.5,3.5,0,1,0,0,4" style="fill:none;stroke:#ffffff;stroke-linecap:round;stroke-linejoin:round"></path>
|
||||||
</g>
|
</g>
|
||||||
</svg>
|
</svg>
|
||||||
|
<svg *ngIf="!darkBackground" xmlns="http://www.w3.org/2000/svg" width="24" height="24"
|
||||||
<!-- <img src="/images/Icons/cc-by.svg" uk-svg="" hidden="true">-->
|
viewBox="0 0 24 24">
|
||||||
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" width="24" height="24" class=" uk-svg">
|
<path id="creative-commons" d="M9.7,14.675a1.311,1.311,0,0,1-1.15-.557,2.511,2.511,0,0,1-.391-1.477q0-2.032,1.541-2.034a1.36,1.36,0,0,1,.666.205,1.569,1.569,0,0,1,.605.718l1.541-.8A3.222,3.222,0,0,0,9.457,9.067a3.249,3.249,0,0,0-2.412.964,3.548,3.548,0,0,0-.957,2.61,3.562,3.562,0,0,0,.945,2.63,3.362,3.362,0,0,0,2.485.942,3.367,3.367,0,0,0,1.766-.481,3.408,3.408,0,0,0,1.254-1.326l-1.419-.718a1.44,1.44,0,0,1-1.416.987Zm6.634,0a1.312,1.312,0,0,1-1.15-.557,2.511,2.511,0,0,1-.391-1.477q0-2.032,1.541-2.034a1.389,1.389,0,0,1,.686.205,1.577,1.577,0,0,1,.608.718l1.519-.8a3.181,3.181,0,0,0-3.04-1.663,3.253,3.253,0,0,0-2.412.964,3.546,3.546,0,0,0-.955,2.61,3.576,3.576,0,0,0,.934,2.63,3.349,3.349,0,0,0,2.5.942,3.328,3.328,0,0,0,1.745-.481,3.54,3.54,0,0,0,1.274-1.326l-1.438-.718a1.441,1.441,0,0,1-1.416.987ZM21.156,4.12A11.61,11.61,0,0,0,12.624.64a11.436,11.436,0,0,0-8.44,3.48A11.738,11.738,0,0,0,.641,12.64,11.537,11.537,0,0,0,4.185,21.1a11.532,11.532,0,0,0,8.44,3.541,11.856,11.856,0,0,0,8.592-3.57,11.389,11.389,0,0,0,3.424-8.431,11.583,11.583,0,0,0-3.484-8.52Zm-1.5,15.391a9.631,9.631,0,0,1-7,2.94,9.479,9.479,0,0,1-6.938-2.911A9.422,9.422,0,0,1,2.8,12.64,9.57,9.57,0,0,1,5.747,5.68,9.3,9.3,0,0,1,12.655,2.8a9.4,9.4,0,0,1,6.94,2.88,9.411,9.411,0,0,1,2.884,6.96,9.157,9.157,0,0,1-2.823,6.87Z" transform="translate(-0.641 -0.64)"/>
|
||||||
|
</svg>
|
||||||
|
{{' '}}
|
||||||
|
<svg *ngIf="darkBackground" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" width="24"
|
||||||
|
height="24" class=" uk-svg">
|
||||||
<title></title>
|
<title></title>
|
||||||
<g id="Attribution">
|
<g id="Attribution">
|
||||||
<g data-name="<Group>" id="_Group_">
|
<g data-name="<Group>" id="_Group_">
|
||||||
|
@ -220,6 +201,15 @@
|
||||||
<circle cx="12" cy="12" r="11.5" style="fill:none;stroke:#ffffff;stroke-linecap:round;stroke-linejoin:round"></circle>
|
<circle cx="12" cy="12" r="11.5" style="fill:none;stroke:#ffffff;stroke-linecap:round;stroke-linejoin:round"></circle>
|
||||||
</g>
|
</g>
|
||||||
</svg>
|
</svg>
|
||||||
|
<svg *ngIf="!darkBackground" xmlns="http://www.w3.org/2000/svg" width="24" height="24"
|
||||||
|
viewBox="0 0 24 24">
|
||||||
|
<g id="Group_756" data-name="Group 756" transform="translate(0)">
|
||||||
|
<path id="Path_2324" data-name="Path 2324" d="M18.325,11.98a.775.775,0,0,0-.775-.775H12.641a.775.775,0,0,0-.775.775v4.909h1.369V22.7h3.719V16.889h1.37V11.98Z" transform="translate(-3.095 -2.951)"/>
|
||||||
|
<path id="Path_2325" data-name="Path 2325" d="M17.209,7.759A1.679,1.679,0,1,1,15.53,6.08,1.679,1.679,0,0,1,17.209,7.759Z" transform="translate(-3.529 -1.83)"/>
|
||||||
|
<path id="Path_2326" data-name="Path 2326" d="M12.624.64A11.439,11.439,0,0,0,4.183,4.12,11.736,11.736,0,0,0,.639,12.64,11.537,11.537,0,0,0,4.183,21.1a11.531,11.531,0,0,0,8.441,3.54,11.851,11.851,0,0,0,8.591-3.57,11.383,11.383,0,0,0,3.424-8.43,11.582,11.582,0,0,0-3.484-8.52,11.612,11.612,0,0,0-8.53-3.48Zm.03,2.159a9.4,9.4,0,0,1,6.939,2.88,9.414,9.414,0,0,1,2.883,6.96,9.156,9.156,0,0,1-2.823,6.87,9.63,9.63,0,0,1-7,2.94,9.48,9.48,0,0,1-6.939-2.91A9.425,9.425,0,0,1,2.8,12.64,9.573,9.573,0,0,1,5.746,5.68,9.3,9.3,0,0,1,12.654,2.8Z" transform="translate(-0.639 -0.64)"/>
|
||||||
|
</g>
|
||||||
|
</svg>
|
||||||
|
|
||||||
</a>
|
</a>
|
||||||
Unless otherwise indicated, all materials created by OpenAIRE are licenced under <a href="http://creativecommons.org/licenses/by/4.0/" rel="license">CC ATTRIBUTION 4.0 INTERNATIONAL LICENSE</a>.
|
Unless otherwise indicated, all materials created by OpenAIRE are licenced under <a href="http://creativecommons.org/licenses/by/4.0/" rel="license">CC ATTRIBUTION 4.0 INTERNATIONAL LICENSE</a>.
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -22,14 +22,20 @@ export class BottomComponent {
|
||||||
// @Input() environment:string = "beta";
|
// @Input() environment:string = "beta";
|
||||||
showPage ={};
|
showPage ={};
|
||||||
@Input() grantAdvance:boolean = true;
|
@Input() grantAdvance:boolean = true;
|
||||||
grantAdvanceText = "OpenAIRE-Advance receives funding from the European Union's Horizon 2020 Research and Innovation programme under Grant Agreement No. 777541."
|
grantAdvanceText = "OpenAIRE-Advance receives funding from the European Union's Horizon 2020 Research and Innovation programme under Grant Agreement No. 777541.";
|
||||||
grantConenctText = "OpenAIRE-Connect receives funding from the European Union's Horizon 2020 Research and Innovation programme under grant agreement No. 731011."
|
grantConenctText = "OpenAIRE-Connect receives funding from the European Union's Horizon 2020 Research and Innovation programme under grant agreement No. 731011.";
|
||||||
@Input() properties:EnvProperties;
|
@Input() properties:EnvProperties;
|
||||||
|
@Input() darkBackground:boolean=true;
|
||||||
|
@Input() centered:boolean=false;
|
||||||
|
sectionClass= "uk-section-primary";
|
||||||
|
|
||||||
constructor(private config: ConfigurationService, private route: ActivatedRoute,) {
|
constructor(private config: ConfigurationService, private route: ActivatedRoute,) {
|
||||||
}
|
}
|
||||||
|
|
||||||
ngOnInit() {
|
ngOnInit() {
|
||||||
|
if(!this.darkBackground){
|
||||||
|
this.sectionClass= " footer-light-background";
|
||||||
|
}
|
||||||
this.route.queryParams.subscribe(params => {
|
this.route.queryParams.subscribe(params => {
|
||||||
if(this.showMenuItems){
|
if(this.showMenuItems){
|
||||||
if( this.properties.adminToolsAPIURL && this.communityId ){
|
if( this.properties.adminToolsAPIURL && this.communityId ){
|
||||||
|
|
|
@ -32,8 +32,6 @@ export class SearchBarComponent {
|
||||||
|
|
||||||
// this.activeRouteEnabled = false;
|
// this.activeRouteEnabled = false;
|
||||||
this.route.queryParams.subscribe(params => {
|
this.route.queryParams.subscribe(params => {
|
||||||
console.log("Init");
|
|
||||||
console.log(params);
|
|
||||||
this.parameters = Object.assign({}, params);
|
this.parameters = Object.assign({}, params);
|
||||||
this.entityType = "all";
|
this.entityType = "all";
|
||||||
if (params["type"] && params["type"].length > 0) {
|
if (params["type"] && params["type"].length > 0) {
|
||||||
|
@ -50,7 +48,6 @@ export class SearchBarComponent {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
console.log(this.entityType);
|
|
||||||
if(this.getCurrentRoute() == "/search/advanced/research-outcomes" ){
|
if(this.getCurrentRoute() == "/search/advanced/research-outcomes" ){
|
||||||
this.enableSearchbar = false;
|
this.enableSearchbar = false;
|
||||||
}else{
|
}else{
|
||||||
|
@ -107,7 +104,6 @@ console.log(this.entityType);
|
||||||
}
|
}
|
||||||
|
|
||||||
getCurrentRoute() {
|
getCurrentRoute() {
|
||||||
console.log(this.router.url.split('?')[0]);
|
|
||||||
return this.router.url.split('?')[0];
|
return this.router.url.split('?')[0];
|
||||||
}
|
}
|
||||||
entityChanged($event){
|
entityChanged($event){
|
||||||
|
|
Loading…
Reference in New Issue