This repository has been archived by the owner on Aug 17, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
institution.html
59 lines (53 loc) · 1.83 KB
/
institution.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<div ng-controller="InstitutionController">
<div ng-show="g.selected">
<div class="center">
<div>
<span class="policymaker_name">{{g.selected.title}}</span>
({{g.selected.policymaker_type}})
</div>
<div>Last Modified: {{g.selected.lastmod}}</div>
<div>
(<a href="{{g.selected.uri}}">roarmap url</a>)
(<a href="{{g.selected.policymaker_url}}">policy maker url</a>)
(<a href="{{g.selected.repository_url}}">repository url</a>)
(<a href="{{g.selected.policy_url}}">policy url</a>)
</div>
<div>compliance: {{g.selected.percentage|number:2}}%</div>
</div>
<div class="table-responsive"><table
class="table table-stripped table-condensed">
<tr>
<th>#</th>
<th>field</th>
<th>value</th>
<th>reason</th>
<th>caveats</th>
<th>guidelines</th>
<th>gmga</th>
</tr>
<!-- Note: g.selected.nexa contains evaluation of the H2020 compliance
rules developed by Nexa Center -->
<tr ng-repeat="entry in g.selected.nexa | orderBy:'field_id'"
class="compliant-{{entry.is_compliant}}">
<td>{{entry.field_id}}</td>
<td>{{entry.field}}</td>
<td>{{entry.value}}</td>
<td>{{entry.reason}}</td>
<td>{{entry.caveats}}</td>
<!-- Note: a possible improvement would be to open details in a
disposable div rather than in a new tab -->
<td>
<span ng-repeat="ref in entry.gmga">
<a href="/details.html#{{ref}}" target="_blank">[{{ref}}]</a>
</span>
</td>
<td>
<span ng-repeat="ref in entry.guidelines">
<a href="/details.html#{{ref}}" target="_blank">[{{ref}}]</a>
</span>
</td>
</td>
<tr>
</table></div>
</div>
</div>