-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
212 lines (197 loc) · 14.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
<!DOCTYPE html>
<html>
<head>
<title>SSAR North American Species Names Database</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta charset="UTF-8"/>
<meta name="theme-color" content="#445e14"/>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" type="text/css" media="screen" href="css/main.min.css"/>
<link rel="stylesheet" type="text/css" href="bower_components/octicons/octicons/octicons.css"/>
<link href="https://fonts.googleapis.com/css?family=Droid+Sans:400,700|Droid+Sans+Mono|Roboto:400,100,300,500,700,100italic,300italic,400italic,500italic,700italic" rel='stylesheet' type='text/css'/>
<link rel="icon" type="image/png" sizes="16x16" href="assets/favicon16.png" />
<link rel="icon" type="image/png" sizes="32x32" href="assets/favicon32.png" />
<link rel="icon" type="image/png" sizes="64x64" href="assets/favicon64.png" />
<link rel="icon" type="image/png" sizes="128x128" href="assets/favicon128.png" />
<link rel="icon" type="image/png" sizes="256x254" href="assets/favicon256.png" />
<link rel="icon" type="image/png" sizes="512x512" href="assets/favicon512.png" />
<link rel="icon" type="image/png" sizes="1024x1024" href="assets/favicon1024.png" />
<link rel="icon" type="image/svg+xml" href="assets/logo.svg" />
<link rel="manifest" href="/manifest.json" />
<script src="bower_components/webcomponentsjs/webcomponents-lite.min.js"></script>
<link rel="import" href="bower_components/polymer/polymer.html"/>
<link rel="import" href="bower_components/font-roboto/roboto.html"/>
<link rel="import" href="bower_components/iron-icons/iron-icons.html"/>
<link rel="import" href="bower_components/iron-icons/image-icons.html"/>
<link rel="import" href="bower_components/iron-icons/social-icons.html"/>
<link rel="import" href="bower_components/iron-icons/communication-icons.html"/>
<link rel="import" href="bower_components/iron-icons/maps-icons.html"/>
<link rel="import" href="bower_components/paper-toggle-button/paper-toggle-button.html"/>
<link rel="import" href="bower_components/paper-toast/paper-toast.html"/>
<link rel="import" href="bower_components/paper-input/paper-input.html"/>
<link rel="import" href="bower_components/paper-spinner/paper-spinner.html"/>
<link rel="import" href="bower_components/paper-menu/paper-menu.html"/>
<link rel="import" href="bower_components/paper-menu-button/paper-menu-button.html"/>
<link rel="import" href="bower_components/paper-dialog/paper-dialog.html"/>
<link rel="import" href="bower_components/paper-dialog-scrollable/paper-dialog-scrollable.html"/>
<link rel="import" href="bower_components/paper-button/paper-button.html"/>
<link rel="import" href="bower_components/paper-radio-button/paper-radio-button.html"/>
<link rel="import" href="bower_components/paper-radio-group/paper-radio-group.html"/>
<link rel="import" href="bower_components/paper-icon-button/paper-icon-button.html"/>
<link rel="import" href="bower_components/paper-fab/paper-fab.html"/>
<link rel="import" href="bower_components/paper-item/paper-item.html"/>
<link rel="import" href="bower_components/neon-animation/neon-animation.html"/>
<link rel="import" href="polymer-elements/copyright-statement.html"/>
<link rel="import" href="polymer-elements/glyphicon-social-icons.html"/>
<script type="text/javascript">
(function(){var p=[],w=window,d=document,e=f=0;p.push('ua='+encodeURIComponent(navigator.userAgent));e|=w.ActiveXObject?1:0;e|=w.opera?2:0;e|=w.chrome?4:0;
e|='getBoxObjectFor' in d || 'mozInnerScreenX' in w?8:0;e|=('WebKitCSSMatrix' in w||'WebKitPoint' in w||'webkitStorageInfo' in w||'webkitURL' in w)?16:0;
e|=(e&16&&({}.toString).toString().indexOf("\n")===-1)?32:0;p.push('e='+e);f|='sandbox' in d.createElement('iframe')?1:0;f|='WebSocket' in w?2:0;
f|=w.Worker?4:0;f|=w.applicationCache?8:0;f|=w.history && history.pushState?16:0;f|=d.documentElement.webkitRequestFullScreen?32:0;f|='FileReader' in w?64:0;
p.push('f='+f);p.push('r='+Math.random().toString(36).substring(7));p.push('w='+screen.width);p.push('h='+screen.height);var s=d.createElement('script');
s.src='//ssarherps.org/cndb/bower_components/whichbrowser/detect.php?' + p.join('&');d.getElementsByTagName('head')[0].appendChild(s);})();
/*window.onerror = function(e) {
console.warn("Error thrown: "+e);
return true;
}*/
</script>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<script type="text/javascript" src="bower_components/bootstrap/dist/js/bootstrap.min.js"></script>
<script type="text/javascript" src="js/purl.min.js"></script>
<script type="text/javascript" src="js/xmlToJSON.min.js"></script>
<script type="text/javascript" src="bower_components/js-base64/base64.min.js"></script>
<script type="text/javascript" src="bower_components/picturefill/dist/picturefill.min.js"></script>
<script src="bower_components/imagelightbox/dist/imagelightbox.min.js"></script>
<script src="bower_components/markdown/lib/markdown.js"></script>
<script type="text/javascript" src="js/c.min.js"></script>
<!-- Meta descriptors -->
<!-- Twitter cards -->
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="@ssarherps">
<meta name="twitter:creator" content="@ssarherps">
<meta name="twitter:title" content="SSAR North American Species Names Database">
<meta name="twitter:description" content="The Society for the Study of Amphibians and Reptiles's searchable database of North American reptiles and amphibians. Species accounts, photos, geolocation, and more.">
<meta property="twitter:image" content="https://ssarherps.org/cndb/assets/favicon1024.png" />
<meta property="twitter:image:width" content="1024"/>
<meta property="twitter:image:height" content="1024"/>
<!-- Facebook OG tags -->
<meta property="og:title"
content="SSAR North American Species Names Database" />
<meta property="og:site_name" content="Society for the Study of Amphibians and Reptiles"/>
<meta property="og:url"
content="https://ssarherps.org/cndb/" />
<meta property="og:image" content="https://ssarherps.org/cndb/assets/favicon1024.png" />
<meta property="og:image:width" content="1024"/>
<meta property="og:image:height" content="1024"/>
<meta property="og:description" content="The Society for the Study of Amphibians and Reptiles's searchable database of North American reptiles and amphibians. Species accounts, photos, geolocation, and more."/>
<!-- Schema.org -->
<script type="application/ld+json">
{ "@context" : "http://schema.org",
"@type" : "Organization",
"name" : "SSAR North American Species Names Database",
"url" : "https://ssarherps.org/cndb/",
"logo" : "https://ssarherps.org/cndb/assets/favicon1024.png",
"image" : "https://ssarherps.org/wp-content/uploads/2015/03/Pseudacris_crucifer-1425x460.jpg",
"description" : "The Society for the Study of Amphibians and Reptiles's searchable database of North American reptiles and amphibians. Species accounts, photos, geolocation, and more."
}
</script>
</head>
<body class="container-fluid">
<h1 id="title">
<span class="hidden-xs"><a href="https://ssarherps.org" class="newwindow"><img src="assets/logo.svg" alt="SSAR logo" id="title-logo"/></a></span>
SSAR <span class="hidden-xs hidden-sm">North American</span><span class="visible-xs-inline visible-sm-inline">N.A.</span> Species <span class="hidden-xs hidden-sm">Names</span> Database
</h1>
<form id="search_form" onsubmit="event.preventDefault()">
<div class="row">
<paper-input label="Search" id="search" name="search" required autofocus floatingLabel class="col-xs-7 col-sm-9"></paper-input>
<div class="col-xs-5 col-sm-3">
<paper-fab id="do-search" icon="search" raisedButton class="materialblue"></paper-fab>
<paper-fab id="do-search-all" icon="list" raisedButton class="materialblue hidden-xs" data-toggle="tooltip" title="Show all results" data-placement="bottom"></paper-fab>
<paper-fab id="do-reset-search" icon="cancel" raisedButton class="materialblue" data-toggle="tooltip" title="Reset search" data-placement="right"></paper-fab>
</div>
</div>
<fieldset class="fullwidth">
<legend>Options</legend>
<div class="row">
<div class="col-md-4 col-xs-6">
<label for="loose">Loose</label> <paper-icon-button icon="info-outline" data-toggle="tooltip" title="Check this to do a partial-string search, rather than a strict exact match."></paper-icon-button>
<paper-toggle-button id="loose"></paper-toggle-button>
</div>
<div class="col-md-4 col-xs-6">
<label for="fuzzy">Fuzzy</label> <paper-icon-button icon="info-outline" data-toggle="tooltip" title="Check this to do a 'close match' search. Check this if you're unsure of your spelling or only have part of the name, for example."></paper-icon-button>
<paper-toggle-button id="fuzzy"></paper-toggle-button>
</div>
<div class="col-md-4 col-sm-6 col-xs-12">
<!-- This is a filter column. We need a radio button for
AND/OR, and then to walk through the filters and append the object to the query. -->
<label for="type" class="sr-only">Clade Restriction</label>
<paper-menu-button>
<paper-button class="dropdown-trigger"><iron-icon icon="icons:filter-list"></iron-icon><span id="filter-what" class="dropdown-label"></span></paper-button>
<paper-menu label="Group" data-column="linnean_order" class="cndb-filter dropdown-content" id="linnean-order" name="type" attrForSelected="data-type" selected="0">
<paper-item data-type="any">All</paper-item>
<paper-item data-type="squamata">Non-Snake Lizards</paper-item>
<paper-item data-type="serpentes">Snakes</paper-item>
<paper-item data-type="testudines">Turtles</paper-item>
<paper-item data-type="crocodilia">Crocodiles & Alligators</paper-item>
<paper-item data-type="caudata">Salamanders</paper-item>
<paper-item data-type="anura">Frogs</paper-item>
<paper-item data-type="gymnophiona">Caecilians</paper-item>
<!-- As per flag 4 in readme -->
</paper-menu>
</paper-menu-button>
</div>
</div>
<div>
<!-- Now, elements that are hidden by default -->
<paper-button data-toggle="collapse" data-target="#collapse-advanced" aria-expanded="false" aria-controls="collapse-advanced" class="materialbluegrey" id="collapse-button" raised>Advanced Options <iron-icon icon="icons:unfold-more" id="collapse-icon"></iron-icon></paper-button>
<div class="collapse form-group" id="collapse-advanced">
<!-- Clade -->
<paper-input label="Clade" id="major-type-filter" name="major-type-filter" class="cndb-filter col-md-4 col-xs-6" data-column="major_type"></paper-input>
<!-- Subtype -->
<paper-input label="Subtype" id="major-subtype-filter" name="major-subtype-filter" class="cndb-filter col-md-4 col-xs-6" data-column="major_subtype"></paper-input>
<!-- Family -->
<paper-input label="Minor Type / Family" id="minor-type-filter" name="minor-type-filter" class="cndb-filter col-md-4 col-xs-6" data-column="minor_type"></paper-input>
<!-- Genus authority -->
<paper-input label="Genus Authority" id="genus-authority-filter" name="species-authority-filter" class="cndb-filter col-md-4 col-xs-6" data-column="genus_authority"></paper-input>
<!-- Species authority -->
<paper-input label="Species Authority" id="species-authority-filter" name="species-authority-filter" class="cndb-filter col-md-4 col-xs-6" data-column="species_authority"></paper-input>
<br/>
<div>
<label for="alien-filter" class="sr-only">Alien Species</label>
<paper-radio-group id="alien-filter" selected="both">
<paper-radio-button name="both" id="radio-both">Show both alien and native species</paper-radio-button>
<paper-radio-button name="native-only" id="radio-native">Show only native species</paper-radio-button>
<paper-radio-button name="alien-only" id="radio-alien">Show only alien species</paper-radio-button>
</paper-radio-group>
</div>
</div>
</div>
</fieldset>
<input type="submit" style="display:none;" value="Search"/>
</form>
<paper-toast id="search-status"></paper-toast>
<br/>
<h2>Results<span id="result-count"></span></h2>
<p>Click on an entry for more information.</p>
<div id="result_container" class="table-responsive row">
<div class="bs-callout bs-callout-info center-block col-xs-12 col-sm-8 col-md-5">
Search for a common or scientific name above to begin, eg, "California slender salamander" or "<span class="sciname">Batrachoseps attenuatus</span>"
</div>
</div>
<footer class="row hidden-xs">
<div class="col-lg-7 col-sm-6">
<copyright-statement copyrightStart="2015">Society for the Study of Amphibians and Reptiles</copyright-statement>
</div>
<div class="col-sm-2" id="git-footer">
<paper-icon-button icon="icons:cloud-download" class="click" data-function="showDownloadChooser" data-toggle="tooltip" title="Download the complete list (HTML or CSV)"></paper-icon-button>
<paper-icon-button icon="glyphicon-social:github" class="click" data-url="https://github.com/SSARHERPS/SSAR-species-database" data-toggle="tooltip" title="Visit us on GitHub"></paper-icon-button>
</div>
<div class="col-lg-1 col-sm-2" id="bug-footer">
<paper-icon-button icon="icons:bug-report" class="click" data-url="https://github.com/SSARHERPS/SSAR-species-database/issues/new" data-toggle="tooltip" title="Report a bug"></paper-icon-button>
</div>
<div class="col-sm-2" id="polymer-footer">
Written with <paper-icon-button icon="icons:polymer" class="click" data-url="https://www.polymer-project.org"></paper-icon-button>
</div>
</footer>
</body>
</html>