forked from stevecalla/ski-planner
-
Notifications
You must be signed in to change notification settings - Fork 0
/
profile.html
348 lines (331 loc) · 11.9 KB
/
profile.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
<!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
rel="shortcut icon"
type="image/jpg"
href="./assets/images/favicon-16x16.png"
/>
<title>Powder Bound</title>
<!-- ADD GOOGLE FONT -->
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Bangers&display=swap"
rel="stylesheet"
/>
<!-- ADD FONTAWESOME -->
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.11.2/css/all.min.css"
/>
<!-- ADD BULMA -->
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/[email protected]/css/bulma.min.css"
/>
<link rel="stylesheet" href="./assets/css/profile.css" />
</head>
<body>
<div class="modal is-active" id="profile-modal">
<div class="modal-background"></div>
<div class="modal-card custom-card custom-box-blue">
<header class="header-wrapper m-3">
<div class="header-title">
<p
class="has-text-white is-size-2-mobile is-size-1 pl-2 custom-letter-spacing"
>
Your Profile
</p>
<div>
<i
class="fa fa-snowflake has-text-white is-size-3-mobile is-size-1 mr-2"
aria-hidden=""
></i>
<i
class="fa fa-snowflake has-text-white is-size-3-mobile is-size-1 mr-2"
aria-hidden=""
></i>
</div>
</div>
<p
class="label column class is-hidden column has-text-white is-size-4 p-0 pl-2 custom-letter-spacing"
id="member-created-date"
>
Member Since: January 2012
</p>
</header>
<section class="modal-card-body custom-box-blue m-0 pt-0">
<!-- NAME INPUT -->
<label
class="label has-text-white m-0 is-size-3 custom-letter-spacing"
>Name</label
>
<div class="field has-addons name">
<div class="control has-icons-left is-expanded">
<input
class="input is-success is-fullwidth"
id="name-input"
type="text"
name="name"
placeholder="Enter first & last name"
autocomplete="off"
required
/>
<span class="icon is-small is-left">
<i class="fas fa-user"></i>
</span>
<p
class="help is-success is-hidden is-size-6"
id="alert-name-valid"
>
Your name was saved successfully.
</p>
<p
class="help is-hidden has-text-white is-size-6"
id="alert-name-invalid"
>
⚠️ Your name is blank. Try again! ⚠️
</p>
</div>
<div class="control name" id="save-name-icon">
<button
class="button fas fa-edit name-disk name input checkmark-white"
id="name-disk"
disabled
></button>
<button
class="button fas fa-check name-check is-primary is-hidden"
id="name-check"
></button>
</div>
</div>
<!-- EMAIL INPUT-->
<label
class="label has-text-white m-0 is-size-3 custom-letter-spacing"
>Email</label
>
<div class="field has-addons email">
<div class="control has-icons-left is-expanded">
<input
class="input is-success is-fullwidth"
id="email-input"
type="email"
name="email"
placeholder="Enter a valid email"
pattern="/[A-Za-z0-9]+@[a-z]+\.[a-z]{2,3}/g"
autocomplete="off"
required
/>
<span class="icon is-small is-left">
<i class="fas fa-user"></i>
</span>
<p
class="help is-success is-hidden is-size-6"
id="alert-email-valid"
>
Your email was saved successfully.
</p>
<p
class="help is-hidden has-text-white is-size-6"
id="alert-email-invalid"
>
⚠️ The email is invalid. Try again! ⚠️
</p>
</div>
<div class="control email" id="save-email-icon">
<button
class="button fas fa-edit email-disk email input checkmark-white"
id="email-disk"
disabled
></button>
<button
class="button fas fa-check email-check is-primary is-hidden"
id="email-check"
></button>
</div>
</div>
<!-- ADDRESS INPUT-->
<label
class="label has-text-white m-0 is-size-3 custom-letter-spacing"
required
>Home Address</label
>
<div class="field has-addons address">
<div class="control has-icons-left is-expanded">
<input
class="input is-success is-fullwidth"
id="address-input"
type="text"
name="address"
placeholder="Street, City, State, Zipcode"
autocomplete="off"
required
/>
<span class="icon is-small is-left">
<i class="fas fa-user"></i>
</span>
<p
class="help is-success is-hidden is-size-6"
id="alert-address-valid"
>
Your address was saved successfully.
</p>
<p
class="help is-hidden has-text-white is-size-6"
id="alert-address-invalid"
>
⚠️ The address is invalid. Try again! ⚠️
</p>
</div>
<div class="control address" id="save-address-icon">
<button
class="button fas fa-edit address-disk address input checkmark-white"
id="address-disk"
disabled
></button>
<button
class="button fas fa-check address-check is-primary is-hidden"
id="address-check"
></button>
</div>
</div>
<!-- PASSES SELECTION LIST -->
<label
class="label has-text-white m-0 is-size-3 custom-letter-spacing"
>Your Season passes</label
>
<div class="field has-addons">
<div class="control is-expanded">
<div class="select is-fullwidth" id="passes-input">
<select name="passes" id="pass-list">
<!-- <option value="none" selected disabled hidden>Select a Pass</option>
<option value="Epic">EPIC</option>
<option value="Ikon">Ikon</option>
<option value="Independent">Independent</option> -->
</select>
</div>
</div>
<div class="control">
<button
class="button fas fa-edit passes-disk passes input"
id="save-passes-icon"
disabled
></button>
<button
class="button fas fa-check passes-check is-primary is-hidden"
></button>
</div>
</div>
<!-- PASSES LIST -->
<div class="box mb-3" id="passes-selected-container">
<div class="box has-text-white is-size-4 custom-box-gray">
No Passes Selected
</div>
</div>
<!-- RESORTS SELECTION LIST -->
<label
class="label has-text-white m-0 is-size-3 custom-letter-spacing"
>Your Favorite Resorts</label
>
<div class="field has-addons">
<div class="control is-expanded">
<div class="select is-fullwidth" id="resorts-input">
<select name="resorts" id="resort-list">
<option value="none" selected disabled hidden>
Select a Resort
</option>
<option value="TBD1">TBD 1</option>
<option value="TBD2">TBD 2</option>
<option value="TBD3">TBD 3</option>
</select>
</div>
</div>
<div class="control">
<button
class="button fas fa-edit resorts-disk resorts input"
id="save-resorts-icon"
disabled
></button>
<button
class="button fas fa-check resorts-check is-primary is-hidden"
></button>
</div>
</div>
<!-- RESORTS LIST -->
<div class="box" id="resorts-selected-container">
<div class="box has-text-white is-size-4 custom-box-gray">
No Resorts Selected
</div>
</div>
</section>
<!-- FOOTER -->
<footer class="field is-grouped ml-4 mr-4 custom-box-blue">
<div class="control is-expanded">
<button
class="button is-primary is-size-5 custom-font custom-border custom-hover is-fullwidth mt-1 custom-letter-spacing save-button"
id="save-button"
>
Save Profile
</button>
</div>
<div class="control is-expanded">
<button
class="button is-danger is-size-5 custom-font custom-border custom-hover is-fullwidth mt-1 custom-letter-spacing"
id="delete-profile-button"
disabled
>
Delete Profile
</button>
</div>
</footer>
<!-- MODAL DELETE / CLOSE OVERLAY WITH THE X IN THE UPPER RIGHT -->
<button
class="modal-close is-large custom-close-modal"
id="custom-close-modal"
aria-label="close"
></button>
</div>
</div>
<!-- VALIDATION MODAL -->
<div class="modal custom-font" id="validation-modal">
<div class="modal-background"></div>
<div class="modal-card" style="width: 350px">
<header class="modal-card-head">
<p class="modal-card-title custom-letter-spacing" id="modal-title">
Modal title
</p>
<button class="delete" id="close-modal" aria-label="close"></button>
</header>
<section class="modal-card-body">
<p id="modal-body">Content</p>
</section>
<footer class="modal-card-foot">
<button
class="button is-success delete-button hide"
id="delete-button"
>
Delete
</button>
<button class="button cancel-button hide" id="cancel-button">
Cancel
</button>
</footer>
</div>
</div>
<!-- MOMENT -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.24.0/moment.min.js"></script>
<!-- JQUERY LIBRARY -->
<script src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
<!-- JQUERY UI -->
<script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
<!-- <script src="./assets/js/testAutoComplete.js"></script> -->
<script src="./assets/js/config.js"></script>
<script src="./assets/js/utils.js"></script>
<script src="./assets/js/skiAreas.js"></script>
<script src="./assets/js/profile.js"></script>
</body>
</html>