Revision 46561
Added by Argiro Kokogiannaki about 7 years ago
dataProvider.component.html | ||
---|---|---|
33 | 33 |
<dd *ngIf="dataProviderInfo.countries != undefined">{{dataProviderInfo.countries}}</dd> |
34 | 34 |
</dl> |
35 | 35 |
|
36 |
<tabs [id] = "datasourceId" |
|
36 |
<!--tabs [id] = "datasourceId"
|
|
37 | 37 |
[name] = "dataProviderInfo.title['name']" |
38 | 38 |
[resultsBy] = "dataProviderInfo.resultsBy" |
39 | 39 |
[tabs]="dataProviderInfo.tabs" |
40 | 40 |
[statistics]="dataProviderInfo.statistics" |
41 | 41 |
[organizations]="dataProviderInfo.organizations" |
42 | 42 |
[_dataproviderService]="_dataproviderService"> |
43 |
</tabs> |
|
43 |
</tabs--> |
|
44 |
<div *ngIf="showTabs"> |
|
45 |
<ul class="uk-tab" data-uk-switcher="{connect:'#tab-content'}"> |
|
46 |
<li *ngFor="let tab of dataProviderInfo.tabs; let i=index" id="{{dataProviderInfo.tabs[i].content}}"> |
|
47 |
<a |
|
48 |
(click)="search(tab.content, 1, 10)"> |
|
49 |
{{tab.name}} |
|
50 |
<i *ngIf="tab.content == 'metricsTab'" class="uk-icon-line-chart"></i> |
|
51 |
<i *ngIf="tab.content == 'statisticsTab'" class="uk-icon-pie-chart"></i> |
|
44 | 52 |
|
53 |
<span class="uk-badge uk-badge-notification" *ngIf="tab.content=='publicationsTab'"> |
|
54 |
{{fetchPublications.searchUtils.totalResults}} |
|
55 |
</span> |
|
56 |
<span class="uk-badge uk-badge-notification" *ngIf="tab.content=='datasetsTab'"> |
|
57 |
{{fetchDatasets.searchUtils.totalResults}} |
|
58 |
</span> |
|
59 |
<span class="uk-badge uk-badge-notification" *ngIf="tab.content=='projectsTab'"> |
|
60 |
{{fetchProjects.searchUtils.totalResults}} |
|
61 |
</span> |
|
62 |
<span class="uk-badge uk-badge-notification" *ngIf="tab.content=='datasourcesTab'"> |
|
63 |
{{fetchDataproviders.searchUtils.totalResults}} |
|
64 |
</span> |
|
65 |
<span class="uk-badge uk-badge-notification" *ngIf="tab.content=='organizationsTab'"> |
|
66 |
{{dataProviderInfo.organizations.length}} |
|
67 |
</span> |
|
68 |
</a> |
|
69 |
</li> |
|
70 |
</ul> |
|
71 |
|
|
72 |
<ul *ngIf="dataProviderInfo.tabs != undefined" id="tab-content" class="uk-switcher uk-margin custom-tab-content"> |
|
73 |
|
|
74 |
<li class="uk-animation-fade" *ngFor="let tab of dataProviderInfo.tabs; let i=index"> |
|
75 |
<publicationsTab *ngIf=" tab.content=='publicationsTab'" |
|
76 |
[paramsForSearchLink]="paramsForSearchLink" |
|
77 |
[fetchPublications] = "fetchPublications"> |
|
78 |
</publicationsTab> |
|
79 |
<datasetsTab *ngIf=" tab.content=='datasetsTab'" |
|
80 |
[paramsForSearchLink]="paramsForSearchLink" |
|
81 |
[fetchDatasets]="fetchDatasets"> |
|
82 |
</datasetsTab> |
|
83 |
|
|
84 |
<projectsTab *ngIf=" tab.content=='projectsTab'" |
|
85 |
[paramsForSearchLink]="paramsForSearchLink" |
|
86 |
[fetchProjects]="fetchProjects"> |
|
87 |
</projectsTab> |
|
88 |
<datasourcesTab *ngIf=" tab.content=='datasourcesTab'" |
|
89 |
[paramsForSearchLink]="paramsForSearchLink" |
|
90 |
[fetchDataproviders]="fetchDataproviders"> |
|
91 |
</datasourcesTab> |
|
92 |
<organizationsTab *ngIf=" tab.content=='organizationsTab'" |
|
93 |
[organizations]="dataProviderInfo.organizations"> |
|
94 |
</organizationsTab> |
|
95 |
<relatedDatasourcesTab *ngIf=" tab.content=='relatedDatasourcesTab'" |
|
96 |
[dataproviderId]="id" |
|
97 |
[fetchResults]="fetchResultsAggregators" |
|
98 |
[type]="relatedDataprovidersResultsType"> |
|
99 |
</relatedDatasourcesTab> |
|
100 |
|
|
101 |
<div *ngIf=" tab.content=='statisticsTab' && statsClicked"> |
|
102 |
<div *ngIf="fetchPublications.searchUtils.totalResults == 0 && fetchDatasets.searchUtils.totalResults == 0" class = "uk-alert"> |
|
103 |
There are no statistics |
|
104 |
</div> |
|
105 |
<div *ngIf="(fetchPublications.searchUtils.totalResults != 0 || fetchDatasets.searchUtils.totalResults != 0)"> |
|
106 |
<p> |
|
107 |
The results below are discovered through our pilot algorithms. |
|
108 |
<a href="mailto:feedback@openaire.eu">Let us know how we are doing!</a> |
|
109 |
</p> |
|
110 |
<p class="uk-text-bold">Latest Documents Timeline</p> |
|
111 |
<i-frame [url]=docsTimelineUrl width="800" height="350"></i-frame> |
|
112 |
<p class="uk-text-bold">Documents Types</p> |
|
113 |
<i-frame [url]=docsTypesUrl width="800" height="350"></i-frame> |
|
114 |
</div> |
|
115 |
|
|
116 |
|
|
117 |
<div *ngIf="(fetchPublications.searchUtils.totalResults > 0)"> |
|
118 |
<div> |
|
119 |
<p class="uk-text-bold">Funders in Data Providers Publications</p> |
|
120 |
<i-frame [url]=pubsFunderUrl width="800" height="350"></i-frame> |
|
121 |
<p class="uk-text-bold">Projects with most Publications</p> |
|
122 |
<i-frame [url]=pubsProjectsUrl width="800" height="350"></i-frame> |
|
123 |
|
|
124 |
</div> |
|
125 |
<div *ngIf="(fetchDatasets.searchUtils.totalResults > 0)"> |
|
126 |
<div> |
|
127 |
<p class="uk-text-bold">Projects with most Research Data</p> |
|
128 |
<i-frame [url]=dataProjectsUrl width="800" height="350"></i-frame> |
|
129 |
</div> |
|
130 |
</div> |
|
131 |
</div> |
|
132 |
</div> |
|
133 |
|
|
134 |
<metrics *ngIf=" tab.content=='metricsTab' && metricsClicked" |
|
135 |
[id]="id" [type]="'datasources'" [name]="dataProviderInfo.title['name']" (metricsResults)="metricsResults($event)"> |
|
136 |
</metrics> |
|
137 |
<i-frame *ngIf=" tab.content=='metricsTab' && metricsClicked && totalViews > 0" |
|
138 |
[url]=viewsFrameUrl width="100%" height="250"> |
|
139 |
</i-frame> |
|
140 |
<i-frame *ngIf=" tab.content=='metricsTab' && metricsClicked && totalDownloads > 0" |
|
141 |
[url]=downloadsFrameUrl width="100%" height="250"> |
|
142 |
</i-frame> |
|
143 |
</li> |
|
144 |
</ul> |
|
145 |
</div> |
|
146 |
|
|
45 | 147 |
</div> |
46 | 148 |
|
47 | 149 |
<div class="uk-width-3-10"> |
Also available in: Unified diff
more layout changes for linking - simplify linking - easy switch between bulk and search mode