-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
236 lines (204 loc) · 11.3 KB
/
index.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
<!DOCTYPE html>
<html lang="gr">
<head>
<meta charset="UTF-8">
<meta content="IE=edge" http-equiv="X-UA-Compatible">
<meta content="width=device-width, initial-scale=1" name="viewport">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<!-- No caching. Delete after development -->
<title>
BioTaxonomy
</title><!-- Bootstrap -->
<link href="plugins/bootstrap_7_col/css/bootstrap.min.css" rel=
"stylesheet">
<link href="favicon.ico" rel="shortcut icon">
<link href="favicon.ico" rel="icon">
<link href="plugins/bootstrap_7_col/css/custom.css" rel="stylesheet">
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body style="padding-top: 70px;">
<!-- Fixed navbar -->
<nav class="navbar navbar-default navbar-fixed-top">
<div class="container">
<div class="navbar-header">
<button class="navbar-toggle collapsed" data-target=
"#navbar" data-toggle="collapse" type="button"><span class=
"sr-only">Toggle navigation</span> <span class=
"icon-bar"></span> <span class="icon-bar"></span>
<span class="icon-bar"></span></button> <a class=
"navbar-brand" href="index.html"><img src=
'assets/biotaxonomy_logo_100px.png' style=
"height:30px;width:35px;"></a> <a class=
"navbar-brand hidden-xs" href="index.html">BioTaxonomy</a>
<form class="navbar-form collapsed navbar-right visible-xs"
onsubmit="return false">
<div class="input-group">
<input class="form-control" id="searchBoxMobile"
placeholder="Search" type="text">
<div class="input-group-btn">
<button class=
"btn btn-default glyphicon glyphicon-search"
onclick="searchTree();" style=
"font-style: italic"></button>
</div>
</div>
</form>
</div>
<div class="navbar-collapse collapse" id="navbar">
<ul class="nav navbar-nav navbar-right">
<li>
<form class=
"navbar-form collapsed navbar-right hidden-xs"
onsubmit="return false">
<div class="input-group">
<input class="form-control" id="searchBox"
placeholder="Search" type="text">
<div class="input-group-btn">
<button class=
"btn btn-default "
onclick="searchTree();" style=
"font-style: italic"><span class="glyphicon glyphicon-search"></span></button>
</div>
</div>
</form>
</li>
<li>
<a href="javascript:showAbout();"><span name="lbl" caption="about"></span></a>
</li>
<li>
<a href='#' onclick="javascript:changeLanguage('en');return false;">en</a></li><li><a href='#' onclick="javascript:changeLanguage('gr');return false;">gr</a>
</li>
</ul>
</div><!--/.nav-collapse -->
</div>
</nav>
<div class="container" >
<div class="row seven-cols text-center" id="tree_container">
<div class="col-sm-1" id="kingdom">
<div class="rankHead"><span name="lbl" caption="kingdom">Kingdom</span></div>
<div class="thumbnail clearfix"><img alt="Plant" class="img-rounded" src='data:image/png;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=' data-src=
" http://commons.wikimedia.org/wiki/Special:FilePath/Animal_diversity.png?width=150">
<div class="caption">
<p caption="Animal"><b><span name="lbl" caption="animal"></span></b></p>
<div class="btn-group">
<button name="lbl" caption="details" class="btn btn-info details"
data-target="#myModal" data-toggle="modal"
type="button">Details</button>
<button class="btn btn-default open" type=
"button"><span class=
"glyphicon glyphicon-menu-right"></span></button>
</div>
</div>
</div>
<div class="thumbnail clearfix">
<img alt="Plant" class="img-rounded" src='data:image/png;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=' data-src=
"http://commons.wikimedia.org/wiki/Special:FilePath/Diversity_of_plants_image_version_5.png?width=150">
<div class="caption">
<p caption="Plant"><b><span name="lbl" caption="plant"></span></b></p>
<div class="btn-group">
<button name="lbl" caption="details" class="btn btn-info details"
data-target="#myModal" data-toggle="modal"
type="button">Details</button>
<button class="btn btn-default open" type=
"button"><span class=
"glyphicon glyphicon-menu-right"></span></button>
</div>
</div>
</div>
</div>
<div class="col-sm-1 " id="phylum"><div class="rankHead"><span name="lbl" caption="phylum">Phylum</span><span class="counter"><span></div ></div>
<div class="col-sm-1 " id="class"><div class="rankHead"><span name="lbl" caption="class">Class</span><span class="counter"><span></div ></div>
<div class="col-sm-1 " id="order"><div class="rankHead"><span name="lbl" caption="order">Order</span><span class="counter"><span></div ></div>
<div class="col-sm-1 " id="family"><div class="rankHead"><span name="lbl" caption="family">Family</span><span class="counter"><span></div ></div>
<div class="col-sm-1 " id="genus"><div class="rankHead">
<span name="lbl" caption="genus">Genus</span><span class="counter"><span></div ></div>
<div class="col-sm-1 " id="species"><div class="rankHead"><span name="lbl" caption="species">Species</span><span class="counter"><span></div ></div>
</div>
</div>
<div class="modal fade" id="myModal">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header text-center">
<button class="close" data-dismiss="modal" type=
"button">×</button>
<h4 class="modal-title"></h4>
</div>
<div class="modal-body">
<div class="thumbnail" id="modalThumb">
<img src="">
<div class="caption"></div>
</div>
<p class="text-justify" id="modalSum"></p>
<p class="text-center">
<a class="btn btn-info article" href="#"><span name="lbl" caption="full_article"></span></a>
</p>
</div>
<div class="modal-footer">
<ul class="list-inline text-center" id="membersList">
</ul>
</div>
</div>
</div>
</div><!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<script >
if (!window.jQuery) {
document.write('<script src="plugins/jquery.min.js"><\/script >');
}
</script >
<script src="plugins/iscroll-lite.js"></script>
<script language="javascript" src="wikirank_data/rank0.json" type="text/javascript"></script>
<script language="javascript" src="wikirank_data/rank1.json" type="text/javascript"></script>
<script language="javascript" src="wikirank_data/rank2.json" type="text/javascript"></script>
<script language="javascript" src="wikirank_data/rank3.json" type="text/javascript"></script>
<script language="javascript" src="wikirank_data/rank4.json" type="text/javascript"></script>
<script language="javascript" src="wikirank_data/rank5.json" type="text/javascript"></script>
<script language="javascript" src="wikirank_data/rank6.json" type="text/javascript"></script>
<script language="javascript" src="wikirank_data/rank7.json" type="text/javascript"></script>
<script language="javascript" src="wikirank_data/rank8.json" type="text/javascript"></script>
<script language="javascript" src="wikirank_data/rank9.json" type="text/javascript"></script>
<script src="plugins/bootstrap_7_col/js/bootstrap.min.js"></script>
<script src="js/navigation.js"></script>
<script src="js/languages.js"></script>
<script src="js/queries.js"></script>
<script src="plugins/jquery.timer.js"></script>
<script src="plugins/jquery.unveil.js"></script>
<script src="js/tree.js"></script>
<script src="plugins/bootbox.min.js"></script>
<script>
var myScroll = new IScroll('#tree_container');
if (sessionStorage.getItem('treePage')!=undefined){
$('#tree_container').html(sessionStorage.getItem('treePage'));
}
if (sessionStorage.getItem('lang')!=undefined){
changeLanguage(sessionStorage.getItem('lang'));
}else{
changeLanguage('en');
sessionStorage.setItem('lang','en');
}
$(document).ajaxError(function(){
alert("An error occurred!");
});
$(function() {
$('button').prop('disabled', false);
});
$(function () {
var onLoadWidth = $(window).width();
ChangeDiv(onLoadWidth);
$(window).resize(function () {
var resizeWidth = $(window).width();
ChangeDiv(resizeWidth);
});
})
$(document).ready(function() {
$("img").unveil();
});
</script>
</body>
</html>