-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathdashboard.html
More file actions
370 lines (326 loc) · 20.9 KB
/
dashboard.html
File metadata and controls
370 lines (326 loc) · 20.9 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
<!DOCTYPE html>
<html>
<head>
<title>CSSA Dashboard</title>
<meta property="og:title" content="CSSA">
<meta property="og:description" content="Official page of CSSA, Computer Science Student Association. Participants of all ages compete in seasonal competitions while advancing their skills in Computer Science.">
<meta property="og:image" content="https://www.cssa.dev/images/logo.png">
<meta property="og:url" content="https://www.cssa.dev/"></meta>
<meta name="google-signin-client_id" content="834594227639-dntdsbdaej8rsfhspugmaft12lcorhc8.apps.googleusercontent.com">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta1/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-giJF6kkoqNQ00vy+HMDP7azOuL0xtbfIcaT9wjKHr8RbDVddVHyTfAAsrekwKmP1" crossorigin="anonymous">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta1/dist/js/bootstrap.bundle.min.js" integrity="sha384-ygbV9kiqUc6oa4msXn9868pTtWMgiQaeYH7/t7LECLbyPA2x65Kgf80OJFdroafW" crossorigin="anonymous"></script>
<script src="https://apis.google.com/js/platform.js?onload=onLoad" async defer></script>
<script src="https://kit.fontawesome.com/df7e7c41fe.js" crossorigin="anonymous"></script>
<script src="https://code.jquery.com/jquery-3.5.1.min.js" integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin="anonymous"></script>
<script src="https://www.gstatic.com/firebasejs/8.3.2/firebase.js"></script>
<link rel="stylesheet" href="styles/dashboard.css">
<link rel="stylesheet" type="text/css" href="styles/styles.css">
<link rel="stylesheet" type="text/css" href="styles/competition.css">
<link rel="stylesheet" type="text/css" href="styles/pageheader.css">
<link rel="stylesheet" type="text/css" href="styles/footer.css">
<link rel="icon" href="images/favicon.ico">
<script>
function display(elem) {
$('#' + elem).toggle();
}
function switchSection(elem1, elem2) {
if(document.getElementById("preloader").style.display == "none") {
document.getElementById(elem1).style.display = "block";
document.getElementById(elem2).style.display = "none";
}
}
</script>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-YGQJ626TH7%22%3E"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-YGQJ626TH7');
</script>
<style>
body {
display: none;
}
@media only screen and (max-width:1218px) {
#sidebar {
display: block;
position: absolute;
z-index: 100;
right:0;
width: 200px;
}
body {
background-color: #212423;
}
#content {
zoom:120%;
}
#footer {
display: none;
}
}
</style>
</head>
<body>
<div class="modal fade" id="setLabel" tabindex="-1" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" style="color:black;" id="exampleModalLabel"></h5>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div style="color:black;" class="modal-body" id="label0B"></div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<div class="main-section">
<div id="header">
<nav class="navbar navbar-expand-lg fixed-top navbar-dark">
<div class="container-fluid">
<a class="navbar-brand" href="/">
<img src="images/logo.png" class="d-inline-block align-text-top">
</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#ham" aria-controls="ham" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="ham">
<ul class="navbar-nav me-auto mb-2 mb-lg-0">
<li class="nav-item">
<a class="nav-link" aria-current="page" href="/">Home</a>
</li>
<li class="nav-item">
<a class="nav-link" href="../about.html">About</a>
</li>
<li class="nav-item">
<a class="nav-link" href="../competition.html">Competition</a>
</li>
<li class="nav-item">
<a class="nav-link active" href="../dashboard.html">Dashboard</a>
</li>
</ul>
<a id="navbar-login"></a>
</div>
</div>
</nav>
<h1 id="title">Dashboard</h1>
</div>
<div id="main" style="min-height: 500px;">
<div id="sidebar">
<div id="nav-box-pad">
<div id="nav-box">
<h4>Dashboard</h4>
<a onclick="switchSection('profile', 'competitions');">Profile</a>
<a onclick="switchSection('competitions', 'profile');">Competitions</a>
</div>
</div>
</div>
<div id="content" style="position:relative;" >
<div id="preloader" style="display: none;">
<div id="loader"></div>
</div>
<div class="object-premise" style="width:50%;display: none;" id="competitions">
<h1>My Competitions</h1>
<p id="signed-up"></p>
<div id="competitions-content">
<div id="competition-registration">
<h4>Fall Competition 2021 (TBA) <button class="tooltip-btn" style="border-radius: 100%; width: 27px; height: 27px;border: none; outline: none;position: relative; top: -10px;"><i style="color: #0097A7; position: absolute;font-size: 17px; left: 7.5px; top: 7px" data-toggle="tooltip" title="Registration is not open" class="fas fa-question"></i></button></h4>
<script type="text/javascript">
$(document).ready(function() {
$("body").tooltip({ selector: '[data-toggle=tooltip]' });
});
</script>
Registration for this competition is not open yet.
<!--
<form action="javascript:competitionRegistration();">
<div class="form-group">
<label for="event1">Event #1</label>
<select class="form-control" id="event1">
<option value="None">None</option>
<option value="Algorithmic Thinking">Algorithmic Thinking</option>
<option value="Programming Challenges">Programming Challenges</option>
<option value="Data Science">Data Science</option>
<option value="Website Design">Website Design</option>
<option value="Cybersecurity">Cybersecurity</option>
<option value="Bug Smasher">Bug Smasher</option>
<option value="Capture The Flag">Capture The Flag</option>
<option value="Information Theory">Information Theory</option>
<option value="Golf">Golf</option>
<option value="SysAdmin">SysAdmin</option>
<option value="Networking">Networking</option>
<option value="Computer Science Math">Computer Science Math</option>
</select>
</div>
<div class="form-group">
<label for="event2">Event #2</label>
<select class="form-control" id="event2">
<option value="None">None</option>
<option value="Algorithmic Thinking">Algorithmic Thinking</option>
<option value="Programming Challenges">Programming Challenges</option>
<option value="Data Science">Data Science</option>
<option value="Website Design">Website Design</option>
<option value="Cybersecurity">Cybersecurity</option>
<option value="Bug Smasher">Bug Smasher</option>
<option value="Capture The Flag">Capture The Flag</option>
<option value="Information Theory">Information Theory</option>
<option value="Golf">Golf</option>
<option value="SysAdmin">SysAdmin</option>
<option value="Networking">Networking</option>
<option value="Computer Science Math">Computer Science Math</option>
</select>
</div>
<div class="form-group">
<label for="event3">Event #3</label>
<select class="form-control" id="event3">
<option value="None">None</option>
<option value="Algorithmic Thinking">Algorithmic Thinking</option>
<option value="Programming Challenges">Programming Challenges</option>
<option value="Data Science">Data Science</option>
<option value="Website Design">Website Design</option>
<option value="Cybersecurity">Cybersecurity</option>
<option value="Bug Smasher">Bug Smasher</option>
<option value="Capture The Flag">Capture The Flag</option>
<option value="Information Theory">Information Theory</option>
<option value="Golf">Golf</option>
<option value="SysAdmin">SysAdmin</option>
<option value="Networking">Networking</option>
<option value="Computer Science Math">Computer Science Math</option>
</select>
</div>
<div class="form-group">
<label for="event4">Event #4</label>
<select class="form-control" id="event4">
<option value="None">None</option>
<option value="Algorithmic Thinking">Algorithmic Thinking</option>
<option value="Programming Challenges">Programming Challenges</option>
<option value="Data Science">Data Science</option>
<option value="Website Design">Website Design</option>
<option value="Cybersecurity">Cybersecurity</option>
<option value="Bug Smasher">Bug Smasher</option>
<option value="Capture The Flag">Capture The Flag</option>
<option value="Information Theory">Information Theory</option>
<option value="Golf">Golf</option>
<option value="SysAdmin">SysAdmin</option>
<option value="Networking">Networking</option>
<option value="Computer Science Math">Computer Science Math</option>
</select>
</div>
<center>
<br>
<div style="height:60px;" class="field btn">
<div class="btn-layer"></div>
<input id="submitCompetitionRegistration" type="submit" value="Submit">
</div>
</center>
</form>
-->
</div>
</div>
</div>
<div class="object-premise" style="display: none;" id="profile">
<h1>Profile</h1>
<div id="profile-content">
<div id="userinfo" class="holder">
<h4>Update Profile <button data-toggle="tooltip" title="You cannot update your password" class="tooltip-btn" style="border-radius: 100%; width: 27px; height: 27px;border: none; outline: none;position: relative; top: -10px;"><i style="color: #0097A7; position: absolute;font-size: 17px; left: 7.5px; top: 7px" data-toggle="tooltip" title="You cannot update your password" class="fas fa-question"></i></button></h4>
<form action="javascript:updateProfile();" class="login">
<div class="field">
<input id="updateA" type="text" placeholder="First Name" required>
</div>
<div class="field">
<input id="updateB" type="text" placeholder="Last Name" required>
</div>
<div class="field">
<input id="updateC" type="text" placeholder="Username" required>
</div>
<div class="field">
<input id="updateD" type="email" placeholder="Email" required>
</div>
<div style="height:60px;width: 25%;" class="field btn">
<div class="btn-layer"></div>
<input type="submit" value="Update">
</div>
</form>
</div>
<div style="margin-top: 50px;" id="referral" class="holder">
<h4>Referral <button data-toggle="tooltip" title="Refer a friend to join CSSA and earn a special role on the discord server upon referring 5 or more friends" class="tooltip-btn" style="border-radius: 100%; width: 27px; height: 27px;border: none; outline: none;position: relative; top: -10px;"><i style="color: #0097A7; position: absolute;font-size: 17px; left: 7.5px; top: 7px" data-toggle="tooltip" title="Refer a friend to join CSSA and earn a special role on the discord server upon referring 5 or more friends" class="fas fa-question"></i></button></h4>
<form action="javascript:refer();" class="login">
<div class="field">
<input id="referA" type="text" placeholder="Username" required>
</div>
<div style="height:60px;width: 25%;" class="field btn">
<div class="btn-layer"></div>
<input type="submit" value="Refer">
</div>
</form>
</div>
</div>
</div>
</div>
</div>
</body>
<script>
window.addEventListener('load', function () {
if (getCookie('email') == null) {
window.location.href = "sign.html";
} else {
$("body").css("display", "block");
}
});
</script>
<script src="scripts/script.js"></script>
<script src="scripts/YHUIgyuhTTYghrtFghFTYrtYCGHGTydGcgRFtyFYTRDYTFgh768vH.js"></script>
<footer style="margin-top: -10px;">
<div class="row">
<div class="col-0 col-md-1"></div>
<div class="col-md-12 col-lg-4" style="padding-right: 50px;">
<div class="col-sm">
<div id="logo">
<div class="cssa-logo">
<img src="images/header-logo.png" alt="CSSA">
</div>
<br>
<div class="over">
<p>CSSA stands for Computer Science Student Association. It is an organization that focuses on developing computer science skills
through competitions and events. Competitors compete in multiple competitions per year and gain a chance to win amazing prizes. Join today!
</p>
</div>
</div>
</div>
</div>
<div class="col-md-12 col-lg-3" style="padding-right: 50px;">
<div id="contact-info">
<h4>Pages</h4>
<p>
<a class="footlink" href="/">Home</a><br>
<a class="footlink" href="about.html">About</a><br>
<a class="footlink" href="competition.html">Competition</a>
</p>
<h4>Contact Info</h4>
<p>
Email: crewcssa@gmail.com
<br>
<i class="fab fa-instagram" onclick="window.open('https://www.instagram.com/official.cssa/')"></i>
<i class="fab fa-discord" onclick="window.open('https://discord.gg/xkVJwWZeds')"></i>
</p>
</div>
</div>
<div class="col-md-12 col-lg-4" style="padding-right: 50px;">
<form action="javascript:sendContact();" id="form">
<h4 style="text-align: center;" class="title">
REACH OUT TO US!
</h4>
<input maxlength="50" type="text" id="contact_name" placeholder="Name" required/>
<input maxlength="70" type="email" id="contact_email" placeholder="Email" required/>
<textarea maxlength="8000" type="text" id="contact_message" placeholder="Message" required></textarea>
<button type="submit">SEND</button>
</form>
</div>
</div>
<hr style="color: white"><p>© Copyright 2021 Computer Science Student Association. All Rights Reserved</p>
</footer>
</html>