forked from OBOFoundry/OBOFoundry.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ontology_detail.html
312 lines (268 loc) · 9.7 KB
/
ontology_detail.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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
---
layout: default
---
{{ }}
{% include navbar.html %}
<div class="content">
<div>
<div class="page-header">
<h1>
{% if page.depicted_by %}
<img alt="logo" src="{{page.depicted_by}}"/>
{% endif %}
{{ page.title }}
<small>{{ page.tagline }}</small>
</h1>
<p>
{{page.description}}
</p>
{% if page.twitter %}
<iframe style="position: static; visibility: visible; width: 190px; height: 20px;"
data-twttr-rendered="true" title="Twitter Follow Button"
class="twitter-follow-button twitter-follow-button"
src="http://platform.twitter.com/widgets/follow_button.a64cf823bcb784855b86e2970134bd2a.en.html#_=1438577078419&dnt=false&id=twitter-widget-0&lang=en&screen_name={{page.twitter}}&show_count=true&show_screen_name=true&size=m"
allowtransparency="true" scrolling="no" id="twitter-widget-0" frameborder="0">
</iframe>
{% endif %}
{% if page.google_plus %}
<a href="https://plus.google.com/{{page.google_plus}}">G+</a>
{% endif %}
</div>
</div>
{% if page.is_obsolete %}
<div>
<div class="alert alert-danger" role="alert">
This ontology is deprecated!
</div>
{% for repl in page.replaced_by %}
<div class="alert alert-info" role="alert">
Consider using: <a href="{{repl}}.html">{{repl}}</a>
</div>
{% endfor %}
</div>
{% endif %}
<div class="col-md-12">
<div class="row">
<div class="col-md-8">
<!-- TODO: each ontology should configure which browsers to be exposed in -->
<a href="http://www.ontobee.org/browser/index.php?o={{page.id}}">
<button type="button" class="btn btn-default">OntoBee</button>
</a>
<a href="http://aber-owl.net/ontology/{{page.id | upcase}}">
<button type="button" class="btn btn-default">AberOWL</button>
</a>
<a href="http://www.ebi.ac.uk/ols/beta/ontologies/{{page.id}}">
<button type="button" class="btn btn-default">OLS</button>
</a>
{% for b in page.browsers %}
<a href="{{b.url}}">
<button type="button" class="btn btn-default">{{b.label}}</button>
</a>
{% endfor %}
{{ content }}
<div>
<h2>Products</h2>
<table class="table">
<tbody>
{% for p in page.products %}
<tr>
<td>
<a href="http://purl.obolibrary.org/obo/{{p.id}}">{{p.id}}</a>
</td>
<td>
{{p.title}}
</td>
<td>
{{p.description}}
{% if p.page %}
<a href="{{p.page}}"> [page]</a>
{% endif %}
</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
</div>
<div class="col-md-4">
<dl class="dl-horizontal" style="dd { margin-left: 0 }">
<dt>
ID Space
<span data-toggle="tooltip"
title="ID prefix"
html="true">
</span>
</dt>
<dd>
<a href="http://purl.obolibrary.org/obo/{{page.id}}/">{{page.id}}</a>
</dd>
<dt>PURL</dt>
<dd>
<a href="http://purl.obolibrary.org/obo/{{page.id}}.owl">http://purl.obolibrary.org/obo/{{page.id}}.owl</a>
</dd>
<dt>License</dt>
<dd>
{% if page.license %}
<a href="{{page.license.url}}">{{page.license.label}}</a>
{% if page.license.alert %}
<div class="alert alert-danger" role="alert">
<span class="glyphicon glyphicon-exclamation-sign" aria-hidden="true"></span>
<span class="sr-only">Warning:</span>
{{page.license.alert}}
</div>
{% endif %}
{% else %}
<div class="alert alert-danger" role="alert">
<span class="glyphicon glyphicon-exclamation-sign" aria-hidden="true"></span>
<span class="sr-only">Warning:</span>
Not entered
</div>
{% endif %}
</dd>
<dt>Homepage</dt>
<dd>
<a href="{{page.homepage}}">{{page.homepage}}</a>
</dd>
{% for p in page.page %}
<dd>
<a href="{{p}}">{{p}}</a>
</dd>
{% endfor %}
{% if page.biosharing %}
<dd>
<a href="{{page.biosharing}}">{{page.biosharing}}</a>
</dd>
{% endif %}
<dt>Contact</dt>
<dd>
<a href="mailto:{{page.contact.email}}">{{page.contact.label}}</a>
</dd>
<dt>Trackers</dt>
<dd>
<a href="{{page.tracker}}">{{page.tracker}}</a>
</dd>
<dt>Domain</dt>
<dd>
<a href="/domain/{{page.domain}}.html">{{page.domain}}</a>
</dd>
{% if page.termgenie %}
<dt>TermGenie</dt>
<dd>
<a href="{{page.termgenie}}">{{page.termgenie}}</a>
</dd>
{% endif %}
{% if page.taxon %}
<dt>Taxon</dt>
<dd>
<a href="http://amigo.geneontology.org/amigo/term/{{page.taxon.id}}">{{page.taxon.label}}</a>
</dd>
{% endif %}
{% if page.exampleClass %}
<dt>Example</dt>
<dd>
<a href="http://purl.obolibrary.org/obo/{{page.exampleClass}}">{{page.exampleClass}}</a>
</dd>
{% endif %}
{% if page.publications %}
<dt>Cite</dt>
{% for p in page.publications %}
<dd>
<small><a href="{{p.id}}">{{p.title}}</a></small>
</dd>
{% endfor %}
{% endif %}
{% if page.funded_by %}
<dt>Funding</dt>
{% for x in page.funded_by %}
<dd>
{{x}}
</dd>
{% endfor %}
{% endif %}
{% if page.used_by %}
<dt>Used by</dt>
{% for x in page.used_by %}
<dd>
<a href="{{x.url}}">{{x.label}}</a>
</dd>
{% endfor %}
{% endif %}
{% if page.dependencies %}
<dt>Dependencies</dt>
{% for x in page.dependencies %}
<dd>
<a href="{{x.id}}">{{x.id}}</a>
</dd>
{% endfor %}
{% endif %}
{% if page.jobs %}
<dt>Jobs</dt>
{% for p in page.jobs %}
<dd>
{% if p.type == "travis-cl" or p.id contains "travis" %}
<a href="{{p.id}}">
<img alt="Build Status" src="{{p.id}}.svg?branch=master"/>
</a>
{% else %}
<a href="{{p.id}}">{{p.type}}</a>
{% endif %}
</dd>
{% endfor %}
{% endif %}
</dl>
<div class="btn-group" role="group" aria-label="Source">
<a href="https://github.com/OBOFoundry/OBOFoundry.github.io/blob/master/ontology/{{page.id}}.md">
<button type="button"
data-toggle="tooltip"
title="See FAQ entry: How is metadata stored?"
html="true"
class="btn btn-default">
View
</button>
</a>
<a href="https://github.com/OBOFoundry/OBOFoundry.github.io/edit/master/ontology/{{page.id}}.md">
<button type="button"
data-toggle="tooltip"
title="See FAQ entry: How I do edit my metadata?"
html="true"
class="btn btn-default">
Edit</button>
</a>
<!-- <button type="button" class="btn btn-default">Help</button> -->
</div>
</div>
<div class="row">
<footer class="footer">
<div class="container">
<p class="text-muted">
Edit the metadata for this page: <a href="https://github.com/OBOFoundry/OBOFoundry.github.io/edit/master/ontology/{{page.id}}.md">{{page.id}}.md</a> (remember to make a fork and pull request!)
Place sticky footer content here.
</p>
</div>
</footer>
</div>
</div>
{% if page.comments %}
<div>
<div >
<h2>Comments Section</h2>
<p>Feel free to comment on the post but keep it clean and on topic.</p>
<div id="disqus_thread"></div>
<script type="text/javascript">
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
var disqus_shortname = '{{ site.comments.disqus.short_name }}';
/* * * DON'T EDIT BELOW THIS LINE * * */
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = 'http://' + disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
</script>
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
<a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>
</div>
</div>
{% endif %}
<!-- Twitter -->
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
</div>