-
Notifications
You must be signed in to change notification settings - Fork 0
/
add-observation.html
204 lines (185 loc) · 7.81 KB
/
add-observation.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Web Wildlife Walk v3.0</title>
<meta name="description" content="WEB222 Wildlife Assignment" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<!-- Favicon from https://www.favicon.cc/?action=icon&file_id=716323 -->
<link
href="data:image/x-icon;base64,AAABAAEAEBAAAAEAIABoBAAAFgAAACgAAAAQAAAAIAAAAAEAIAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKZMDGCmTAzQpkwMZgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAApkwMJqZMDGKmTAzspkwM/6ZMDPmmTAwEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACmTAxMpkwMz6ZMDPimTAz6pkwM/6ZMDP+mTAz/p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AAAAAAAAAAAAAAAAAAAAAAAAA//8AAP9/AAD+PwAA8D8AAMAjAADAIQAA4CEAAPh/AAD35wAA48MAAOIjAADiIwAA9h8AAP8/AAD/vwAA//8AAA=="
rel="icon"
type="image/x-icon"
/>
<!-- Normalize CSS across browsers -->
<link
rel="stylesheet"
href="https://unpkg.com/[email protected]/normalize.css"
/>
<!-- Water CSS theme, see https://watercss.kognise.dev/ -->
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/water.css@2/out/light.min.css"
/>
<!-- Font Awesome -->
<link
rel="stylesheet"
href="https://use.fontawesome.com/releases/v5.12.1/css/all.css"
crossorigin="anonymous"
/>
<!-- Our site's styles -->
<link rel="stylesheet" href="css/common.css" />
<link rel="stylesheet" href="css/form.css" />
</head>
<body>
<header>
<nav>
<a href="/"><i class="fas fa-home"></i> Home</a>
<a href="add-observation.html"
><i class="fas fa-plus"></i> Add Observation</a
>
</nav>
<h1>Web Wildlife Walk v3.0</h1>
<h2>Adding New Observations</h2>
<p>
The data used on this web site is generated by volunteers like you who
love nature and want to share it. You can improve the database of
wildlife information simply by adding your own observations!
</p>
</header>
<main>
<section>
<h2>Observation Details</h2>
<p><span class="required">*</span> Required field</p>
<!-- TODO: create the form based on the specification in the Final Assessment -->
<form
class="new_observation"
method="POST"
action="https://formspree.io/f/mnqlndez"
>
<fieldset class="observation">
<legend>Observation</legend>
<div>
<label for="_speciesguess"
>Species Guess<span class="required">*</span></label
>
<br />
<input
id="_speciesguess"
type="text"
name="_speciesguess"
maxlength="200"
placeholder="Great Horned Owl"
required
/>
<label for="_obsdesc"
>Description<span class="required">*</span></label
>
<br />
<input
id="_obsdesc"
type="text"
name="_obsdesc"
placeholder="Roosting on fence post at the edge of a field"
required
/>
<label for="_obsdate"
>Date Observed<span class="required">*</span></label
>
<br />
<input id="_obsdate" name="_obsdate" type="date" required />
<label for="_obsnotes">Notes</label><br />
<textarea
id="_obsnotes"
name="_obsnotes"
rows="3"
placeholder="Notes about observation..."
></textarea>
</div>
</fieldset>
<fieldset class="Location">
<legend>Location</legend>
<div>
<label id="latvalid" for="_latitude"
>Latitude<span class="required">*</span></label
><br />
<input
id="_latitude"
name="_latitude"
type="text"
placeholder="43.7955"
required
/>
</div>
<div>
<label id="longvalid" for="_longitude"
>Longitude<span class="required">*</span></label
><br />
<input
id="_longitude"
name="_longitude"
type="text"
placeholder="-79.3496"
required
/>
</div>
<input type="checkbox" /><span>
Share location information (i.e., it's ok to make this
public)</span
>
</fieldset>
<fieldset class="Photo">
<legend>Photo</legend>
<label for="_PhotographName">Photograph Name</label> <br />
<input
id="_PhotographName"
name="_PhotographName"
type="text"
maxlength="100"
placeholder="Karen Shu"
/>
<label for="_PhotographerEmail">Photographer Email</label> <br />
<input
id="_PhotographerEmail"
name="_PhotographerEmail"
type="email"
placeholder="[email protected]"
/>
<label for="_Photo"> Photo</label><br />
<input id="_Photo" name="_Photo" type="file" />
<label for="_Plicense">
License(<a href="https://creativecommons.org/choose/"
>help on choosing a license</a
>)</label
>
<div>
<select name="_Plicense" id="_Plicense">
<option value="CC-BY">
Creative Commons Attribution License
</option>
<option value="CC-BY-NC">
Creative Commons Attribution-NonCommercial License
</option>
<option value="CC-BY-SA">
Creative Commons Attribution-ShareAlike License
</option>
<option value="CC-BY-ND">
Creative Commons Attribution-NoDerivs License
</option>
<option value="CC-BY-NC-SA">
Creative Commons Attribution-NonCommercial-ShareAlike License
</option>
<option value="CC-BY-NC-ND">
Creative Commons Attribution-NonCommercial-NoDerivs License
</option>
</select>
</div>
</fieldset>
<input id="_obssubmit" type="submit" value="Submit" />
</form>
</section>
</main>
<!-- Your custom form validation code goes in the file js/validate.js -->
<script src="js/validate.js"></script>
</body>
</html>