|
|
|
@ -46,7 +46,7 @@
|
|
|
|
|
<h1 class="uk-h4 uk-margin-remove">{{stakeholder.name}}</h1>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div *ngIf="stakeholder && status === errorCodes.DONE && activeTopic" class="uk-margin">
|
|
|
|
|
<div *ngIf="stakeholder && status === errorCodes.DONE && activeTopic" class="uk-margin-top">
|
|
|
|
|
<ul class="uk-tab">
|
|
|
|
|
<ng-template ngFor [ngForOf]="activeTopic.categories" let-category>
|
|
|
|
|
<li *ngIf="isPublicOrIsMember(category.visibility)"
|
|
|
|
@ -77,7 +77,7 @@
|
|
|
|
|
</div>-->
|
|
|
|
|
</div>
|
|
|
|
|
<div inner>
|
|
|
|
|
<div *ngIf="activeCategory && countSubCategoriesToShow(activeCategory) > 1" class="uk-flex uk-flex-right uk-margin-bottom">
|
|
|
|
|
<div *ngIf="activeCategory && countSubCategoriesToShow(activeCategory) > 1" class="uk-flex uk-flex-right">
|
|
|
|
|
<ul class="uk-subnav uk-subnav-pill-alt">
|
|
|
|
|
<ng-template ngFor [ngForOf]="activeCategory.subCategories" let-subCategory let-i="index">
|
|
|
|
|
<li *ngIf="isPublicOrIsMember(subCategory.visibility)"
|
|
|
|
@ -90,66 +90,121 @@
|
|
|
|
|
</ng-template>
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
<div [class.uk-padding]="!isSmallScreen">
|
|
|
|
|
<div *ngIf="privateStakeholder" class="message">
|
|
|
|
|
<div class="uk-text-center">
|
|
|
|
|
<h3 class="uk-flex uk-flex-middle">
|
|
|
|
|
<icon name="incognito" ratio="2"></icon>
|
|
|
|
|
<span class="uk-margin-left">Private data</span>
|
|
|
|
|
</h3>
|
|
|
|
|
<div *ngIf="privateStakeholder" class="message">
|
|
|
|
|
<div class="uk-text-center">
|
|
|
|
|
<h3 class="uk-flex uk-flex-middle">
|
|
|
|
|
<icon name="incognito" ratio="2"></icon>
|
|
|
|
|
<span class="uk-margin-left">Private data</span>
|
|
|
|
|
</h3>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div *ngIf="!privateStakeholder && stakeholder" class="uk-section">
|
|
|
|
|
<div *ngIf="(activeSubCategory && (activeSubCategory.charts.length == 0 || countSectionsWithIndicatorsToShow(activeSubCategory.charts) == 0))
|
|
|
|
|
&& ((activeSubCategory && activeSubCategory.description && activeSubCategory.description.length > 0) ||
|
|
|
|
|
(activeCategory && activeCategory.description && activeCategory.description.length > 0) ||
|
|
|
|
|
(activeTopic && activeTopic.description && activeTopic.description.length > 0))" class="uk-text-center">
|
|
|
|
|
<div class="uk-height-small uk-margin-large-top uk-margin-xlarge-right uk-margin-xlarge-left">
|
|
|
|
|
{{activeSubCategory && activeSubCategory.description && activeSubCategory.description.length > 0 ? activeSubCategory.description
|
|
|
|
|
: (activeCategory && activeCategory.description && activeCategory.description.length > 0 ? activeCategory.description :
|
|
|
|
|
(activeTopic.description && activeTopic.description.length > 0 ? activeTopic.description : ""))}}
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div *ngIf="!privateStakeholder && stakeholder">
|
|
|
|
|
<div *ngIf="(activeSubCategory && (activeSubCategory.charts.length == 0 || countSectionsWithIndicatorsToShow(activeSubCategory.charts) == 0))
|
|
|
|
|
&& ((activeSubCategory && activeSubCategory.description && activeSubCategory.description.length > 0) ||
|
|
|
|
|
(activeCategory && activeCategory.description && activeCategory.description.length > 0) ||
|
|
|
|
|
(activeTopic && activeTopic.description && activeTopic.description.length > 0))" class="uk-text-center">
|
|
|
|
|
<div class="uk-height-small uk-margin-large-top uk-margin-xlarge-right uk-margin-xlarge-left">
|
|
|
|
|
{{activeSubCategory && activeSubCategory.description && activeSubCategory.description.length > 0 ? activeSubCategory.description
|
|
|
|
|
: (activeCategory && activeCategory.description && activeCategory.description.length > 0 ? activeCategory.description :
|
|
|
|
|
(activeTopic.description && activeTopic.description.length > 0 ? activeTopic.description : ""))}}
|
|
|
|
|
</div>
|
|
|
|
|
<ng-template [ngIf]="!loading && !privateStakeholder &&
|
|
|
|
|
(!activeSubCategory ||
|
|
|
|
|
((activeSubCategory.numbers.length == 0 || countSectionsWithIndicatorsToShow(activeSubCategory.numbers) == 0) &&
|
|
|
|
|
(activeSubCategory.charts.length == 0 || countSectionsWithIndicatorsToShow(activeSubCategory.charts) == 0))
|
|
|
|
|
|| !activeTopic || !activeCategory || !activeSubCategory)" [ngIfElse]="content">
|
|
|
|
|
<div class="message uk-text-center">
|
|
|
|
|
<h3>
|
|
|
|
|
No indicators available yet. Stay tuned!
|
|
|
|
|
</h3>
|
|
|
|
|
</div>
|
|
|
|
|
<ng-template [ngIf]="!loading && !privateStakeholder &&
|
|
|
|
|
(!activeSubCategory ||
|
|
|
|
|
((activeSubCategory.numbers.length == 0 || countSectionsWithIndicatorsToShow(activeSubCategory.numbers) == 0) &&
|
|
|
|
|
(activeSubCategory.charts.length == 0 || countSectionsWithIndicatorsToShow(activeSubCategory.charts) == 0))
|
|
|
|
|
|| !activeTopic || !activeCategory || !activeSubCategory)" [ngIfElse]="content">
|
|
|
|
|
<div class="message uk-text-center">
|
|
|
|
|
<h3>
|
|
|
|
|
No indicators available yet. Stay tuned!
|
|
|
|
|
</h3>
|
|
|
|
|
</div>
|
|
|
|
|
</ng-template>
|
|
|
|
|
<ng-template #content>
|
|
|
|
|
<ng-container *ngFor="let number of activeSubCategory.numbers; let i = index;">
|
|
|
|
|
<div *ngIf="countIndicatorsToShow(number.indicators) > 0" class="uk-grid uk-margin-large-bottom" uk-grid
|
|
|
|
|
uk-height-match="target: .uk-card">
|
|
|
|
|
<h5 *ngIf="number.title" class="uk-width-1-1 uk-margin-bottom">{{number.title}}</h5>
|
|
|
|
|
<ng-template ngFor [ngForOf]="number.indicators" let-indicator let-j="index">
|
|
|
|
|
<div *ngIf="isPublicOrIsMember(indicator.visibility)" [ngClass]="getNumberClassBySize(indicator.width)"
|
|
|
|
|
class="uk-margin-bottom">
|
|
|
|
|
<div class="uk-card uk-card-default uk-flex uk-flex-column uk-flex-center"
|
|
|
|
|
[class.semiFiltered]="indicator.indicatorPaths[0].filtersApplied < countSelectedFilters()">
|
|
|
|
|
<div class="uk-text-center">
|
|
|
|
|
<!--<div *ngIf="properties.environment === 'development'">
|
|
|
|
|
Filtered:{{indicator.indicatorPaths[0].filtersApplied}}out of{{countSelectedFilters()}}
|
|
|
|
|
</div>-->
|
|
|
|
|
<div class="number uk-text-bold uk-text-primary-gradient">
|
|
|
|
|
<span *ngIf="numberResults.get(i + '-' + j)">{{numberResults.get(i + '-' + j) | number}}</span>
|
|
|
|
|
<span *ngIf="!numberResults.get(i + '-' + j)">--</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="uk-text-uppercase uk-text-small uk-margin-top">{{indicator.name}}</div>
|
|
|
|
|
</ng-template>
|
|
|
|
|
<ng-template #content>
|
|
|
|
|
<ng-container *ngFor="let number of activeSubCategory.numbers; let i = index;">
|
|
|
|
|
<div *ngIf="countIndicatorsToShow(number.indicators) > 0" class="uk-grid uk-margin-large-bottom" uk-grid
|
|
|
|
|
uk-height-match="target: .uk-card">
|
|
|
|
|
<h5 *ngIf="number.title" class="uk-width-1-1 uk-margin-bottom">{{number.title}}</h5>
|
|
|
|
|
<ng-template ngFor [ngForOf]="number.indicators" let-indicator let-j="index">
|
|
|
|
|
<div *ngIf="isPublicOrIsMember(indicator.visibility)" [ngClass]="getNumberClassBySize(indicator.width)"
|
|
|
|
|
class="uk-margin-bottom">
|
|
|
|
|
<div class="uk-card uk-card-default uk-flex uk-flex-column uk-flex-center"
|
|
|
|
|
[class.semiFiltered]="indicator.indicatorPaths[0].filtersApplied < countSelectedFilters()">
|
|
|
|
|
<div class="uk-text-center">
|
|
|
|
|
<!--<div *ngIf="properties.environment === 'development'">
|
|
|
|
|
Filtered:{{indicator.indicatorPaths[0].filtersApplied}}out of{{countSelectedFilters()}}
|
|
|
|
|
</div>-->
|
|
|
|
|
<div class="number uk-text-bold uk-text-primary-gradient">
|
|
|
|
|
<span *ngIf="numberResults.get(i + '-' + j)">{{numberResults.get(i + '-' + j) | number}}</span>
|
|
|
|
|
<span *ngIf="!numberResults.get(i + '-' + j)">--</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="uk-text-uppercase uk-text-small uk-margin-top">{{indicator.name}}</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div *ngIf="indicator.description || indicator.additionalDescription"
|
|
|
|
|
class="uk-overlay uk-position-bottom">
|
|
|
|
|
<div class="uk-padding-small">
|
|
|
|
|
<div *ngIf="indicator.description">
|
|
|
|
|
{{indicator.description}}
|
|
|
|
|
</div>
|
|
|
|
|
<div *ngIf="indicator.additionalDescription">
|
|
|
|
|
{{indicator.additionalDescription}}
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</ng-template>
|
|
|
|
|
</div>
|
|
|
|
|
</ng-container>
|
|
|
|
|
<div [class.uk-margin-large-top]="countSectionsWithIndicatorsToShow(activeSubCategory.numbers) > 0">
|
|
|
|
|
<ng-container *ngFor="let chart of activeSubCategory.charts; let i = index;">
|
|
|
|
|
<div *ngIf="countIndicatorsToShow(chart.indicators) > 0"
|
|
|
|
|
class="uk-grid uk-grid-column-medium uk-margin-medium-bottom uk-flex uk-flex-middle" uk-grid uk-height-match="target: .uk-card">
|
|
|
|
|
<h5 *ngIf="chart.title" class="uk-width-1-1 uk-margin-bottom">{{chart.title}}</h5>
|
|
|
|
|
<ng-template ngFor [ngForOf]="chart.indicators" let-indicator let-j="index">
|
|
|
|
|
<div *ngIf="isPublicOrIsMember(indicator.visibility) && chartsActiveType.get(i + '-' + j)"
|
|
|
|
|
[ngClass]="getChartClassBySize(indicator.width)">
|
|
|
|
|
<div class="uk-card uk-card-default"
|
|
|
|
|
[class.semiFiltered]="chartsActiveType.get(i + '-' + j).filtersApplied < countSelectedFilters()">
|
|
|
|
|
<div class="uk-card-body uk-text-center">
|
|
|
|
|
<h4 class="uk-margin-bottom chartTitle uk-flex uk-flex-bottom ">
|
|
|
|
|
<div>{{indicator.name + " "}}</div>
|
|
|
|
|
</h4>
|
|
|
|
|
<div *ngIf="indicator.indicatorPaths.length > 1" class="uk-button-group">
|
|
|
|
|
<button *ngFor="let indicatorPath of indicator.indicatorPaths;"
|
|
|
|
|
class="uk-button"
|
|
|
|
|
(click)="setActiveChart(i, j, indicatorPath.type)"
|
|
|
|
|
[class.uk-button-secondary]="chartsActiveType.get(i + '-' + j).url === indicatorPath.url">
|
|
|
|
|
{{indicatorPath.type}}
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
<div *ngIf="properties.environment === 'development'">
|
|
|
|
|
Filtered: {{chartsActiveType.get(i + '-' + j).filtersApplied}} out of
|
|
|
|
|
{{countSelectedFilters()}}</div>
|
|
|
|
|
<iframe *ngIf=" !properties.disableFrameLoad && chartsActiveType.get(i + '-' + j).source !== 'image'"
|
|
|
|
|
[src]="chartsActiveType.get(i + '-' + j).safeResourceUrl"
|
|
|
|
|
class="uk-width-1-1 uk-blend-multiply" [ngClass]="'uk-height-' + (indicator.height?indicator.height.toLowerCase():'medium')"></iframe>
|
|
|
|
|
<div *ngIf="properties.disableFrameLoad && chartsActiveType.get(i + '-' + j).source !== 'image'"
|
|
|
|
|
class="uk-alert uk-alert-danger uk-text-center">
|
|
|
|
|
I frames preview is disabled
|
|
|
|
|
</div>
|
|
|
|
|
<img *ngIf="chartsActiveType.get(i + '-' + j).source === 'image'"
|
|
|
|
|
[src]="chartsActiveType.get(i + '-' + j).safeResourceUrl"
|
|
|
|
|
class="uk-width-1-1 uk-blend-multiply" [ngClass]="'uk-height-' + (indicator.height?indicator.height.toLowerCase():'medium')">
|
|
|
|
|
</div>
|
|
|
|
|
<!-- TODO Check description-->
|
|
|
|
|
<div *ngIf="indicator.description || indicator.additionalDescription"
|
|
|
|
|
class="uk-overlay uk-position-bottom">
|
|
|
|
|
<div class="uk-padding-small">
|
|
|
|
|
<div *ngIf="indicator.description">
|
|
|
|
|
<div class="uk-padding multi-line-ellipsis lines-3">
|
|
|
|
|
<p class="uk-margin-remove">
|
|
|
|
|
<span *ngIf="indicator.description">
|
|
|
|
|
{{indicator.description}}
|
|
|
|
|
</div>
|
|
|
|
|
<div *ngIf="indicator.additionalDescription">
|
|
|
|
|
</span>
|
|
|
|
|
<br>
|
|
|
|
|
<span *ngIf="indicator.additionalDescription">
|
|
|
|
|
{{indicator.additionalDescription}}
|
|
|
|
|
</div>
|
|
|
|
|
</span>
|
|
|
|
|
</p>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
@ -157,80 +212,23 @@
|
|
|
|
|
</ng-template>
|
|
|
|
|
</div>
|
|
|
|
|
</ng-container>
|
|
|
|
|
<div [class.uk-margin-large-top]="activeSubCategory.numbers.length > 0">
|
|
|
|
|
<ng-container *ngFor="let chart of activeSubCategory.charts; let i = index;">
|
|
|
|
|
<div *ngIf="countIndicatorsToShow(chart.indicators) > 0"
|
|
|
|
|
class="uk-grid uk-grid-column-small uk-margin-medium-bottom uk-flex uk-flex-middle" uk-grid uk-height-match="target: .uk-card">
|
|
|
|
|
<h5 *ngIf="chart.title" class="uk-width-1-1 uk-margin-bottom">{{chart.title}}</h5>
|
|
|
|
|
<ng-template ngFor [ngForOf]="chart.indicators" let-indicator let-j="index">
|
|
|
|
|
<div *ngIf="isPublicOrIsMember(indicator.visibility) && chartsActiveType.get(i + '-' + j)"
|
|
|
|
|
[ngClass]="getChartClassBySize(indicator.width)">
|
|
|
|
|
<div class="uk-card uk-card-default"
|
|
|
|
|
[class.semiFiltered]="chartsActiveType.get(i + '-' + j).filtersApplied < countSelectedFilters()">
|
|
|
|
|
<div class="uk-card-body uk-text-center">
|
|
|
|
|
<h4 class="uk-margin-bottom chartTitle uk-flex uk-flex-bottom ">
|
|
|
|
|
<div>{{indicator.name + " "}}</div>
|
|
|
|
|
</h4>
|
|
|
|
|
<div *ngIf="indicator.indicatorPaths.length > 1" class="uk-button-group">
|
|
|
|
|
<button *ngFor="let indicatorPath of indicator.indicatorPaths;"
|
|
|
|
|
class="uk-button"
|
|
|
|
|
(click)="setActiveChart(i, j, indicatorPath.type)"
|
|
|
|
|
[class.uk-button-secondary]="chartsActiveType.get(i + '-' + j).url === indicatorPath.url">
|
|
|
|
|
{{indicatorPath.type}}
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
<div *ngIf="properties.environment === 'development'">
|
|
|
|
|
Filtered: {{chartsActiveType.get(i + '-' + j).filtersApplied}} out of
|
|
|
|
|
{{countSelectedFilters()}}</div>
|
|
|
|
|
<iframe *ngIf=" !properties.disableFrameLoad && chartsActiveType.get(i + '-' + j).source !== 'image'"
|
|
|
|
|
[src]="chartsActiveType.get(i + '-' + j).safeResourceUrl"
|
|
|
|
|
class="uk-width-1-1 uk-blend-multiply" [ngClass]="'uk-height-' + (indicator.height?indicator.height.toLowerCase():'medium')"></iframe>
|
|
|
|
|
<div *ngIf="properties.disableFrameLoad && chartsActiveType.get(i + '-' + j).source !== 'image'"
|
|
|
|
|
class="uk-alert uk-alert-danger uk-text-center">
|
|
|
|
|
I frames preview is disabled
|
|
|
|
|
</div>
|
|
|
|
|
<img *ngIf="chartsActiveType.get(i + '-' + j).source === 'image'"
|
|
|
|
|
[src]="chartsActiveType.get(i + '-' + j).safeResourceUrl"
|
|
|
|
|
class="uk-width-1-1 uk-blend-multiply" [ngClass]="'uk-height-' + (indicator.height?indicator.height.toLowerCase():'medium')">
|
|
|
|
|
</div>
|
|
|
|
|
<!-- TODO Check description-->
|
|
|
|
|
<div *ngIf="indicator.description || indicator.additionalDescription"
|
|
|
|
|
class="uk-overlay uk-position-bottom">
|
|
|
|
|
<div class="uk-padding multi-line-ellipsis lines-3">
|
|
|
|
|
<p class="uk-margin-remove">
|
|
|
|
|
<span *ngIf="indicator.description">
|
|
|
|
|
{{indicator.description}}
|
|
|
|
|
</span>
|
|
|
|
|
<br>
|
|
|
|
|
<span *ngIf="indicator.additionalDescription">
|
|
|
|
|
{{indicator.additionalDescription}}
|
|
|
|
|
</span>
|
|
|
|
|
</p>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</ng-template>
|
|
|
|
|
</div>
|
|
|
|
|
</ng-container>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="uk-margin-medium-top uk-flex hideInfo">
|
|
|
|
|
<!-- Last Stats Date-->
|
|
|
|
|
<div class="uk-width-2-3@m uk-width-1-2 graph">
|
|
|
|
|
<icon name="graph" customClass="uk-text-primary"></icon>
|
|
|
|
|
<span class="uk-margin-small-left uk-text-baseline uk-text-muted">Powered by
|
|
|
|
|
<a href="https://graph.openaire.eu" class="uk-link">OpenAIRE Research Graph</a></span>
|
|
|
|
|
<span *ngIf="statsUpdateDate" class="uk-text-baseline uk-text-muted">
|
|
|
|
|
. Last update of statistics in OpenAIRE: {{statsUpdateDate | date: 'MMM dd, yyyy'}}
|
|
|
|
|
</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="uk-margin-medium-top uk-flex hideInfo">
|
|
|
|
|
<!-- Last Stats Date-->
|
|
|
|
|
<div class="uk-width-2-3@m uk-width-1-2 graph">
|
|
|
|
|
<icon name="graph" customClass="uk-text-primary"></icon>
|
|
|
|
|
<span class="uk-margin-small-left uk-text-baseline uk-text-muted">Powered by
|
|
|
|
|
<a href="https://graph.openaire.eu" class="uk-link">OpenAIRE Research Graph</a></span>
|
|
|
|
|
<span *ngIf="statsUpdateDate" class="uk-text-baseline uk-text-muted">
|
|
|
|
|
. Last update of statistics in OpenAIRE: {{statsUpdateDate | date: 'MMM dd, yyyy'}}
|
|
|
|
|
</span>
|
|
|
|
|
</div>
|
|
|
|
|
<!--Feedback-->
|
|
|
|
|
<div class="uk-width-expand uk-text-right">
|
|
|
|
|
<span class="uk-text-muted">Send us your <a class="uk-link" [href]="feedback" target="_self">feedback</a>.</span>
|
|
|
|
|
</div>
|
|
|
|
|
<!--Feedback-->
|
|
|
|
|
<div class="uk-width-expand uk-text-right">
|
|
|
|
|
<span class="uk-text-muted">Send us your <a class="uk-link" [href]="feedback" target="_self">feedback</a>.</span>
|
|
|
|
|
</div>
|
|
|
|
|
</ng-template>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</ng-template>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|