Project

General

Profile

1
<style>
2
    td {
3
        padding-top: 0px;
4
        padding-bottom: 5px;
5

    
6
    }
7

    
8
    .tabs .tab {
9
        text-transform: none;
10

    
11
    }
12

    
13
    .title_about {
14
        font-size: 24px;
15
    }
16

    
17

    
18
</style>
19
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
20

    
21
<div class="row">
22
    <div class="col s12">
23

    
24
        <div class="card z-depth-2" style="padding-top: 10px">
25

    
26
            <div class="row">
27

    
28
                <div style="font-size: 1.60rem" class="left-align blue-text col l8 offset-l2"><i
29
                        ng-show="item.objectType=='dataset'" style="padding: 10px"
30
                        class="fa fa-database fa-2x blue-text circle responsive-img"></i><i
31
                        ng-show="item.objectType=='publication'" style="padding: 10px"
32
                        class="fa fa-book fa-2x blue-text circle responsive-img"></i><b><a href="{{ item.resolved_url }}">{{ item.title }}</a></b></div>
33

    
34
            </div>
35

    
36
            <div class="row" style="margin-bottom: 0px">
37
                <div class="col offset-l2 l8 ">
38
                    <table>
39
                        <tr style="margin-bottom: 0px">
40
                            <td style="width: 250px; padding-top: 0px"><b>Typology:</b></td>
41
                            <td style=" padding-top: 0px"> {{ item.objectType }}</td>
42
                        </tr>
43
                        <tr style="margin-bottom: 0px">
44
                            <td style=" padding-top: 0px"><b>Identifier:</b></td>
45
                            <td style=" padding-top: 0px"> {{ item.pid }}</td>
46
                        </tr>
47
                        <tr style="margin-bottom: 0px">
48
                            <td style=" padding-top: 0px"><b>Identifier type:</b></td>
49
                            <td style=" padding-top: 0px"> {{ item.pid_type }}</td>
50
                        </tr>
51
                        <tr>
52
                            <td class="valign-wrapper"><b>Author(s):</b></td>
53
                            <td class="green-text">
54
                                <f ng-repeat="a in item.authors">{{ a }},</f>
55
                            </td>
56
                        </tr>
57
                        <tr>
58
                            <td><b>Date:</b></td>
59
                            <td class="valign-wrapper green-text"> {{ item.date }}</td>
60
                        </tr>
61
                        <tr>
62
                            <td><b>provenance (of this object):</b></td>
63
                            <td class="valign-wrapper">
64
                                        <table>
65
                                            <thead>
66
                                            <tr>
67
                                                <th class="center-align">Date Of Collection</th>
68
                                                <th class="center-align">Datasource</th>
69
                                                <th class="center-align">Action</th>
70
                                            </tr>
71
                                            </thead>
72
                                            <tbody>
73
                                                <tr ng-repeat="d in item.provenance_record">
74
                                                    <td class="left-align">{{ d.collectionDate }}</td>
75
                                                    <td class="left-align">{{ d.name }} </td>
76
                                                    <td class="left-align">
77
                                                        <div ng-show="d.completionStatus==='complete' && d.provisionMode==='collected'"> Object PID collected from {{ d.name }}</div>
78
                                                        <div ng-show="d.completionStatus==='incomplete'">Object PID collected from {{ d.name }} </div>
79
                                                        <div ng-show="d.completionStatus==='complete' && d.provisionMode==='resolved'">Full-metadata record collected from {{ d.name }}</div>
80
                                                    </td>
81

    
82

    
83
                                                </tr>
84
                                            </tbody>
85
                                        </table>
86
                            </td>
87
                        </tr>
88

    
89
                    </table>
90
                </div>
91
            </div>
92

    
93
            <div class="row">
94
                <div class="col l9 offset-l2">
95
                    <ul class="tabs">
96
                        <li class="tab col s3 "><a href="#rel_data" class="active black-text title_about"><b>Link to Datasets</b></a></li>
97
                        <li class="tab col s3"><a class="black-text title_about" href="#rel_pubs"><b>Link to
98
                            Publications</b></a></li>
99
                        <li class="tab col s3"><a class="black-text title_about" href="#rel_other"><b>Other Links </b></a></li>
100

    
101
                    </ul>
102
                </div>
103

    
104

    
105
                <div id="rel_other" class="col  l8 offset-l2">
106

    
107
                    <div ng-repeat="rels in item.relations">
108

    
109
                        <div ng-hide="rels.relatedEntityType==='publication' || rels.relatedEntityType==='dataset' ">
110
                                <div class="row" style="margin-bottom: 0px">
111

    
112
                                    <div class="col l12"><a href="#/detail/{{ rels.relatedDnetId }}" class="blue-text"> <i
113
                                            style="padding: 10px"
114
                                            class="fa fa-question-circle fa-2x blue-text circle responsive-img"></i><b>Record metadata not available - Pid not resolved</b> </a></div>
115

    
116
                                    <div class="col l12 green-text">
117
                                        <f ng-repeat="a in rels.authors">{{ a }},</f>
118
                                    </div>
119
                                    <div class="col l12"><b>PID</b> : {{ rels.targetPID }}</div>
120
                                    <div class="col l12"><b>PID Type</b> : {{ rels.targetPIDType }}</div>
121
                                </div>
122
                                <div class="row valign-wrapper">
123
                                    <div class="col l4">
124
                                        <b>provenance (of this link): </b>
125
                                    </div>
126
                                    <div class="col l8" style="margin-left: 5px">
127
                                         <table>
128
                                            <thead>
129
                                            <tr>
130
                                                <th class="center-align">Date Of Collection</th>
131
                                                <th class="center-align">Datasource</th>
132
                                                <th class="center-align">Action</th>
133
                                            </tr>
134
                                            </thead>
135
                                            <tbody>
136
                                                <tr ng-repeat="d in item.provenance_record">
137
                                                    <td class="left-align">{{ d.collectionDate }}</td>
138
                                                    <td class="left-align">{{ d.name }} </td>
139
                                                    <td class="left-align">
140
                                                        <div ng-show="d.provisionMode==='system_deducted'"> Typology of target object derived by the system</div>
141
                                                        <div ng-hide="d.provisionMode==='system_deducted'">Relation collected
142
                                                            from {{ d.name }} </div>
143

    
144
                                                    </td>
145

    
146

    
147
                                                </tr>
148
                                            </tbody>
149
                                        </table>
150
                                    </div>
151

    
152

    
153
                                </div>
154
                        </div>
155

    
156
                    </div>
157
                </div>
158
                <div id="rel_data" class="col  l8 offset-l2">
159

    
160

    
161
                    <div ng-repeat="rels in item.relations">
162
                        <div ng-show="rels.relatedEntityType=='dataset'">
163
                            <div class="row" style="margin-bottom: 0px">
164

    
165
                                <div class="col l12"><a href="#/detail/{{ rels.relatedDnetId }}" class="blue-text"> <i
166
                                        style="padding: 10px"
167
                                        class="fa fa-database fa-2x blue-text circle responsive-img"></i><b>{{
168
                                    rels.related_title }}</b> </a></div>
169

    
170
                                <div class="col l12 green-text">
171
                                    <f ng-repeat="a in rels.authors">{{ a }},</f>
172
                                </div>
173
                                <div class="col l12"><b>PID</b> : {{ rels.targetPID }}</div>
174
                                <div class="col l12"><b>PID Type</b> : {{ rels.targetPIDType }}</div>
175
                            </div>
176
                            <div class="row valign-wrapper">
177
                                <div class="col l3">
178
                                    <b>provenance (of this link): </b>
179
                                </div>
180
                                <div class="col l8">
181
                                    <table>
182
                                            <thead>
183
                                            <tr>
184
                                                <th class="center-align">Date Of Collection</th>
185
                                                <th class="center-align">Datasource</th>
186
                                                <th class="center-align">Action</th>
187
                                            </tr>
188
                                            </thead>
189
                                            <tbody>
190
                                                <tr ng-repeat="d in item.provenance_record">
191
                                                    <td class="left-align">{{ d.collectionDate }}</td>
192
                                                    <td class="left-align">{{ d.name }} </td>
193
                                                    <td class="left-align">
194
                                                        <div ng-show="d.provisionMode==='system_deducted'"> Typology of target object derived by the system</div>
195
                                                        <div ng-hide="d.provisionMode==='system_deducted'">Relation collected
196
                                                            from {{ d.name }} </div>
197

    
198
                                                    </td>
199

    
200

    
201
                                                </tr>
202
                                            </tbody>
203
                                        </table>
204

    
205
                                </div>
206

    
207

    
208
                            </div>
209
                        </div>
210
                    </div>
211

    
212

    
213
                </div>
214
                <div id="rel_pubs" class="col  l8 offset-l2">
215

    
216
                    <div ng-repeat="rels in item.relations">
217

    
218
                        <div ng-show="rels.relatedEntityType==='publication'">
219
                            <div class="row" style="margin-bottom: 0px">
220

    
221
                                <div class="col l12"><a href="#/detail/{{ rels.relatedDnetId }}" class="blue-text"> <i style="padding: 10px"
222
                                                                                      class="fa fa-book fa-2x blue-text circle responsive-img"></i><b>{{
223
                                    rels.related_title }}</b> </a></div>
224

    
225
                                <div class="col l12 green-text">
226
                                    <f ng-repeat="a in rels.authors">{{ a }},</f>
227
                                </div>
228
                                <div class="col l12"><b>PID</b> : {{ rels.targetPID }}</div>
229
                                <div class="col l12"><b>PID Type</b> : {{ rels.targetPIDType }}</div>
230
                            </div>
231
                            <div class="row valign-wrapper">
232
                                <div class="col l3">
233
                                    <b>provenance (of this link): </b>
234
                                </div>
235
                                <div class="col l8">
236
                                    <table>
237
                                            <thead>
238
                                            <tr>
239
                                                <th class="center-align">Date Of Collection</th>
240
                                                <th class="center-align">Datasource</th>
241
                                                <th class="center-align">Action</th>
242
                                            </tr>
243
                                            </thead>
244
                                            <tbody>
245
                                                <tr ng-repeat="d in item.provenance_record">
246
                                                    <td class="left-align">{{ d.collectionDate }}</td>
247
                                                    <td class="left-align">{{ d.name }} </td>
248
                                                    <td class="left-align">
249
                                                        <div ng-show="d.provisionMode==='system_deducted'"> Typology of target object derived by the system</div>
250
                                                        <div ng-hide="d.provisionMode==='system_deducted'">Relation collected
251
                                                            from {{ d.name }} </div>
252

    
253
                                                    </td>
254

    
255

    
256
                                                </tr>
257
                                            </tbody>
258
                                        </table>
259

    
260
                                </div>
261

    
262

    
263

    
264

    
265
                            </div>
266
                        </div>
267
                    </div>
268

    
269
                </div>
270

    
271

    
272
            </div>
273
        </div>
274

    
275
    </div>
276

    
277

    
278
    <script>
279
        $(document).ready(function () {
280
            $('ul.tabs').tabs();
281

    
282
        });
283

    
284
    </script>
285
</div>
(4-4/7)