-
Notifications
You must be signed in to change notification settings - Fork 0
/
morphologyFilter.html
206 lines (190 loc) · 10.6 KB
/
morphologyFilter.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Leaf Morphology</title>
<link rel="shortcut icon" href="img/favicon.ico" />
<link href="bootstrap-3.3.7/dist/css/bootstrap.min.css" rel="stylesheet">
<link href="font-awesome-4.7.0/css/font-awesome.css" rel="stylesheet">
<link href="styles/w3.css" rel="stylesheet">
<link href="styles/bootstrap-toggle.min.css" rel="stylesheet">
<link href="styles/myStyle.css" rel="stylesheet">
<script src="script/jquery-3.2.1.min.js"></script>
<script src="bootstrap-3.3.7/dist/js/bootstrap.min.js"></script>
<script src="script/bootstrap-toggle.min.js"></script>
<script src='script/taffy.js'></script>
<script src='script/underscore-min.js'></script>
<script src='script/autosize.js'></script>
</head>
<body>
<!-- Nav Bar -->
<nav class="navbar navbar-inverse navbar-fixed-top w3-green">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#myNavbar">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a ><h1>Leaf Morphology</h1></a>
</div>
<div>
<div class="collapse navbar-collapse" id="myNavbar">
<ul class="nav navbar-nav">
<li><a href="addObservation.html" class="w3-text-white">Add Observation <i class="fa fa-plus-circle"></i></a></li>
<li><a href="javascript:void(0)" data-toggle="modal" data-target="#importJsonModal" class="w3-text-white">Import JSON <i class="fa fa-database"></i></a></li>
<li class="dropdown"><a class="dropdown-toggle w3-text-white" data-toggle="dropdown" href="#">info <i class="fa fa-info-circle"></i><span class="caret"></span></a>
<ul class="dropdown-menu w3-text-white">
<li><button type="button" class="btn btn-info btn-lg" data-toggle="modal" data-target="#morphologyInstructions">Instructions</button></li>
<li><a href="http://mezcel.wixsite.com/plantmorphology" target="_blank">Wiki</a></li>
<li><a href="http://mezcel.wixsite.com/plantmorphology/dendrology" target="_blank">Leaf Observations</a></li>
<li><a href="http://mezcel.wixsite.com/plantmorphology/herbaruim-database" target="_blank" >Herbarium</a></li>
<li><a href="http://www.github.com/mezcel/plantid-Bootstrap" target="_blank" class="w3-white">Github</a></li>
</ul>
</li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li><a href="" class="myhomelink w3-text-white"><i class="fa fa-home"></i></a></li>
</ul>
</div>
</div>
</div>
</nav>
<!-- Main Body -->
<div id='dropDownDivs' class="morphDiv">
<div class='row rowLine'>
<div class='col-sm-12'><h3>Native (South Georgia / North Florida) Plant Leaves</h3></div>
</div>
<div class='row rowLine'>
<div class='col-sm-6'>
<div class='row rowLine'>
<div class='col-sm-3'><h4>Arrangement:</h4></div>
<div class="checkbox">
<select id='dbxleafArrangement' name='dbxleafArrangement'></select>
<label><input id="ckbleafArrangement" type="checkbox" data-toggle="toggle"></label>
<button class="w3-btn w3-round w3-border w3-border-green" id="valueleafArrangement"></button>
</div>
</div>
<div class='row rowLine'>
<div class='col-sm-3'><h4>Structure:</h4></div>
<div class="checkbox">
<select id='dbxleafStructure' name='dbxleafStructure'></select>
<label><input id="ckbleafStructure" type="checkbox" data-toggle="toggle"></label>
<button class="w3-btn w3-round w3-border w3-border-green" id="valueleafStructure"></button>
</div>
</div>
<div class='row rowLine'>
<div class='col-sm-3'><h4>Margin:</h4></div>
<div class="checkbox">
<select id='dbxleafMargin' name='dbxleafMargin'></select>
<label><input id="ckbleafMargin" type="checkbox" data-toggle="toggle"></label>
<button class="w3-btn w3-round w3-border w3-border-green" id="valueleafMargin"></button>
</div>
</div>
<div class='row rowLine'>
<div class='col-sm-3'><h4>Attachment:</h4></div>
<div class="checkbox">
<select id='dbxleafAttachment' name='dbxleafAttachment'></select>
<label><input id="ckbleafAttachment" type="checkbox" data-toggle="toggle"></label>
<button class="w3-btn w3-round w3-border w3-border-green" id="valueleafAttachment"></button>
</div>
</div>
<div class='row rowLine'>
<div class='col-sm-3'><h4>Shape:</h4></div>
<div class="checkbox">
<select id='dbxleafShape' name='dbxleafShape'></select>
<label><input id="ckbleafShape" type="checkbox" data-toggle="toggle"></label>
<button class="w3-btn w3-round w3-border w3-border-green" id="valueleafShape"></button>
</div>
</div>
<div class='row rowLine'>
<div class='col-sm-3'><h4>Surface (Top):</h4></div>
<div class="checkbox">
<select id='dbxleafSurface' name='dbxleafSurface'></select>
<label><input id="ckbleafSurface" type="checkbox" data-toggle="toggle"></label>
<button class="w3-btn w3-round w3-border w3-border-green" id="valueleafSurface"></button>
</div>
</div>
<div class='row rowLine'>
<div class='col-sm-3'><h4>Venation:</h4></div>
<div class="checkbox">
<select id='dbxleafVenation' name='dbxleafVenation'></select>
<label><input id="ckbleafVenation" type="checkbox" data-toggle="toggle"></label>
<button class="w3-btn w3-round w3-border w3-border-green" id="valueleafVenation"></button>
</div>
</div>
<div class='row'>
<div class='col-sm-3'><h4>Hairs (Top):</h4></div>
<div class="checkbox">
<select id='dbxleafHairs' name='dbxleafHairs'></select>
<label><input id="ckbleafHairs" type="checkbox" data-toggle="toggle"></label>
<button class="w3-btn w3-round w3-border w3-border-green" id="valueleafHairs"></button>
</div>
</div>
</div>
<div class='col-sm-6 '>
<h3>[ Plant List ]:</h3>
<div class="w3-border w3-pale-green w3-border-green">
<ol id="plantList">Filtered list of plants ..</ol>
</div>
</div>
</div>
<div class='row'>
<div class='col-sm-12' >
<h3><a name="descriptionAnchor" class="glyphicon glyphicon-link"></a> Description:</h3>
<span id='dropDownDescription' class="w3-card"></span>
</div>
</div>
</div>
<!-- Modal1 -->
<div class="modal fade" id="morphologyInstructions" role="dialog">
<div class="modal-dialog">
<!-- Modal content-->
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">×</button>
<h4 class="modal-title">Instruction Header</h4>
</div>
<div class="modal-body">
<p>Select morphology cgaracteristics from the dropdown boxes. Trigger the switches in the "On" position to use that observation to filter plants containing that characteristic.</p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<!-- Modal2 -->
<div class="modal fade" id="importJsonModal" role="dialog">
<div class="modal-dialog">
<!-- Modal content-->
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">×</button>
<h4 class="modal-title">Import an appropriate Json file</h4>
</div>
<div class="modal-body">
<p>After selecting a file, click "Load" to confirm your selection.</p>
<form id="jsonFile" name="jsonFile" enctype="multipart/form-data" method="post">
<div class='row'>
<div class='col-sm-6' >
<input type='file' class="w3-blue w3-round" id='fileinput'>
</div>
</div>
</form>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<!-- my scripts -->
<script src='script/myScript.js'></script> <!-- my function library -->
<script>
$(document).ready(function() {
pageMain();
});
</script>
</body>
</html>