-
Notifications
You must be signed in to change notification settings - Fork 0
/
addObservation.html
195 lines (188 loc) · 11.3 KB
/
addObservation.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Add Observation - 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 href="#"><h1>Add Leaf Observation</h1></a>
</div>
<div>
<div class="collapse navbar-collapse" id="myNavbar">
<ul class="nav navbar-nav">
<li><a href="morphologyFilter.html" class="w3-text-white">App Herbarium <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="#observationsInstructions">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="addMorphologyForm" class="morphDiv">
<div class='row rowLine'>
<div class='col-sm-12'><h3>Morphology Observation Inputs</h3></div>
</div>
<div class='row rowLine'>
<div class='col-sm-2'>A Known Plant:</div>
<div class='col-sm-6'><select class = "cellObjWidth w3-select" id='dbxspecies' name='dbxspecies'></select></div>
<div class='col-sm-2'>
<i class="fa fa-leaf"></i>
<span class='descriptionvaluespeciesInput'></span>
</div>
</div>
<div class='row rowLine'>
<div class='col-sm-12'>
<div class='row rowLine'>
<div class='col-sm-2'>Arrangement:</div>
<div class='col-sm-3'><select class = "cellObjWidth w3-select" id='dbxleafArrangement' name='dbxleafArrangement'></select></div>
<div class='col-sm-3'><button class="w3-btn w3-round cellObjWidth" id="valueleafArrangement"></button></div>
<div class='col-sm-4'>
<span class='descriptionvalueleafArrangementInput' class="w3-card"><i class='fa fa-pagelines'></i></span>
</div>
</div>
<div class='row rowLine'>
<div class='col-sm-2'>Structure:</div>
<div class='col-sm-3'><select class = "cellObjWidth w3-select" id='dbxleafStructure' name='dbxleafStructure'></select></div>
<div class='col-sm-3'><button class="morphButton w3-btn w3-round cellObjWidth" id="valueleafStructure"></button></div>
<div class='col-sm-4'>
<span class='descriptionvalueleafStructureInput' class="w3-card"><i class='fa fa-pagelines'></i></span>
</div>
</div>
<div class='row rowLine'>
<div class='col-sm-2'>Margin:</div>
<div class='col-sm-3'><select class = "cellObjWidth w3-select" id='dbxleafMargin' name='dbxleafMargin'></select></div>
<div class='col-sm-3'><button class="morphButton w3-btn w3-round cellObjWidth" id="valueleafMargin"></button></div>
<div class='col-sm-4'>
<span class='descriptionvalueleafMarginInput' class="w3-card"><i class='fa fa-pagelines'></i></span>
</div>
</div>
<div class='row rowLine'>
<div class='col-sm-2'>Attachment:</div>
<div class='col-sm-3'><select class = "cellObjWidth w3-select" id='dbxleafAttachment' name='dbxleafAttachment'></select></div>
<div class='col-sm-3'><button class="morphButton w3-btn w3-round cellObjWidth" id="valueleafAttachment"></button></div>
<div class='col-sm-4'>
<span class='descriptionvalueleafAttachmentInput' class="w3-card"><i class='fa fa-pagelines'></i></span>
</div>
</div>
<div class='row rowLine'>
<div class='col-sm-2'>Shape:</div>
<div class='col-sm-3'><select class = "cellObjWidth w3-select" id='dbxleafShape' name='dbxleafShape'></select></div>
<div class='col-sm-3'><button class="morphButton w3-btn w3-round cellObjWidth" id="valueleafShape"></button></div>
<div class='col-sm-4'>
<span class='descriptionvalueleafShapeInput' class="w3-card"><i class='fa fa-pagelines'></i></span>
</div>
</div>
<div class='row rowLine'>
<div class='col-sm-2'>Surface (Top):</div>
<div class='col-sm-3'><select class = "cellObjWidth w3-select" id='dbxleafSurface' name='dbxleafSurface'></select></div>
<div class='col-sm-3'><button class="morphButton w3-btn w3-round cellObjWidth" id="valueleafSurface"></button></div>
<div class='col-sm-4'>
<span class='descriptionvalueleafSurfaceInput' class="w3-card"><i class='fa fa-pagelines'></i></span>
</div>
</div>
<div class='row rowLine'>
<div class='col-sm-2'>Venation:</div>
<div class='col-sm-3'><select class = "cellObjWidth w3-select" id='dbxleafVenation' name='dbxleafVenation'></select></div>
<div class='col-sm-3'><button class="morphButton w3-btn w3-round cellObjWidth" id="valueleafVenation"></button></div>
<div class='col-sm-4'>
<span class='descriptionvalueleafVenationInput' class="w3-card"><i class='fa fa-pagelines'></i></span>
</div>
</div>
<div class='row rowLine'>
<div class='col-sm-2'>Hairs (Top):</div>
<div class='col-sm-3'><select class = "cellObjWidth w3-select" id='dbxleafHairs' name='dbxleafHairs'></select></div>
<div class='col-sm-3'><button class="morphButton w3-btn w3-round cellObjWidth" id="valueleafHairs"></button></div>
<div class='col-sm-4'>
<span class='descriptionvalueleafHairsInput' class="w3-card"><i class='fa fa-pagelines'></i></span>
</div>
</div>
</div>
</div>
<div>
<div class='row rowLine'>
<div class="form-group">
<label for="Class">Debug Preview <i class="fa fa-search"></i>:</label>
<textarea type="text" class="form-control" id="inputPreview"></textarea>
</div>
</div>
<div class='row rowLine'>
<div class='col-sm-4'>
<div class="form-group">
<label for="FamilyInput">Confirm:</label>
<button id="btnAddMorphologyRecord">Add Record <i class="fa fa-sign-in"></i></button>
</div>
</div>
<div class='col-sm-4'>
<div class="form-group">
<label for="FamilyInput">Reset Display: </label>
<button id="btnClearMorphologyRecord">Clear <i class="fa fa-eraser"></i></button>
</div>
</div>
<div class='col-sm-4'>
<div class="form-group">
<label for="FamilyInput">Output: </label>
<button id="btnExportJsonFile" >Export JSON <i class="fa fa-database"></i></button>
</div>
</div>
</div>
</div>
</div>
<!-- Modal -->
<div class="modal fade" id="observationsInstructions" 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 characteristics of an existing plant from the dropdown boxes. Click the Add Record button to confirm your selection.</p>
</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>