-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
399 lines (393 loc) · 18.6 KB
/
index.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
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
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8">
<!-- Always force latest IE rendering engine or request Chrome Frame -->
<meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Use title if it's in the page YAML frontmatter -->
<script src="http://code.jquery.com/jquery-2.1.4.min.js"></script>
<script src="http://code.jquery.com/jquery-migrate-1.2.1.min.js"></script>
<script src="javascripts/draw.js" type="text/javascript"></script>
<script src="javascripts/script.js" type="text/javascript"></script>
<script src="javascripts/slick.min.js" type="text/javascript"></script>
<script type="text/javascript" src="http://momentjs.com/downloads/moment.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
<link href="stylesheets/normalize.css" rel="stylesheet" type="text/css" />
<link href="stylesheets/all.css" rel="stylesheet" type="text/css" />
<link href="stylesheets/slick.css" rel="stylesheet" type="text/css" />
<link href="stylesheets/slick-theme.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
</head>
<body class="index">
<!-- / sign in div -->
<div id='sign_in' style='display: none;'>
<div class='sign-in-top'>
<img class='img-responsive' src='images/logo/YADL_sign_in.png' style='width: 100%;'>
</div>
<center class='sign-in-bottom' style='margin-top: 10%;'>
<a class='gmail-login' href='https://ohmage-omh.smalldata.io/dsu/oauth/authorize?client_id=yadl-ui&response_type=token&gmailOnly=1'>
<p class='log-in-google'>Sign in with Gmail</p>
</a>
<div class='footer text-center' style='margin-top: 15%;'>
<p>@Small Data Lab, CornellTech</p>
</div>
</center>
</div>
<!-- / survey choice section -->
<div id='survey_options' style='display: none;'>
<div class='sign_in_top'>
<img class='img-responsive' src='images/logo/YADL_sign_in.png' style='width: 100%;'>
</div>
<center class='options'>
<p style='text-align: center; font-size: 20px; padding-top: 3%;'>Survey Type</p>
<div class='row'>
<div class='col-xs-6'>
<a>
<img id='monthly_survey' src='images/logo/monthly_survey_ring.png'>
</a>
</div>
<div class='col-xs-6'>
<a>
<img id='daily_survey' src='images/logo/daily_survey_ring.png'>
</a>
</div>
</div>
</center>
</div>
<!-- / monthly assessment div -->
<div id='monthly_assessment' style='display: none;'>
<div class='picture-selection-area'>
<div id='picture'>
<img class='img-responsive' data-name='1' src='images/survey-images/1_Bending_M.jpg'>
<img class='img-responsive' data-name='2' src='images/survey-images/2_Standing_up_from_couch_F.jpg'>
<img class='img-responsive' data-name='3' src='images/survey-images/3_Standing_up_M.jpg'>
<img class='img-responsive' data-name='4' src='images/survey-images/4_Running_F.jpg'>
<img class='img-responsive' data-name='5' src='images/survey-images/5_Walking_a_M.jpg'>
<img class='img-responsive' data-name='6' src='images/survey-images/6_Steep_Walking_F.jpg'>
<img class='img-responsive' data-name='7' src='images/survey-images/7_Walking_b_M.jpg'>
<img class='img-responsive' data-name='8' src='images/survey-images/8_Carring_upstair_M.jpg'>
<img class='img-responsive' data-name='9' src='images/survey-images/9_Downstair_M.jpg'>
<img class='img-responsive' data-name='10' src='images/survey-images/10_Upstair_M.jpg'>
<img class='img-responsive' data-name='11' src='images/survey-images/11_Uneven_surface_F.jpg'>
<img class='img-responsive' data-name='12' src='images/survey-images/12_Light_housework_F.jpg'>
<img class='img-responsive' data-name='13' src='images/survey-images/13_Moving_up_in_bed_F.jpg'>
<img class='img-responsive' data-name='14' src='images/survey-images/14_Getting_in_a_car_M.jpg'>
<img class='img-responsive' data-name='15' src='images/survey-images/15_Mopping_F.jpg'>
<img class='img-responsive' data-name='16' src='images/survey-images/16_Bending_M.jpg'>
<img class='img-responsive' data-name='17' src='images/survey-images/17_Biking_M.jpg'>
<img class='img-responsive' data-name='18' src='images/survey-images/18_Carring_downstair_M.jpg'>
<img class='img-responsive' data-name='19' src='images/survey-images/19_Commuting_a.jpg'>
<img class='img-responsive' data-name='20' src='images/survey-images/20_Commuting_b.jpg'>
<img class='img-responsive' data-name='21' src='images/survey-images/21_Cooking_F.jpg'>
<img class='img-responsive' data-name='22' src='images/survey-images/22_Dog_walking_F.jpg'>
<img class='img-responsive' data-name='23' src='images/survey-images/23_Dog_walking_M.jpg'>
<img class='img-responsive' data-name='24' src='images/survey-images/24_Going_shopping.jpg'>
<img class='img-responsive' data-name='25' src='images/survey-images/25_Going_shopping_F.jpg'>
<img class='img-responsive' data-name='26' src='images/survey-images/26_Going_shopping_M.jpg'>
<img class='img-responsive' data-name='27' src='images/survey-images/27_Holding_cup_M.jpg'>
<img class='img-responsive' data-name='28' src='images/survey-images/28_Lifting_M.jpg'>
<img class='img-responsive' data-name='29' src='images/survey-images/29_Opening_bottle_M.jpg'>
<img class='img-responsive' data-name='30' src='images/survey-images/30_Opening_door.jpg'>
<img class='img-responsive' data-name='31' src='images/survey-images/31_Opening_jar.jpg'>
<img class='img-responsive' data-name='32' src='images/survey-images/32_Printing_M.jpg'>
<img class='img-responsive' data-name='33' src='images/survey-images/33_Reading_M.jpg'>
<img class='img-responsive' data-name='34' src='images/survey-images/34_Sleeping.jpg'>
<img class='img-responsive' data-name='35' src='images/survey-images/35_Socilizing_a.jpg'>
<img class='img-responsive' data-name='36' src='images/survey-images/36_Socilizing_b.jpg'>
<img class='img-responsive' data-name='37' src='images/survey-images/37_Standing.jpg'>
<img class='img-responsive' data-name='38' src='images/survey-images/38_Standing_working_M.jpg'>
<img class='img-responsive' data-name='39' src='images/survey-images/39_Taking_Bath.jpg'>
<img class='img-responsive' data-name='40' src='images/survey-images/40_Taking_off_Socks.jpg'>
<img class='img-responsive' data-name='41' src='images/survey-images/41_Typing_a.jpg'>
<img class='img-responsive' data-name='42' src='images/survey-images/42_Typing_b.jpg'>
<img class='img-responsive' data-name='43' src='images/survey-images/43_Waiting_for_subway.jpg'>
<img class='img-responsive' data-name='44' src='images/survey-images/44_Walking.jpg'>
<img class='img-responsive' data-name='45' src='images/survey-images/45_Washing_hand_M.jpg'>
<img class='img-responsive' data-name='46' src='images/survey-images/46_Zipping.jpg'>
</div>
<div id='picture-array'>
<div class='img-overlay'>
<img class='img-responsive click-overlay' data-name='1' src='images/survey-images/1_Bending_M.jpg'>
<div class='overlay'></div>
</div>
<div class='img-overlay'>
<img class='img-responsive' data-name='2' src='images/survey-images/2_Standing_up_from_couch_F.jpg'>
<div class='overlay'></div>
</div>
<div class='img-overlay'>
<img class='img-responsive' data-name='3' src='images/survey-images/3_Standing_up_M.jpg'>
<div class='overlay'></div>
</div>
<div class='img-overlay'>
<img class='img-responsive' data-name='4' src='images/survey-images/4_Running_F.jpg'>
<div class='overlay'></div>
</div>
<div class='img-overlay'>
<img class='img-responsive' data-name='5' src='images/survey-images/5_Walking_a_M.jpg'>
<div class='overlay'></div>
</div>
<div class='img-overlay'>
<img class='img-responsive' data-name='6' src='images/survey-images/6_Steep_Walking_F.jpg'>
<div class='overlay'></div>
</div>
<div class='img-overlay'>
<img class='img-responsive' data-name='7' src='images/survey-images/7_Walking_b_M.jpg'>
<div class='overlay'></div>
</div>
<div class='img-overlay'>
<img class='img-responsive' data-name='8' src='images/survey-images/8_Carring_upstair_M.jpg'>
<div class='overlay'></div>
</div>
<div class='img-overlay'>
<img class='img-responsive' data-name='9' src='images/survey-images/9_Downstair_M.jpg'>
<div class='overlay'></div>
</div>
<div class='img-overlay'>
<img class='img-responsive' data-name='10' src='images/survey-images/10_Upstair_M.jpg'>
<div class='overlay'></div>
</div>
<div class='img-overlay'>
<img class='img-responsive' data-name='11' src='images/survey-images/11_Uneven_surface_F.jpg'>
<div class='overlay'></div>
</div>
<div class='img-overlay'>
<img class='img-responsive' data-name='12' src='images/survey-images/12_Light_housework_F.jpg'>
<div class='overlay'></div>
</div>
<div class='img-overlay'>
<img class='img-responsive' data-name='13' src='images/survey-images/13_Moving_up_in_bed_F.jpg'>
<div class='overlay'></div>
</div>
<div class='img-overlay'>
<img class='img-responsive' data-name='14' src='images/survey-images/14_Getting_in_a_car_M.jpg'>
<div class='overlay'></div>
</div>
<div class='img-overlay'>
<img class='img-responsive' data-name='15' src='images/survey-images/15_Mopping_F.jpg'>
<div class='overlay'></div>
</div>
<div class='img-overlay'>
<img class='img-responsive' data-name='16' src='images/survey-images/16_Bending_M.jpg'>
<div class='overlay'></div>
</div>
<div class='img-overlay'>
<img class='img-responsive' data-name='17' src='images/survey-images/17_Biking_M.jpg'>
<div class='overlay'></div>
</div>
<div class='img-overlay'>
<img class='img-responsive' data-name='18' src='images/survey-images/18_Carring_downstair_M.jpg'>
<div class='overlay'></div>
</div>
<div class='img-overlay'>
<img class='img-responsive' data-name='19' src='images/survey-images/19_Commuting_a.jpg'>
<div class='overlay'></div>
</div>
<div class='img-overlay'>
<img class='img-responsive' data-name='20' src='images/survey-images/20_Commuting_b.jpg'>
<div class='overlay'></div>
</div>
<div class='img-overlay'>
<img class='img-responsive' data-name='21' src='images/survey-images/21_Cooking_F.jpg'>
<div class='overlay'></div>
</div>
<div class='img-overlay'>
<img class='img-responsive' data-name='22' src='images/survey-images/22_Dog_walking_F.jpg'>
<div class='overlay'></div>
</div>
<div class='img-overlay'>
<img class='img-responsive' data-name='23' src='images/survey-images/23_Dog_walking_M.jpg'>
<div class='overlay'></div>
</div>
<div class='img-overlay'>
<img class='img-responsive' data-name='24' src='images/survey-images/24_Going_shopping.jpg'>
<div class='overlay'></div>
</div>
<div class='img-overlay'>
<img class='img-responsive' data-name='25' src='images/survey-images/25_Going_shopping_F.jpg'>
<div class='overlay'></div>
</div>
<div class='img-overlay'>
<img class='img-responsive' data-name='26' src='images/survey-images/26_Going_shopping_M.jpg'>
<div class='overlay'></div>
</div>
<div class='img-overlay'>
<img class='img-responsive' data-name='27' src='images/survey-images/27_Holding_cup_M.jpg'>
<div class='overlay'></div>
</div>
<div class='img-overlay'>
<img class='img-responsive' data-name='28' src='images/survey-images/28_Lifting_M.jpg'>
<div class='overlay'></div>
</div>
<div class='img-overlay'>
<img class='img-responsive' data-name='29' src='images/survey-images/29_Opening_bottle_M.jpg'>
<div class='overlay'></div>
</div>
<div class='img-overlay'>
<img class='img-responsive' data-name='30' src='images/survey-images/30_Opening_door.jpg'>
<div class='overlay'></div>
</div>
<div class='img-overlay'>
<img class='img-responsive' data-name='31' src='images/survey-images/31_Opening_jar.jpg'>
<div class='overlay'></div>
</div>
<div class='img-overlay'>
<img class='img-responsive' data-name='32' src='images/survey-images/32_Printing_M.jpg'>
<div class='overlay'></div>
</div>
<div class='img-overlay'>
<img class='img-responsive' data-name='33' src='images/survey-images/33_Reading_M.jpg'>
<div class='overlay'></div>
</div>
<div class='img-overlay'>
<img class='img-responsive' data-name='34' src='images/survey-images/34_Sleeping.jpg'>
<div class='overlay'></div>
</div>
<div class='img-overlay'>
<img class='img-responsive' data-name='35' src='images/survey-images/35_Socilizing_a.jpg'>
<div class='overlay'></div>
</div>
<div class='img-overlay'>
<img class='img-responsive' data-name='36' src='images/survey-images/36_Socilizing_b.jpg'>
<div class='overlay'></div>
</div>
<div class='img-overlay'>
<img class='img-responsive' data-name='37' src='images/survey-images/37_Standing.jpg'>
<div class='overlay'></div>
</div>
<div class='img-overlay'>
<img class='img-responsive' data-name='38' src='images/survey-images/38_Standing_working_M.jpg'>
<div class='overlay'></div>
</div>
<div class='img-overlay'>
<img class='img-responsive' data-name='39' src='images/survey-images/39_Taking_Bath.jpg'>
<div class='overlay'></div>
</div>
<div class='img-overlay'>
<img class='img-responsive' data-name='40' src='images/survey-images/40_Taking_off_Socks.jpg'>
<div class='overlay'></div>
</div>
<div class='img-overlay'>
<img class='img-responsive' data-name='41' src='images/survey-images/41_Typing_a.jpg'>
<div class='overlay'></div>
</div>
<div class='img-overlay'>
<img class='img-responsive' data-name='42' src='images/survey-images/42_Typing_b.jpg'>
<div class='overlay'></div>
</div>
<div class='img-overlay'>
<img class='img-responsive' data-name='43' src='images/survey-images/43_Waiting_for_subway.jpg'>
<div class='overlay'></div>
</div>
<div class='img-overlay'>
<img class='img-responsive' data-name='44' src='images/survey-images/44_Walking.jpg'>
<div class='overlay'></div>
</div>
<div class='img-overlay'>
<img class='img-responsive' data-name='45' src='images/survey-images/45_Washing_hand_M.jpg'>
<div class='overlay'></div>
</div>
<div class='img-overlay'>
<img class='img-responsive' data-name='46' src='images/survey-images/46_Zipping.jpg'>
<div class='overlay'></div>
</div>
</div>
</div>
<div class='question-area'>
<center>
<h4 style='font-weight: 300;'>How difficult is this activity for you?</h4>
<div id='picture-array-number'>
<p class='image_number'>1 of 46</p>
</div>
</center>
</div>
<hr>
<div class='rate-area row'>
<div class='col-xs-4 grid-right-border'>
<center>
<a>
<img id='easy-choice' src='images/logo/easy_green_ring.png'>
</a>
<h4 style='margin-top: 30px; font-weight: 300; color: rgba(0, 0, 0, 0.87);'>Easy</h4>
</center>
</div>
<div class='col-xs-4 grid-right-border'>
<center>
<a>
<img id='moderate-choice' src='images/logo/moderate_orange_ring.png'>
</a>
<h4 style='margin-top: 30px; font-weight: 300; color: rgba(0, 0, 0, 0.87);'>Moderate</h4>
</center>
</div>
<div class='col-xs-4'>
<center>
<a>
<img id='hard-choice' src='images/logo/hard_red_ring.png'>
</a>
<h4 style='margin-top: 30px; font-weight: 300; color: rgba(0, 0, 0, 0.87);'>Hard</h4>
</center>
</div>
</div>
<hr>
<div class='footer row'>
<div class='col-xs-8 col-xs-offset-1'>
<h5 class='footer-text'>@Small Data Lab, Cornell Tech</h5>
</div>
<div class='col-xs-3' id='skip'>
<a>
<h5 class='footer-skip'>Skip</h5>
</a>
</div>
</div>
</div>
<!-- / daily assessment div -->
<div id='daily_assessment' style='display: none;'>
<div class='row'>
<div class='daily_show_part' style='margin: 1.5em;'></div>
</div>
<div class='daily_add_part' style='margin: 1em'>
<div class='input-group input-group-lg'>
<span class='input-group-addon' id='add-daily-addon' style='background: rgb(3, 122, 255); color: white; background-color: white; border: 0 !important;'>
<img src='images/logo/add-blue-circle.png' style='height: 2em;'>
</span>
<input aria-describedby='add-addon' class='form-control' id='addition_daily_event' placeholder='More hard activities here...' style='border: 0 !important;' type='text'>
</div>
</div>
<div class='daily_render_part row'></div>
<a class='daily_submit_button'>
<p>OK</p>
</a>
</div>
<!-- / monthly answer div -->
<div id='monthly_answer' style='display: none;'>
<center class='activities-top'>
<h3 style='font-weight: 300;'>Your hard activities:</h3>
<div class='add-activity-button'>
<div class='input-group input-group-lg'>
<input aria-describedby='add-addon' class='form-control' id='addition_event' placeholder='More hard activities here...' type='text'>
<span class='input-group-addon' id='add-addon' style='background: rgb(3, 122, 255); color: white;'>
Add
</span>
</div>
</div>
<div id='image_array_numbers'></div>
</center>
<div class='row activities-bottom'></div>
<a class='submit-button'>
<p>Submit</p>
</a>
<a class='delete-button' style='display: none;'>
<p>Delete</p>
</a>
</div>
<!-- / thank you page div -->
<div id='thank_you_page' style='display: none;'>
<center style='color: white;'>
<p style='padding-top: 40%; font-size: 25px;'>Thank you for participating.</p>
<a class='return_to_main_page'>
<p style='border: 2px solid rgb(250, 250, 250); padding: 2%; font-size: 25px; width: 40%; margin-top: 60%; color: white;'>Done</p>
</a>
</center>
</div>
</body>
</html>