This repository was archived by the owner on Jul 14, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathindex.html
More file actions
executable file
·418 lines (377 loc) · 21.3 KB
/
index.html
File metadata and controls
executable file
·418 lines (377 loc) · 21.3 KB
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
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Fruit Robot</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">
<link rel="stylesheet" href="dist/fruit-rescue.min.css">
<script id="popup-template" type="text/x-handlebars-template">
<div class="popup">
<h3>{{title}}</h3>
<p class="lead">
<ul>
<li><strong>Estimated harvest date:</strong> {{date}}</li>
<li><strong>Typical yield:</strong> {{yield}} lbs</li>
<li><strong>Approximate height:</strong> {{height}} ft</li>
<li><strong>Sprayed or treated:</strong> {{sprayed}}</li>
</ul>
</p>
</div>
</script>
</head>
<body>
<div id="map" class="split"></div>
<div id="footer">
<div class="btn-group">
<a class="btn btn-outline" type="button" id="addtree">Add tree</a>
</div>
</div>
<div id="join" class="leaflet-popup modal">
<a href="#close" class="leaflet-popup-close-button">×</a>
<div class="leaflet-popup-content-wrapper">
<div class="leaflet-popup-content">
<div class="popup">
<h3>Join harvest</h3>
<form>
<dl class="form">
<dt><label>Full name*</label></dt>
<dd><input type="text" placeholder="Granny Smith" name="fullname"></dd>
</dl>
<dl class="form">
<dt><label>Email*</label></dt>
<dd><input type="email" placeholder="granny.smith@gmail.com" name="email"></dd>
</dl>
<dl class="form">
<dt><label>Phone</label></dt>
<dd><input type="text" placeholder="(123) 456-7890" name="phone"></dd>
</dl>
<dl class="form">
<dt><label>Release agreement*</label></dt>
<dd><input type="checkbox"> I have read and agree to the <a href="#release" class="popup-link">legalese</a>.</dd>
</dl>
<div class="form-actions">
<button type="submit" class="btn btn-primary">Create profile <i class="fa fa-chevron-right"></i></button>
<a type="button" class="btn popup-link" href="#">Join</a>
</div>
</form>
</div>
</div>
</div>
</div>
<div id="signin" class="leaflet-popup modal">
<a href="#close" class="leaflet-popup-close-button">×</a>
<div class="leaflet-popup-content-wrapper">
<div class="leaflet-popup-content">
<div class="popup">
<h3>Sign in</h3>
<form>
<dl class="form">
<dt><label>Email*</label></dt>
<dd><input type="email" placeholder="granny.smith@gmail.com" name="email"></dd>
</dl>
<dl class="form">
<dt><label>Password*</label></dt>
<dd><input type="password" name="password"></dd>
</dl>
<div class="form-actions">
<button type="submit" class="btn btn-primary">Sign in <i class="fa fa-chevron-right"></i></button>
</div>
</form>
</div>
</div>
</div>
</div>
<div id="signup" class="leaflet-popup modal">
<a href="#close" class="leaflet-popup-close-button">×</a>
<div class="leaflet-popup-content-wrapper">
<div class="leaflet-popup-content">
<div class="popup">
<h3>Sign up</h3>
<form>
<dl class="form">
<dt><label>Full name*</label></dt>
<dd><input type="text" placeholder="Granny Smith" name="fullname"></dd>
</dl>
<dl class="form">
<dt><label>Email*</label></dt>
<dd><input type="email" placeholder="granny.smith@gmail.com" name="email"></dd>
</dl>
<dl class="form">
<dt><label>Phone</label></dt>
<dd><input type="text" placeholder="(123) 456-7890" name="phone"></dd>
</dl>
<dl class="form">
<dt><label>Password*</label></dt>
<dd><input type="password" name="password"></dd>
</dl>
<dl class="form">
<dt><label>Confirm password*</label></dt>
<dd><input type="password" name="confirmpassword"></dd>
</dl>
<div class="form-actions">
<button type="submit" class="btn btn-primary">Sign up <i class="fa fa-chevron-right"></i></button>
</div>
</form>
</div>
</div>
</div>
</div>
<div id="release" class="leaflet-popup modal">
<a href="#close" class="leaflet-popup-close-button">×</a>
<div class="leaflet-popup-content-wrapper">
<div class="leaflet-popup-content">
<div class="popup">
<h3>Release agreement</h3>
<div style="height: 350px; overflow-y: scroll; margin-bottom: 15px">
<p>
To: Community Fruit Rescue and their volunteers, employees, guides, agents, representatives, successors and assigns (all of whom are hereinafter collectively referred to as "CFR")
<br><br>
ASSUMPTION OF RISK
<br>
I recognize and acknowledge that there are inherent risks and hazards involved in participating as a volunteer with CFR, including but not limited to: Falling from a tree, falling off a ladder, being poked in the eye by a tree branch, having fruit or branches fall on your body, allergic reaction to an insect bite, damage to another person’s property, and damage as a result of negligence on the part of CFR, including the failure by CFR to take reasonable steps to safeguard or protect me from the risks, dangers and hazards of fruit harvesting activities. I agree to assume all such risks and hazards and bear all costs of medical attention.
<br><br>
RELEASE OF LIABILITY
<br>
Furthermore, I hereby agree to hold harmless and indemnify CFR from any and all liability for any property damage or personal injury to any third party resulting from my participation as a volunteer with CFR.
<br><br>
PHOTOGRAPHIC RELEASE
<br>
Finally, I grant CFR my permission to use any and all photographs, images, video, or audio recordings of me, my likeness, and my voice made by CFR in connection with my participation as a volunteer with CFR. I understand that I am not entitled to any compensation or payment for their use.
<br><br>
CONFIRMATION
<br>
This Release Agreement shall be effective and binding upon my heirs, next of kin, executors, administrators, assigns and representatives, in the event of my death or incapacity. I confirm that I have read and understood this Release Agreement prior to signing it, and I am aware that by signing below I am waiving certain legal rights which I or my heirs, next of kin, executors, administrators, assigns and representatives may have against CFR.
</p>
</div>
<a type="button" class="btn btn-close" href="#close">Close</a>
</div>
</div>
</div>
</div>
<div id="joinsignup" class="leaflet-popup modal">
<a href="#close" class="leaflet-popup-close-button">×</a>
<div class="leaflet-popup-content-wrapper">
<div class="leaflet-popup-content">
<div class="popup">
<h3>Create profile</h3>
<form>
<dl class="form">
<dt><label>Full name*</label></dt>
<dd><input type="text" placeholder="Granny Smith" name="fullname"></dd>
</dl>
<dl class="form">
<dt><label>Email*</label></dt>
<dd><input type="email" placeholder="granny.smith@gmail.com" name="email"></dd>
</dl>
<dl class="form">
<dt><label>Phone</label></dt>
<dd><input type="text" placeholder="(123) 456-7890" name="phone"></dd>
</dl>
<dl class="form">
<dt><label>Password*</label></dt>
<dd><input type="password" name="password"></dd>
</dl>
<dl class="form">
<dt><label>Confirm password*</label></dt>
<dd><input type="password" name="confirmpassword"></dd>
</dl>
<div class="form-actions">
<button type="button" class="btn popup-link" href="#join" style="float: left"><i class="fa fa-chevron-left"></i></button>
<button type="submit" class="btn btn-primary" style="margin: 0">Sign up <i class="fa fa-chevron-right"></i></button>
</div>
</form>
</div>
</div>
</div>
</div>
<div id="propertysignup" class="leaflet-popup modal">
<a href="#close" class="leaflet-popup-close-button">×</a>
<div class="leaflet-popup-content-wrapper">
<div class="leaflet-popup-content">
<div class="popup">
<h3>Create profile</h3>
<form>
<dl class="form">
<dt><label>Full name*</label></dt>
<dd><input type="text" placeholder="Granny Smith" name="fullname"></dd>
</dl>
<dl class="form">
<dt><label>Email*</label></dt>
<dd><input type="email" placeholder="granny.smith@gmail.com" name="email"></dd>
</dl>
<dl class="form">
<dt><label>Phone</label></dt>
<dd><input type="text" placeholder="(123) 456-7890" name="phone"></dd>
</dl>
<dl class="form">
<dt><label>Password*</label></dt>
<dd><input type="password" name="password"></dd>
</dl>
<dl class="form">
<dt><label>Confirm password*</label></dt>
<dd><input type="password" name="confirmpassword"></dd>
</dl>
<div class="form-actions">
<a type="button" class="btn popup-link" href="#tree" style="float: left"><i class="fa fa-chevron-left"></i></a>
<button type="submit" class="btn btn-primary" style="margin: 0">Sign up <i class="fa fa-chevron-right"></i></button>
</div>
</form>
</div>
</div>
</div>
</div>
<div id="property" class="leaflet-popup modal">
<a href="#close" class="leaflet-popup-close-button">×</a>
<div class="leaflet-popup-content-wrapper">
<div class="leaflet-popup-content">
<div class="popup">
<h3>Property Location</h3>
<form>
<dl class="form">
<dt><label>Address*</label></dt>
<dd><input type="text" placeholder="2328 Pine St" name="address"></dd>
</dl>
<dl class="form">
<dt><label>City*</label></dt>
<dd><input type="text" placeholder="Boulder" name="city"></dd>
</dl>
<dl class="form form-inline" style="margin-top: 0">
<dt><label>State*</label></dt>
<dd>
<select class="select" name="state">
<option value="" disabled selected>---</option>
<option value="AL">Alabama</option>
<option value="AK">Alaska</option>
<option value="AZ">Arizona</option>
<option value="AR">Arkansas</option>
<option value="CA">California</option>
<option value="CO">Colorado</option>
<option value="CT">Connecticut</option>
<option value="DE">Delaware</option>
<option value="DC">DC</option>
<option value="FL">Florida</option>
<option value="GA">Georgia</option>
<option value="HI">Hawaii</option>
<option value="ID">Idaho</option>
<option value="IL">Illinois</option>
<option value="IN">Indiana</option>
<option value="IA">Iowa</option>
<option value="KS">Kansas</option>
<option value="KY">Kentucky</option>
<option value="LA">Louisiana</option>
<option value="ME">Maine</option>
<option value="MD">Maryland</option>
<option value="MA">Massachusetts</option>
<option value="MI">Michigan</option>
<option value="MN">Minnesota</option>
<option value="MS">Mississippi</option>
<option value="MO">Missouri</option>
<option value="MT">Montana</option>
<option value="NE">Nebraska</option>
<option value="NV">Nevada</option>
<option value="NH">New Hampshire</option>
<option value="NJ">New Jersey</option>
<option value="NM">New Mexico</option>
<option value="NY">New York</option>
<option value="NC">North Carolina</option>
<option value="ND">North Dakota</option>
<option value="OH">Ohio</option>
<option value="OK">Oklahoma</option>
<option value="OR">Oregon</option>
<option value="PA">Pennsylvania</option>
<option value="RI">Rhode Island</option>
<option value="SC">South Carolina</option>
<option value="SD">South Dakota</option>
<option value="TN">Tennessee</option>
<option value="TX">Texas</option>
<option value="UT">Utah</option>
<option value="VT">Vermont</option>
<option value="VA">Virginia</option>
<option value="WA">Washington</option>
<option value="WV">West Virginia</option>
<option value="WI">Wisconsin</option>
<option value="WY">Wyoming</option>
</select>
</dd>
</dl>
<dl class="form form-inline" style="margin-right: 0; margin-top: 0">
<dt><label>Postal code*</label></dt>
<dd><input type="text" placeholder="80302" style="width: 150px; margin-right: 0" name="zip"></dd>
</dl>
<div class="form-actions">
<a type="button" href="#tree" class="btn btn-primary popup-link">Add tree <i class="fa fa-chevron-right"></i></a>
</div>
</form>
</div>
</div>
</div>
</div>
<div id="tree" class="leaflet-popup modal">
<a href="#close" class="leaflet-popup-close-button">×</a>
<div class="leaflet-popup-content-wrapper">
<div class="leaflet-popup-content">
<div class="popup">
<h3>Add tree</h3>
<form>
<dl class="form">
<dt><label>Tree species*</label></dt>
<dd>
<select class="select" style="width: 100%" name="species" id="species"></select>
</dd>
</dl>
<dl class="form">
<dt><label>Estimated harvest date*</label></dt>
<dd><input type="text" placeholder="Sep 2nd" id="ripeningdate" name="ripeningdate"></dd>
</dl>
<dl class="form form-inline" style="margin: 0">
<dt><label>Typical yield (lbs)*</label></dt>
<dd><input type="text" placeholder="300 lbs" style="width: 130px" name="yield"></dd>
</dl>
<dl class="form form-inline" style="margin: 0">
<dt><label>Approximate height (ft)*</label></dt>
<dd><input type="text" placeholder="42 ft" style="width: 160px; margin-right: 0" name="height"></dd>
</dl>
<dl class="form">
<dt><label>Sprayed or treated in the past year*</label></dt>
<dd>
<select class="select" style="width: 100%" name="sprayed">
<option disabled selected>---</option>
<option>Yes, with a common chemical</option>
<option>Yes, but it is non-toxic</option>
<option>No</option>
<option>Not sure</option>
</select>
</dd>
</dl>
<div class="form-actions">
<a type="button" class="btn popup-link" href="#property" style="float: left"><i class="fa fa-chevron-left"></i></a>
<button type="submit" class="btn btn-primary" style="margin: 0">Save <i class="fa fa-chevron-right"></i></a>
</div>
</form>
</div>
</div>
</div>
</div>
<div id="list" class="split">
<div id="header">
<h2>Harvests</h2>
<div class="btn-group" id="unauthenticated">
<a class="btn btn-outline popup-link" type="button" href="#signup">Sign up</a>
<a class="btn btn-outline popup-link" type="button" href="#signin">Sign in</a>
</div>
<div class="btn-group" id="authenticated" style="display: none">
<a class="btn btn-outline" type="button" href="#" id="signout">Sign out</a>
<a class="btn btn-outline"><i class="fa fa-user"></i></a>
</div>
</div>
<div id="search">
<input type="text" placeholder="Filter upcoming harvests..." />
</div>
<table id="harvests"></table>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.10.6/moment.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.maskedinput/1.4.1/jquery.maskedinput.min.js"></script>
<script src="lib/index.js"></script>
</body>
</html>