Newer
Older
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
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Taxonomy Browser</title>
<!--
NOTE: "Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 3"
-->
<script src="//code.jquery.com/jquery-1.12.4.min.js"></script>
<script src="//code.jquery.com/ui/1.12.1/jquery-ui.min.js"></script>
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">
<script src="//netdna.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
<script type="text/javascript">
// Fix BBQ for jQuery >= 1.9 (see https://github.com/cowboy/jquery-bbq/pull/42)
if( !$.browser ) {
console.warn("Monkey-patching jQuery.browser.msie to get BBQ working");
var ua = navigator.userAgent.toLowerCase();
$.browser = { msie: /msie/.test(ua) && !/opera/.test(ua) };
}
</script>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery.ba-bbq/1.2.1/jquery.ba-bbq.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/handlebars.js/4.0.5/handlebars.min.js"></script>
<!--
<link href="//cdn.jsdelivr.net/jquery.truncate/0.1/jquery.truncate.min.js"
rel="stylesheet">
<script src="https://rawgit.com/tbasse/jquery-truncate/master/jquery.truncate.js"
type="text/javascript"></script>
-->
<link href="//cdn.jsdelivr.net/jquery.fancytree/2/skin-bootstrap/ui.fancytree.min.css"
rel="stylesheet">
<!--
<link href="../../src/skin-bootstrap/ui.fancytree.css"
rel="stylesheet">
-->
<script src="//cdn.jsdelivr.net/jquery.fancytree/2/jquery.fancytree-all.min.js"></script>
<!--
<script src="../../src/jquery.fancytree.js"></script>
<script src="../../src/jquery.fancytree.edit.js"></script>
<script src="../../src/jquery.fancytree.filter.js"></script>
<script src="../../src/jquery.fancytree.glyph.js"></script>
<script src="../../src/jquery.fancytree.table.js"></script>
<script src="../../src/jquery.fancytree.wide.js"></script>
-->
<link href="style.css" rel="stylesheet">
<script src="taxonomy-browser.js"></script>
</head>
<body>
<div class="page-header">
<h1>Taxonomy Browser
<!--
<small><a href="http://wwwendt.de/tech/fancytree/demo/taxonomy-browser/">home</a></small>
-->
</h1>
</div>
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">Search <acronym title="Global Biodiversity Information Facility">GBIF</acronym></h3>
</div>
<div class="panel-body hidden-print">
<input type="text" name="query" id="query"
autocorrect="off" autocomplete="off"
placeholder="Enter Search Phrase">
<button id="btnResetSearch" class="btn btn-default btn-sm">×</button>
<button id="btnSearch" class="btn btn-default btn-sm">Search</button>
<div class="collapse" id="searchResultPane">
<table id="searchResultTree"
class="table table-striped table-hover table-condensed table-bordered">
<colgroup>
<col width="10em"></col>
<col width="10em"></col>
<col width="*"></col>
<col width="30em"></col>
<col width="30em"></col>
<col width="30em"></col>
<col width="30em"></col>
<col width="30em"></col>
<col width="10em"></col>
<col width="10em"></col>
<col width="30em"></col>
<col width="30em"></col>
</colgroup>
<thead>
<tr>
<th class="visible-lg">Key</th>
<th class="hidden-xs">Rank</th>
<th>Scientific Name</th>
<th class="hidden-xs hidden-sm">Vernacular Names</th>
<th class="hidden-xs hidden-sm">Canonical Name</th>
<th class="visible-lg">According to</th>
<th class="hidden-xs">Status</th>
<th class="hidden-xs">Name Type</th>
<th class="hidden-xs"># Occur.</th>
<th class="hidden-xs"># Desc.</th>
<th class="visible-lg">Author</th>
<th class="visible-lg">Published in</th>
<!--
canonicalName
accordingTo
extinct
numDescendants
numOccurrences
publishedIn
synonym
-->
</tr>
</thead>
<tbody>
<tr>
<td class="visible-lg"/>
<td class="hidden-xs" />
<td/>
<td class="hidden-xs hidden-sm" />
<td class="hidden-xs hidden-sm" />
<td class="visible-lg" />
<td class="hidden-xs" />
<td class="hidden-xs" />
<td class="hidden-xs" />
<td class="hidden-xs" />
<td class="visible-lg" />
<td class="visible-lg" />
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div class="row">
<div class="col-md-4">
<div class="btn-group">
<button id="btnPin" class="btn btn-default btn-xs">Pin</button>
<button id="btnUnpin" class="btn btn-default btn-xs">Unpin</button>
</div>
<div id="taxonTree" class="fancytree-fade-expander">
</div>
</div>
<div class="col-md-8">
<!-- Breadcrumb -->
<ol class="breadcrumb">
<li class="active">Please select an element.</li>
</ol>
<span id="tmplInfoPane">
</span>
</div>
</div>
<div class="panel panel-warning">
<div class="panel-heading">
Disclaimer
</div>
<div class="panel-body">
<p>
This site accesses data from external sources, namely the
<a href="http://www.gbif.org/">Global Biodiversity Information Facility (GBIF)</a> database.
There is no guarantee, that the display is correct, complete, or
permanently available. Please refer to those original sources for
authorative information.
</p>
<p>
Copyright © 2015 Martin Wendt. Created as a demo for
<a href="https://github.com/mar10/fancytree">Fancytree</a>.
</p>
</div>
</div>
</body>
</html>