-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
Β·335 lines (316 loc) Β· 14.7 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
<!DOCTYPE html>
<html>
<head>
<title>Overwatcher</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta property="og:image" content="https://i.imgur.com/wabCQQp.png">
<!-- Do not add `link` tags-->
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico">
<link href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous">
<!-- Do not add `script` tags-->
<script src="public/vendor.js" type="text/javascript" charset="utf-8" defer></script>
<script src="public/application.js" type="text/javascript" charset="utf-8" defer></script>
</head>
<body>
<div class="navbar-header">
<nav>
<div class="nav-wrapper">
<div class="auth-options">
<a href="#" class="nav-item nav-logo">Overwatcher</a>
<a href="#" class="nav-item player-search" id="getPlayers">Find Players</a>
<a href="#" class="nav-item hero-search" id="getHeroRoster">Find By Hero</a>
<a href="#" class="nav-item logIn active" id="login-tab">Sign In</a>
<a href="#" class="nav-item signUp active" id="sign-up-tab">Sign Up</a>
<!-- <a href="#" class="editProfile hidden" id="updateProfile">Profile</a> -->
<a href="#" class="nav-item goToProfile hidden" id="profile">Profile</a>
<a href="#" class="nav-item changePassword hidden" id="settings">Change Password</a>
<a href="#" class="nav-item logOut hidden" id="logout-tab">Sign Out</a>
</div>
</div>
</nav>
</div>
<main>
<div class="view homepage active">
<div class="section intro">
<div class="text">
<h4>You're in good hands</h4>
<h1>Welcome to Overwatcher</h1>
<p>The purpose of this community is to serve as an Overwatch mentoring program for players who wish to improve their gameplay. Whether youβre improving for fun or you aspire to one day reach Grandmaster, Open Division and beyond, this service
is for you, gg.</p>
<button class="btn btn-primary homePageSignUp active">Sign Up</button>
<!-- <button class="btn btn-primary enterMentorSearch hidden">Get Adopted!</button> -->
<small class="intro-footer">Already a user? <a href="#" class="logIn">Sign in</a>!</small>
<p class="login-message"></p>
</div>
<div class="intro-image">
<img src="https://acupoftee.github.io/images/intro-photo2.png">
</div>
</div>
<!-- <div class="section feature-list">
<div class="text">
<h4>The world needs more strong players</h4>
<h1>Here to help you be the very best</h1>
<p>We've got everything you need to be the best that you can be in Overwatch. Whether you're looking to learn something new from a mentor, or share your knowledge, we've got you covered.</p>
</div>
<div class="profile-samples">
</div>
</div> -->
</div>
<!-- SIGN IN MODAL -->
<div class="modal fade" id="signInModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog modal-sm" role="document">
<div class="modal-content">
<div class="modal-header">
<!-- <h5 class="modal-title" id="exampleModalLabel">Login</h5> -->
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<div class="modal-greeting">
<h5>Welcome Back</h5>
<p>We've missed you!</p>
<p class="sign-in-error"></p>
</div>
<form id="sign-in">
<div class="form-group">
<div class="input-group addon">
<span class="input-group-addon" id="basic-addon1">
<i class="fa fa-envelope"></i>
</span>
<input name="credentials[email]" type="email" placeholder="Email" class="form-control" required>
</div>
</div>
<div class="form-group">
<div class="input-group addon">
<span class="input-group-addon" id="basic-addon1">
<i class="fa fa-key"></i>
</span>
<input name="credentials[password]" type="password" placeholder="Password" class="form-control" required>
</div>
</div>
<button class="btn btn-success btn-block form-action">Sign In</button>
</form>
<div class="or-option">
<div class="line"></div>
</div>
<div class="redirect-container">
<p class="modal-redirect">No account yet? <a href="#" class="signUp">Sign up</a>!</p>
</div>
</div>
<!-- <div class="modal-footer">
<div class="WordDividerLine-container"></div>
<small class="modal-redirect">No account yet? <a href="#" class="signUp">Sign up</a>!</small>
</div> -->
</div>
</div>
</div>
<!-- SIGN UP MODAL -->
<div class="modal fade" id="signUpModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog modal-sm" role="document">
<div class="modal-content">
<div class="modal-header">
<!-- <h5 class="modal-title" id="exampleModalLabel">Sign Up</h5> -->
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<div class="modal-greeting">
<h5>Welcome Noob</h5>
<p>We promise you'll love it.</p>
<p class="sign-up-error"></p>
</div>
<form id="sign-up">
<div class="form-group">
<div class="input-group addon">
<span class="input-group-addon">
<i class="fa fa-envelope"></i>
</span>
<input name="credentials[email]" type="email" placeholder="Email" class="form-control" required>
</div>
</div>
<div class="form-group">
<div class="input-group addon">
<span class="input-group-addon">
<i class="fa fa-key"></i>
</span>
<input name="credentials[password]" type="password" placeholder="Password" class="form-control" required>
</div>
</div>
<div class="form-group">
<div class="input-group addon">
<span class="input-group-addon">
<i class="fa fa-check"></i>
</span>
<input name="credentials[password_confirmation]" type="password" placeholder="Confirm Password" class="form-control" required>
</div>
</div>
<button class="btn btn-success btn-block sign-in-after-sign-up form-action">Sign Up</button>
</form>
<div class="or-option">
<div class="line"></div>
</div>
<div class="redirect-container">
<p class="modal-redirect">Already a user? <a href="#" class="logIn">Sign in</a>!</p>
</div>
</div>
</div>
</div>
</div>
<div class="modal signUpSuccess fade" tabindex="-1" role="dialog" aria-labelledby="exampleModalCenterTitle" aria-hidden="true">
<div class="modal-dialog modal-sm" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
You've successfully signed up π Have fun!
</div>
<div class="modal-footer">
<button type="button" class="btn btn-success logIn" data-dismiss="modal">Sign In</button>
</div>
</div>
</div>
</div>
<!-- NEW PROFILE MODAL -->
<!-- https://stackoverflow.com/questions/22207377/disable-click-outside-of-bootstrap-modal-area-to-close-modal -->
<!-- <div class="modal fade" id="editProfileModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLabel">Profile Setup</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<div class="setup-greeting">
<p>You've come to the right place. Let's get you started by</br> adding your information.</p>
<<p class="sign-up-error hidden">Can't sign you up. π</p>
</div>
<form id="new-profile">
<div class="form-group">
<input name="user[display_name]" type="text" placeholder="Display Name" class="form-control" required>
</div>
<div class="form-group">
<input name="user[summary]" type="text" placeholder="Tell us about yourself." class="form-control" required>
</div>
<div class="form-group">
<input name="user[avatar_url]" type="text" placeholder="Avatar URL" class="form-control" required>
</div>
<div class="form-group">
<label for="regionSelectForm">Select Region</label>
<select name="user[region]" class="form-control" id="regionSelectForm" required>
<option>Americas</option>
<option>Europe</option>
<option>Asia</option>
<option>OCE</option>
</select>
</div>
<div class="form-group">
<label for="platformSelectForm">Select Platform</label>
<select name="user[platform]" class="form-control" id="platformSelectForm" required>
<option>PC</option>
<option>Xbox One</option>
<option>Playstation 4</option>
</select>
</div>
<div class="form-group">
<label for="skillRatingForm">Select Platform</label>
<small>This is your rating earned from your curret or most recent competitive season of Overwatch.</small>
<input name="user[skill_rating]" id="skillRatingForm" type="number" placeholder="Skill Rating" min="1" max="5000" class="form-control" required>
</div>
<button class="btn btn-success btn-block sign-in-after-sign-up">Create Profile</button>
</form>
<div class="or-option">
<div class="line"></div>
<div class="or-text"></div>
<div class="line"></div>
</div>
<button class="btn btn-primary btn-block" data-dismiss="modal">Setup Later</button>
</div>
</div>
</div>
</div> -->
<!-- CHANGE PASSWORD MODAL -->
<div class="modal fade" id="changePasswordModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog modal-sm" role="document">
<div class="modal-content">
<div class="modal-header">
<!-- <h5 class="modal-title" id="exampleModalLabel">Change Password</h5> -->
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<div class="modal-greeting">
<h5>Change Password</h5>
<p class="change-password-error"></p>
</div>
<form id="change-password">
<div class="form-group">
<input name="passwords[old]" type="password" placeholder="Old Password" class="form-control" required>
</div>
<div class="form-group">
<input name="passwords[new]" type="password" placeholder="New Password" class="form-control" required>
</div>
<button class="btn btn-success">Change Password</button>
<button class="btn btn-secondary" data-dismiss="modal">Cancel</button>
</form>
</div>
</div>
</div>
</div>
<!-- CHANGE PASSWORD SUCCESSFUL -->
<div class="modal newpassword fade" tabindex="-1" role="dialog" aria-labelledby="exampleModalCenterTitle" aria-hidden="true">
<div class="modal-dialog modal-sm" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLongTitle">Password Change Successful!</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
You've successfully changed your password! π
</div>
<div class="modal-footer">
<button type="button" class="btn" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<!-- CHANGE PASSWORD FAILURE -->
<div class="modal nopassword fade" tabindex="-1" role="dialog" aria-labelledby="exampleModalCenterTitle" aria-hidden="true">
<div class="modal-dialog modal-sm" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLongTitle">Password Change Failure</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
You shall not have a new password π§β
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<!-- END INTRO -->
<!-- LISTINGS -->
<div class="view hero-listings">
<div class="hero-list" id="content"></div>
<div class="errors"></div>
</div>
<!-- <div class="view user-profile">
<div class="user-profile-content"></div>
</div> -->
</main>
</body>
</html>