-
Notifications
You must be signed in to change notification settings - Fork 0
/
add-observation.html
192 lines (172 loc) · 7.33 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
<!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/pkwMHKZMDBymTAwUAAAAAAAAAA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A//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>
<form action="https://formspree.io/f/xrgrbrgy" method="POST" id="form2">
<!-- TODO: create the form based on the specification in the Final Assessment -->
<fieldset>
<legend>Observation</legend>
<label for="speciesGuess"
>SpeciesGuess<span class="required">*</span></label
>
<input
type="text"
name="speciesGuess"
id="speciesGuess"
placeholder="Great Horned Owl"
maxlength="200"
required
/>
<label for="description"
>Description<span class="required">*</span></label
>
<input
type="text"
name="description"
id="description"
placeholder="Roosting on fence post at the edge of a field"
size="65"
required
/>
<label for="dateObserved"
>Date Observed<span class="required">*</span></label
>
<input type="date" name="dateObserved" id="dateObserved" required />
<label for="notes">Notes</label>
<textarea
name="notes"
id="notes"
placeholder="Notes about observation..."
rows="3"
cols="65"
></textarea>
</fieldset>
<fieldset>
<legend>Location</legend>
<label for="latitude"
>Latitude<span class="required" id="latLabel">*</span></label
>
<input
type="text"
name="latitude"
id="latitude"
placeholder="43.7955"
required
/>
<label for="longitude"
>Longitude<span class="required" id="longLabel">*</span></label
>
<input
type="text"
name="longitude"
id="longitude"
placeholder="-79.3496"
required
/>
<input type="checkbox" name="share" value="1" />Share location
information (i.e., it's ok to make this public)<br />
</fieldset>
<fieldset>
<legend>Photo</legend>
<label for="photographer">Photographer Name</label>
<input
type="text"
name="photographer"
id="photographer"
placeholder="Karen Shu"
maxlength="100"
size="65"
/>
<label for="email">Photographer Email</label>
<input
type="email"
name="email"
id="email"
placeholder="[email protected]"
size="65"
/>
<label for="file">Photo</label>
<input type="file" name="file" id="file" />
<label for="license"
>License (<a href="https://creativecommons.org/choose/"
>help on choosing a license</a
>)</label
>
<select name="license" id="license">
<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>
</fieldset>
<input 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>