forked from OBOFoundry/OBOFoundry.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ontology_table.html
127 lines (120 loc) · 4.02 KB
/
ontology_table.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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
Download table as: [ <a href="/registry/ontologies.yml">YAML</a> | <a href="/registry/ontologies.jsonld">JSON-LD</a> | <a href="/registry/ontologies.ttl">RDF/Turtle</a> ]
<table class="table">
<tbody>
{% for ont in site.ontologies %}
{% if ont.in_foundry_order %}
<tr class="foundry">
{% elsif ont.is_obsolete %}
<tr class="obsolete">
{% elsif ont.activity_status == "orphaned" %}
<tr class="obsolete">
{% elsif ont.activity_status == "inactive" %}
<tr class="obsolete">
{% endif %}
<td>
<a href="ontology/{{ ont.id }}.html" >
{% if ont.is_obsolete %}
<s>
{{ ont.id }}
</s>
{% else %}
{{ ont.id }}
{% endif %}
</a>
</td>
<td>
{% if ont.is_obsolete %}
<s>
{{ ont.title }}
</s>
{% else %}
{{ ont.title }}
{% endif %}
{% if ont.license %}
<a href="{{ont.license.url}}"><img width="100px" src="{{ont.license.logo}}" alt="{{ont.license.label}}"/></a>
{% endif %}
</td>
<td>
{% if ont.is_obsolete %}
<s>
{{ ont.description }}
</s>
<mark>obsolete</mark>
{% elsif ont.activity_status == "inactive" %}
{{ ont.description }}
<mark>inactive</mark>
{% else %}
{{ ont.description }}
{% endif %}
<small>
<a href="ontology/{{ ont.id }}.html" > Detail </a>
</small>
</td>
<td>
<a href="ontology/{{ont.id}}.html">
<button type="button" class="btn btn-default" aria-label="Left Align" title="More details">
<span class="glyphicon glyphicon-info-sign" aria-hidden="true"></span>
</button>
</a>
</td>
<td>
<a href="{{ont.homepage}}">
<button type="button" class="btn btn-default" aria-label="Left Align" title="Project home">
<span class="glyphicon glyphicon-home" aria-hidden="true"></span>
</button>
</a>
</td>
<td>
{% if ont.tracker %}
<a href="{{ont.tracker}}">
<button type="button" class="btn btn-default" aria-label="Left Align" title="Tracker">
<span class="glyphicon glyphicon-comment" aria-hidden="true"></span>
</button>
</a>
{% endif %}
</td>
<td>
{% if ont.contact %}
<a href="mailto:{{ont.contact.email}}">
<button type="button" class="btn btn-default" aria-label="Left Align" title="Email ontology devs">
<span class="glyphicon glyphicon-envelope" aria-hidden="true"></span>
</button>
</a>
{% endif %}
</td>
<td>
<a href="http://purl.obolibrary.org/obo/{{ont.id}}.owl">
<button type="button" class="btn btn-default" aria-label="Left Align" title="Download file">
<span class="glyphicon glyphicon-download" aria-hidden="true"></span>
</button>
</a>
</td>
<td>
<a href="http://www.ontobee.org/browser/index.php?o={{ont.id}}">
<button type="button" class="btn btn-default" aria-label="Left Align" title="Browse on Ontobee">
<span class="glyphicon glyphicon-eye-open" aria-hidden="true"></span>
</button>
</a>
</td>
<td>
{% if ont.publications %}
<a href="{{ont.publications.first.id}}">
<button type="button" class="btn btn-default" aria-label="Left Align" title="Publications list">
<span class="glyphicon glyphicon-book" aria-hidden="true"></span>
</button>
</a>
{% endif %}
</td>
<td>
{% if ont.in_foundry_order %}
<a href="/principles/fp-000-summary.html">
<button type="button" class="btn btn-default" aria-label="Left Align">
<span class="glyphicon glyphicon-star" aria-hidden="true"></span>
</button>
</a>
{% endif %}
</td>
</tr>
{% endfor %}
</tbody>
</table>