-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathform.html
385 lines (327 loc) · 12.2 KB
/
form.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous" />
<script src="form.js"></script>
<title>
HKU GymEasy | Preferences
</title>
</head>
<body>
<div class="container">
<div id="logo">
<a class="link-dark text-decoration-none" href="./form.html">
<p class="display-1">
<img src="./images/icon.png" alt="icon" class="d-inline-block" style="height: 1em;">
HKU GymEasy
</p>
</a>
</div>
<hr>
<p id="motto" class="lead">
Frictionless gym bookings at HKU.
</p>
<p class="d-flex justify-content-center" id="badges">
<a target="_blank" class="text-decoration-none" href="https://chrome.google.com/webstore/detail/hku-gymeasy/ekfkohgplfimgmggommbcgeoeniojbkc">
<img src="./images/cws.png" alt="">
</a>
<a target="_blank" class="text-decoration-none" href="shortcuts://shortcuts/295a40fe879d4511a7c69a8ad7fb3643">
<img src="./images/shortcut.png" alt="">
</a>
</p>
<div id="message"></div>
<div id="payment" class="alert alert-warning d-flex justify-content-center">
<div class="row">
<div class="col d-flex justify-content-center">
<div class="card" style="width: 18rem;">
<div class="card-body d-flex align-items-center">
<span>
<h5 class="card-title">Protein 🍳</h5>
<p class="card-text">
I made GymEasy to streamline the cumbersome process of gym session bookings at HKU.
<br>
If you find it useful, please consider adding to my protein fund!
</p>
</span>
</div>
</div>
</div>
<div class="col d-flex justify-content-center">
<div class="card" style="width: 18rem;">
<a href="https://payme.hsbc/atiabbz" target="_blank">
<img src="./images/hsbcpayme.png" class="card-img-top" alt="hsbcpayme">
</a>
<div class="card-body d-flex justify-content-center align-items-center">
<span class="font-monospace">→ </span>
<a href="https://payme.hsbc/atiabbz" target="_blank" class="btn btn-danger">
HSBC PayMe
</a>
<span class="font-monospace"> ←</span>
</div>
</div>
</div>
<div class="col d-flex justify-content-center">
<div class="card" style="width: 18rem;">
<a href="https://qr.alipay.hk/28100401012kfekjs4lin5lx86" target="_blank">
<img src="./images/alipayhk.png" class="card-img-top" alt="alipayhk">
</a>
<div class="card-body d-flex justify-content-center align-items-center">
<span class="font-monospace">→ </span>
<a href="https://qr.alipay.hk/28100401012kfekjs4lin5lx86" target="_blank" class="btn btn-primary">
AlipayHK
</a>
<span class="font-monospace"> ←</span>
</div>
</div>
</div>
</div>
</div>
<form>
<div id="preferred_fc">
<label class="form-label fw-bold">
Preferred fitness center
</label>
<div class="form-check">
<label class="form-check-label">
CSE Active
<input id="c10001Tab" type="radio" name="preferred_fc" class="form-check-input">
</label>
</div>
<div class="form-check">
<label class="form-check-label">
HKU B-Active
<input id="c10002Tab" type="radio" name="preferred_fc" class="form-check-input">
</label>
</div>
<div class="form-check">
<label class="form-check-label">
Stanley Ho Sports Centre
<input id="c10003Tab" type="radio" name="preferred_fc" class="form-check-input">
</label>
</div>
</div>
<p></p>
<p id="email_input">
<label class="form-label" for="email">
Email
</label>
<input id="email" type="email" class="form-control" autocomplete="off">
</p>
<p id="name_input">
<label class="form-label" for="name">
Name
</label>
<input id="name" type="text" class="form-control" autocomplete="off">
</p>
<p id="uid_input">
<label class="form-label" for="uid">
Student/Staff/CSE Sports Membership No.
</label>
<input id="uid" type="text" class="form-control" autocomplete="off">
</p>
<div id="vaccination">
<label class="form-label fw-bold">
Have you completed the full COVID-19 vaccination course?
</label>
<div class="form-check">
<label class="form-check-label" for="vaccination_t">
Yes
<input id="vaccination_t" type="radio" name="vaccination" class="form-check-input">
</label>
</div>
<div class="form-check">
<label class="form-check-label">
No
<input id="vaccination_f" type="radio" name="vaccination" class="form-check-input">
</label>
</div>
</div>
<p></p>
<div id="health_declaration">
<label class="form-label">
<span class="fw-bold">
Health Declaration
<br>
</span>
Do you or have you had any of the following symptoms in the last 14 days?
</label>
<div id="q1">
<label class="form-label">
Difficulty breathing
</label>
<div class="form-check">
<label class="form-check-label">
Yes
<input id="q1_t" type="radio" name="q1" class="form-check-input">
</label>
</div>
<div class="form-check">
<label class="form-check-label">
No
<input id="q1_f" type="radio" name="q1" class="form-check-input">
</label>
</div>
</div>
<p></p>
<div id="q2">
<label class="form-label">
Sore throat
</label>
<div class="form-check">
<label class="form-check-label">
Yes
<input id="q2_t" type="radio" name="q2" class="form-check-input">
</label>
</div>
<div class="form-check">
<label class="form-check-label">
No
<input id="q2_f" type="radio" name="q2" class="form-check-input">
</label>
</div>
</div>
<p></p>
<div id="q3">
<label class="form-label">
Coughing
</label>
<div class="form-check">
<label class="form-check-label">
Yes
<input id="q3_t" type="radio" name="q3" class="form-check-input">
</label>
</div>
<div class="form-check">
<label class="form-check-label">
No
<input id="q3_f" type="radio" name="q3" class="form-check-input">
</label>
</div>
</div>
<p></p>
<div id="q4">
<label class="form-label">
Shortness of breath
</label>
<div class="form-check">
<label class="form-check-label">
Yes
<input id="q4_t" type="radio" name="q4" class="form-check-input">
</label>
</div>
<div class="form-check">
<label class="form-check-label">
No
<input id="q4_f" type="radio" name="q4" class="form-check-input">
</label>
</div>
</div>
<p></p>
<div id="q5">
<label class="form-label">
Fever
</label>
<div class="form-check">
<label class="form-check-label">
Yes
<input id="q5_t" type="radio" name="q5" class="form-check-input">
</label>
</div>
<div class="form-check">
<label class="form-check-label">
No
<input id="q5_f" type="radio" name="q5" class="form-check-input">
</label>
</div>
</div>
<p></p>
<div id="q6">
<label class="form-label">
Have you been in contact with anyone in the last 14 days with any one of the above symptoms or with a suspected or confirmed cased of COVID 19?
</label>
<div class="form-check">
<label class="form-check-label">
Yes
<input id="q6_t" type="radio" name="q6" class="form-check-input">
</label>
</div>
<div class="form-check">
<label class="form-check-label">
No
<input id="q6_f" type="radio" name="q6" class="form-check-input">
</label>
</div>
</div>
</div>
<p></p>
<div id="travel_declaration">
<label class="form-label fw-bold">
Travel Declaration
</label>
<div id="q7">
<label class="form-label">
Have you traveled overseas to any location or returned from overseas from any location in the last 14 days?
</label>
<div class="form-check">
<label class="form-check-label">
Yes
<input id="q7_t" type="radio" name="q7" class="form-check-input">
</label>
</div>
<div class="form-check">
<label class="form-check-label">
No
<input id="q7_f" type="radio" name="q7" class="form-check-input">
</label>
</div>
</div>
<p></p>
<div id="q8">
<label class="form-label">
Have you been in contact with anyone that has returned or traveled overseas in the last 14 days?
</label>
<div class="form-check">
<label class="form-check-label">
Yes
<input id="q8_t" type="radio" name="q8" class="form-check-input">
</label>
</div>
<div class="form-check">
<label class="form-check-label">
No
<input id="q8_f" type="radio" name="q8" class="form-check-input">
</label>
</div>
</div>
</div>
<p></p>
<div id="declaration_input">
<label class="form-label fw-bold">
Declaration
</label>
<div class="form-check">
<label class="form-check-label">
I declare that the above statements are true to the best of my knowledge. I understand that it has been made a criminal offence to provide false or misleading information about your travel history to a healthcare professional.
<input id="declaration" type="checkbox" class="form-check-input">
</label>
</div>
</div>
<p></p>
<p id="save_input">
<button id="save" type="button" class="btn btn-primary">
Save
</button>
</p>
</form>
<p style="font-size: small;">
<a class="link-secondary fw-bold text-decoration-none" target="_blank" href="https://fcbooking.cse.hku.hk/">
Go to sign up platform
</a>
</p>
</div>
</body>
</html>