Project

General

Profile

1
<section>
2

    
3

    
4
    <div>
5
        <div class="row">
6
            <div class="col-lg-11 col-lg-offset-1" style="font-size: large">
7
                <i ng-show="item.typology=='dataset'" style="padding: 10px"
8
                   class="fa fa-database fa-2x  responsive-img"></i>
9
                <i ng-show="item.typology=='publication'" style="padding: 10px"
10
                   class="fa fa-book fa-2x circle responsive-img"></i>
11
                <i ng-hide="item.typology=='publication' || item.typology=='dataset'"
12
                   class="fa fa-question-circle fa-2x blue-text circle responsive-img"></i>
13
                <b><a href="{{ item.resolved_url }}" style="margin: 10px">
14
                    <d>    {{ item.title[0] }} </d>
15
                    <d ng-hide="item.title">metadata not available - Pid not resolved</d>
16

    
17
                </a></b></div>
18
        </div>
19
    </div>
20

    
21

    
22
    <div class="row">
23
        <div class="col-lg-11 col-lg-offset-1">
24
            <table style="width: 100%">
25
                <tr>
26
                    <td style="width: 20%"><b>Typology:</b></td>
27
                    <td> {{ item.typology }}</td>
28
                </tr>
29
                <tr>
30
                    <td><b>Identifier:</b></td>
31
                    <td ng-repeat="id in item.localIdentifier"> {{ id.id }}</td>
32
                </tr>
33
                <tr>
34
                    <td><b>Identifier type:</b></td>
35
                    <td ng-repeat="id in item.localIdentifier"> {{ id.type }}</td>
36
                </tr>
37
                <tr>
38
                    <td class="valign-wrapper"><b>Author(s):</b></td>
39
                    <td class="green-text">
40
                        <f ng-repeat="a in item.author">{{ a }},</f>
41
                    </td>
42
                </tr>
43
                <tr>
44
                    <td><b>Date:</b></td>
45
                    <td class="valign-wrapper green-text"> {{ item.date[0] }}</td>
46
                </tr>
47
            </table>
48
            <br>
49
            <table style="width: 100%">
50
                <tr>
51
                    <td style="width: 20%"><b>provenance (of this object):</b></td>
52
                    <td class="valign-wrapper">
53
                        <table style="width: 100%">
54
                            <thead>
55
                            <tr>
56
                                <th class="center-align" style="width: 20%">Date Of Collection</th>
57
                                <th class="center-align" style="width: 20%">Datasource</th>
58
                                <th class="center-align" style="width: 60%">Action</th>
59
                            </tr>
60
                            </thead>
61
                            <tbody>
62
                            <tr ng-repeat="d in item.datasources">
63
                                <td class="centered">{{ d.collectionDate }}</td>
64
                                <td class="centered">{{ d.datasourceName }}</td>
65
                                <td class="centered">
66
                                    <div ng-show="d.completionStatus==='complete'  && d.provisionMode==='collected'">
67
                                        Full-metadata record collected from {{ d.datasourceName }}
68
                                    </div>
69
                                    <div ng-show="d.completionStatus==='incomplete'">Object PID collected from
70
                                        {{ d.datasourceName }}
71
                                    </div>
72
                                    <div ng-show="d.completionStatus==='complete' && d.provisionMode==='resolved'">
73
                                        Full-metadata record collected from {{ d.datasourceName }}
74
                                    </div>
75
                                </td>
76
                            </tr>
77
                            </tbody>
78
                        </table>
79
                    </td>
80
                </tr>
81
            </table>
82
            <br>
83
        </div>
84
    </div>
85

    
86
    <div class="row">
87
        <div class="col-lg-11 col-lg-offset-1">
88
            <ul id="myTabs" class="nav nav-tabs text-center" role="tablist">
89
                <li role="presentation" ng-class="active"><a href="#dataset" id="home-tab" role="tab" data-toggle="tab"
90
                                                             aria-controls="home" aria-expanded="true"><h4>Link To
91
                    Datasets ({{ item.relatedDatasets }})</h4></a></li>
92
                <li role="presentation" ng-class=""><a href="#publication" role="tab" id="profile-tab" data-toggle="tab"
93
                                                       aria-controls="profile" aria-expanded="false"><h4>Link To
94
                    Publications ({{ item.relatedPublications }})</h4></a></li>
95
                <li role="presentation" ng-class=""><a href="#other" role="tab" id="profile-tab" data-toggle="tab"
96
                                                       aria-controls="profile" aria-expanded="false"><h4>Other Links
97
                    ({{ item.relatedUnknown }})</h4></a></li>
98
            </ul>
99
            <div id="myTabContent" class="tab-content">
100
                <div role="tabpanel" class="tab-pane fade active in" id="dataset" aria-labelledby="home-tab">
101

    
102
                    <div ng-repeat="rels in relations.related_dataset">
103
                        <div class="row">
104
                            <div class="col-lg-12"><a href="#/detail/{{ rels.target.dnetIdentifier }}" class="blue-text"> <i
105
                                    style="padding: 10px"
106
                                    class="fa fa-database fa-2x blue-text circle responsive-img"></i><b>{{ rels.target.title }}</b>
107
                            </a></div>
108

    
109
                            <div class="col-lg-12">
110
                                <f style="color: green" ng-repeat="a in rels.target.creator">{{ a.name }},</f>
111
                            </div>
112
                            <div ng-repeat="ids in rels.target.identifier">
113
                                <div class="col-lg-12"><b>PID</b> : {{ ids.identifier }}</div>
114
                                <div class="col-lg-12"><b>PID Type</b> : {{ ids.schema }}</div>
115
                            </div>
116
                        </div>
117
                        <div class="row">
118
                            <div class="col-lg-2">
119
                                <b>provenance (of this link): </b>
120
                            </div>
121
                            <div class="col-lg-8">
122
                                <table style="width: 100%">
123
                                    <thead>
124
                                    <tr>
125
                                        <th class="center-align" style="width: 20%">Date Of Collection</th>
126
                                        <th class="center-align" style="width: 20%">Datasource</th>
127
                                        <th class="center-align" style="width: 60%">Action</th>
128
                                    </tr>
129
                                    </thead>
130
                                    <tbody>
131
                                    <tr ng-repeat="d in rels.linkprovider">
132
                                        <td class="left-align">{{ d.collectionDate }}</td>
133
                                        <td class="left-align">{{ d.name }}</td>
134
                                        <td class="left-align">
135
                                            Relation collected from {{ d.name }}
136
                                        </td>
137
                                    </tr>
138
                                    </tbody>
139
                                </table>
140
                            </div>
141
                        </div>
142
                    </div>
143

    
144
                    <div class="row centered">
145
                            <div class="text-center">
146
                                <ul class="pagination centered">
147
                                    <li><a ng-click="prevPage('dataset')">&lt;</a></li>
148
                                    <li ><a ng-click="nextPage('dataset')">&gt;</a></li>
149
                                </ul>
150
                            </div>
151
                    </div>
152
                </div>
153
                <div role="tabpanel" class="tab-pane fade" id="publication" aria-labelledby="profile-tab">
154
                    <div ng-repeat="rels in relations.related_publications">
155
                        <div class="row">
156
                            <div class="col-lg-12">
157
                                <a href="#/detail/{{ rels.target.dnetIdentifier }}" class="blue-text">
158
                                    <i style="padding: 10px" class="fa fa-book fa-2x blue-text circle responsive-img"></i>
159
                                    <b>{{ rels.target.title }}</b>
160
                                </a>
161
                            </div>
162
                            <div class="col-lg-12">
163
                                <f style="color: green" ng-repeat="a in rels.target.creator">{{ a.name }},</f>
164
                            </div>
165
                            <div ng-repeat="ids in rels.target.identifier">
166
                                <div class="col-lg-12"><b>PID</b> : {{ ids.identifier }}</div>
167
                                <div class="col-lg-12"><b>PID Type</b> : {{ ids.schema }}</div>
168
                            </div>
169
                        </div>
170
                        <div class="row">
171
                            <div class="col-lg-2">
172
                                <b>provenance (of this link): </b>
173
                            </div>
174
                            <div class="col-lg-8">
175
                                <table style="width: 100%">
176
                                    <thead>
177
                                    <tr>
178
                                        <th class="center-align" style="width: 20%">Date Of Collection</th>
179
                                        <th class="center-align" style="width: 20%">Datasource</th>
180
                                        <th class="center-align" style="width: 60%">Action</th>
181
                                    </tr>
182
                                    </thead>
183
                                    <tbody>
184
                                    <tr ng-repeat="d in rels.linkprovider">
185
                                        <td class="left-align">{{ d.collectionDate }}</td>
186
                                        <td class="left-align">{{ d.name }}</td>
187
                                        <td class="left-align">
188
                                            Relation collected from {{ d.name }}
189
                                        </td>
190
                                    </tr>
191
                                    </tbody>
192
                                </table>
193
                            </div>
194
                        </div>
195
                    </div>
196
                    <div class="row centered">
197
                            <div class="text-center">
198
                                <ul class="pagination centered">
199
                                    <li><a ng-click="prevPage('publication')">&lt;</a></li>
200
                                    <li ><a ng-click="nextPage('publication')">&gt;</a></li>
201
                                </ul>
202
                            </div>
203
                    </div>
204
                </div>
205
                <div role="tabpanel" class="tab-pane fade" id="other" aria-labelledby="dropdown1-tab">
206
                    <div ng-repeat="rels in relations.related_unknown">
207
                        <div class="row">
208
                            <div class="col-lg-12"><a href="#/detail/{{ rels.target.dnetIdentifier }}" class="blue-text"> <i
209
                                    style="padding: 10px"
210
                                    class="fa fa-question-circle fa-2x blue-text circle responsive-img"></i><b>{{ rels.target.identifier[0].identifier }}</b>
211
                            </a></div>
212

    
213
                            <div class="col-lg-12">
214
                                <f style="color: green" ng-repeat="a in rels.target.creator">{{ a.name }},</f>
215
                            </div>
216
                            <div ng-repeat="ids in rels.target.identifier">
217
                                <div class="col-lg-12"><b>PID</b> : {{ ids.identifier }}</div>
218
                                <div class="col-lg-12"><b>PID Type</b> : {{ ids.schema }}</div>
219
                            </div>
220
                        </div>
221
                        <div class="row">
222
                            <div class="col-lg-2">
223
                                <b>provenance (of this link): </b>
224
                            </div>
225
                            <div class="col-lg-8">
226
                                <table style="width: 100%">
227
                                    <thead>
228
                                    <tr>
229
                                        <th class="center-align" style="width: 20%">Date Of Collection</th>
230
                                        <th class="center-align" style="width: 20%">Datasource</th>
231
                                        <th class="center-align" style="width: 60%">Action</th>
232
                                    </tr>
233
                                    </thead>
234
                                    <tbody>
235
                                    <tr ng-repeat="d in rels.linkprovider">
236
                                        <td class="left-align">{{ d.collectionDate }}</td>
237
                                        <td class="left-align">{{ d.name }}</td>
238
                                        <td class="left-align">
239
                                            Relation collected from {{ d.name }}
240
                                        </td>
241
                                    </tr>
242
                                    </tbody>
243
                                </table>
244
                            </div>
245
                        </div>
246
                    </div>
247
                            <div class="row centered">
248
                            <div class="text-center">
249
                                <ul class="pagination centered">
250
                                    <li><a ng-click="prevPage('unknown')">&lt;</a></li>
251
                                    <li ><a ng-click="nextPage('unknown')">&gt;</a></li>
252
                                </ul>
253
                            </div>
254
                    </div>
255

    
256
                </div>
257
            </div>
258
        </div>
259
    </div>
260
</section>
261
<script>
262

    
263
</script>
(6-6/9)