1
|
<div class="container">
|
2
|
<div class="row">
|
3
|
<div class="col-lg-12">
|
4
|
<h3>Datasource Info </h3>
|
5
|
</div>
|
6
|
</div>
|
7
|
|
8
|
<div class="row">
|
9
|
<div class="col-lg-12">
|
10
|
<img src="{{ datasource.iconURI }}" style="max-height: 100px"/>
|
11
|
</div>
|
12
|
</div>
|
13
|
<div class="row">
|
14
|
<div class="col-lg-6">
|
15
|
<ul>
|
16
|
|
17
|
<li>Datasource Name: <b class=blue-text>{{ datasource.officialName }}</b></li>
|
18
|
<li>Datasource webPage: <a href="{{ datasource.webSite }}">{{ datasource.webSite }}</a></li>
|
19
|
<li>Number of Datasets: <b>{{ lastStats.numberOfDatasets }}</b></li>
|
20
|
<li>Number of Publications: <b>{{ lastStats.numberOfPublication }}</b></li>
|
21
|
<li>Number of Relations: <b>{{ lastStats.numberOfRelations }}</b></li>
|
22
|
|
23
|
|
24
|
</ul>
|
25
|
</div>
|
26
|
</div>
|
27
|
|
28
|
<div class="row">
|
29
|
<div class="col-lg-12">
|
30
|
<ul id="myTabs" class="nav nav-tabs text-center" role="tablist">
|
31
|
<li role="presentation" class="active"><a href="#stats" role="tab" id="profile-tab" data-toggle="tab"
|
32
|
aria-controls="profile" aria-expanded="false"><h4>
|
33
|
Statistics</h4></a></li>
|
34
|
<li role="presentation"><a href="#dataset" id="home-tab" role="tab" data-toggle="tab"
|
35
|
aria-controls="home" aria-expanded="true"><h4>Datasets</h4></a></li>
|
36
|
<li role="presentation"><a href="#publication" role="tab" id="profile-tab" data-toggle="tab"
|
37
|
aria-controls="profile" aria-expanded="false"><h4>Publications</h4></a></li>
|
38
|
|
39
|
</ul>
|
40
|
<div id="myTabContent" class="tab-content">
|
41
|
<div role="tabpanel" class="tab-pane fade active in" id="stats" aria-labelledby="home-tab">
|
42
|
<h1>Stats</h1>
|
43
|
|
44
|
<div id="chart_history_links"></div>
|
45
|
</div>
|
46
|
<div role="tabpanel" class="tab-pane fade " id="dataset" aria-labelledby="dropdown1-tab">
|
47
|
<h1>Dataset</h1>
|
48
|
|
49
|
<div class="row" ng-show="result_dataset.length">
|
50
|
<div class="col-lg-6 col-lg-offset-6">
|
51
|
<a href='#/query/q=entitytype:"dataset" AND provenance:"{{ datasource.officialName }}"'
|
52
|
class="btn btn-primary">See other Datasets <span
|
53
|
class="glyphicon glyphicon-circle-arrow-right"></span></a>
|
54
|
</div>
|
55
|
</div>
|
56
|
|
57
|
<div class="row" ng-repeat="result in result_dataset">
|
58
|
<div class="col-lg-12">
|
59
|
<a href="#/detail/{{ result.identifier }}">
|
60
|
<i ng-hide="result.objectType!= 'unknown' "
|
61
|
style="padding: 10px"
|
62
|
class="fa fa-question-circle fa-2x blue-text circle responsive-img"></i>
|
63
|
<i ng-show="result.objectType=='dataset'" style="padding: 10px"
|
64
|
class="fa fa-database fa-2x blue-text circle responsive-img"></i>
|
65
|
<i style="padding: 10px" ng-show="result.objectType=='publication'"
|
66
|
class="fa fa-book fa-2x blue-text circle responsive-img"></i>
|
67
|
<b ng-show="result.title">{{ result.title }}</b>
|
68
|
<b ng-hide="result.title">Metadata non resolved for pid : {{ result.pid }}</b>
|
69
|
</a>
|
70
|
</div>
|
71
|
|
72
|
<div class="col-lg-12">
|
73
|
<d style="font-size: small"></d>
|
74
|
<auth style="font-size: small; color: #1565C0"
|
75
|
ng-repeat="author in result.authors">
|
76
|
<f ng-hide="$index==0">,</f>
|
77
|
{{ author }}
|
78
|
</auth>
|
79
|
<d ng-show="result.date">- {{ result.date }}</d>
|
80
|
</d>
|
81
|
</div>
|
82
|
<p>
|
83
|
|
84
|
<div class="col-lg-2">
|
85
|
<auth style="font-size: small" class="orange-text"><b>{{ countRelatedDatasets(result) }}</b>
|
86
|
Related Datasets
|
87
|
</auth>
|
88
|
</div>
|
89
|
<div class="col-lg-2">
|
90
|
<auth style="font-size: small" class="orange-text">
|
91
|
<b> {{ countRelatedPublication(result) }}</b> Related Publications
|
92
|
</auth>
|
93
|
</div>
|
94
|
<div class="col-lg-2">
|
95
|
<auth style="font-size: small" class="orange-text"><b>{{ countOtherRelations(result) }}</b>
|
96
|
Other Relations
|
97
|
</auth>
|
98
|
</div>
|
99
|
<div class="col-lg-2">
|
100
|
<auth style="font-size: small" class="orange-text"><a
|
101
|
href="{{ result.resolved_url }}" class="orange-text"> <i
|
102
|
class="fa fa-link"></i> Original Object </a></auth>
|
103
|
</div>
|
104
|
<div class="col-lg-3">
|
105
|
[
|
106
|
<auth style="font-size: small" class="orange-text"
|
107
|
ng-repeat="prov in result.provenance_record">
|
108
|
<f ng-hide="$index==0">,</f>
|
109
|
<a href='#/datasource/name/{{ prov.name }}' style="color: orange">{{ prov.name }}</a>
|
110
|
</auth>
|
111
|
<d style="font-size: small">]</d>
|
112
|
</div>
|
113
|
|
114
|
</div>
|
115
|
|
116
|
|
117
|
</div>
|
118
|
<div role="tabpanel" class="tab-pane fade" id="publication" aria-labelledby="profile-tab">
|
119
|
<h1>Publication</h1>
|
120
|
|
121
|
<div class="row" ng-show="result_publication">
|
122
|
<div class="col-lg-6 col-lg-offset-6">
|
123
|
<a href='#/query/q=entitytype:"publication" AND provenance:"{{ datasource.officialName }}"'
|
124
|
class="btn btn-primary">See other Publication <span
|
125
|
class="glyphicon glyphicon-circle-arrow-right"></span></a>
|
126
|
</div>
|
127
|
</div>
|
128
|
<div class="row" ng-repeat="result in result_publication">
|
129
|
<div class="col-lg-12">
|
130
|
<a href="#/detail/{{ result.identifier }}">
|
131
|
<i ng-hide="result.objectType!= 'unknown' "
|
132
|
style="padding: 10px"
|
133
|
class="fa fa-question-circle fa-2x blue-text circle responsive-img"></i>
|
134
|
<i ng-show="result.objectType=='dataset'" style="padding: 10px"
|
135
|
class="fa fa-database fa-2x blue-text circle responsive-img"></i>
|
136
|
<i style="padding: 10px" ng-show="result.objectType=='publication'"
|
137
|
class="fa fa-book fa-2x blue-text circle responsive-img"></i>
|
138
|
<b ng-show="result.title">{{ result.title }}</b>
|
139
|
<b ng-hide="result.title">Metadata non resolved for pid : {{ result.pid }}</b>
|
140
|
</a>
|
141
|
</div>
|
142
|
|
143
|
<div class="col-lg-12">
|
144
|
<d style="font-size: small"></d>
|
145
|
<auth style="font-size: small; color: #1565C0"
|
146
|
ng-repeat="author in result.authors">
|
147
|
<f ng-hide="$index==0">,</f>
|
148
|
{{ author }}
|
149
|
</auth>
|
150
|
<d ng-show="result.date">- {{ result.date }}</d>
|
151
|
</d>
|
152
|
</div>
|
153
|
<p>
|
154
|
|
155
|
<div class="col-lg-2">
|
156
|
<auth style="font-size: small" class="orange-text"><b>{{ countRelatedDatasets(result) }}</b>
|
157
|
Related Datasets
|
158
|
</auth>
|
159
|
</div>
|
160
|
<div class="col-lg-2">
|
161
|
<auth style="font-size: small" class="orange-text">
|
162
|
<b> {{ countRelatedPublication(result) }}</b> Related Publications
|
163
|
</auth>
|
164
|
</div>
|
165
|
<div class="col-lg-2">
|
166
|
<auth style="font-size: small" class="orange-text"><b>{{ countOtherRelations(result) }}</b>
|
167
|
Other Relations
|
168
|
</auth>
|
169
|
</div>
|
170
|
<div class="col-lg-2">
|
171
|
<auth style="font-size: small" class="orange-text"><a
|
172
|
href="{{ result.resolved_url }}" class="orange-text"> <i
|
173
|
class="fa fa-link"></i> Original Object </a></auth>
|
174
|
</div>
|
175
|
<div class="col-lg-3">
|
176
|
[
|
177
|
<auth style="font-size: small" class="orange-text"
|
178
|
ng-repeat="prov in result.provenance_record">
|
179
|
<f ng-hide="$index==0">,</f>
|
180
|
<a href='#/datasource/name/{{ prov.name }}' style="color: orange">{{ prov.name }}</a>
|
181
|
</auth>
|
182
|
<d style="font-size: small">]</d>
|
183
|
</div>
|
184
|
|
185
|
</div>
|
186
|
|
187
|
</div>
|
188
|
|
189
|
</div>
|
190
|
</div>
|
191
|
</div>
|
192
|
|
193
|
|
194
|
</div>
|
195
|
|
196
|
<script>
|
197
|
$('#myTabs a').click(function (e) {
|
198
|
e.preventDefault()
|
199
|
$(this).tab('show')
|
200
|
});
|
201
|
</script>
|