-
Notifications
You must be signed in to change notification settings - Fork 35
/
hackerboard.html
270 lines (253 loc) · 9.86 KB
/
hackerboard.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
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>Lakshya CTF</title>
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.6.3/css/all.css" integrity="sha384-UHRtZLI+pbxtHCWp1t77Bi1L4ZtiqrqD80Kn4Z8NTSRyMA2Fd33n5dQ8lWUE00s/" crossorigin="anonymous">
<link rel="stylesheet" href="css/bootstrap4-neon-glow.min.css">
<link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">
<link rel='stylesheet' href='//cdn.jsdelivr.net/font-hack/2.020/css/hack.min.css'>
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.13.0/moment.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.9.3/Chart.min.js"></script>
<link rel="stylesheet" href="css/main.css">
</head>
<body class="imgloaded">
<div class="glitch">
<div class="glitch__img glitch__img_leaderboard"></div>
<div class="glitch__img glitch__img_leaderboard"></div>
<div class="glitch__img glitch__img_leaderboard"></div>
<div class="glitch__img glitch__img_leaderboard"></div>
<div class="glitch__img glitch__img_leaderboard"></div>
</div>
<div class="navbar-dark text-white">
<div class="container">
<nav class="navbar px-0 navbar-expand-lg navbar-dark">
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNavAltMarkup" aria-controls="navbarNavAltMarkup" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNavAltMarkup">
<div class="navbar-nav">
<a href="index.html" class="pl-md-0 p-3 text-decoration-none text-light">
<h3 class="bold"><span class="color_danger">LAKSHYA</span><span class="color_white">CTF</span></h3>
</a>
</div>
<div class="navbar-nav ml-auto">
<a href="index.html" class="p-3 text-decoration-none text-light bold">Home</a>
<a href="about.html" class="p-3 text-decoration-none text-light bold">About</a>
<a href="hackerboard.html" class="p-3 text-decoration-none text-white bold">Hackerboard</a>
<a href="login.html" class="p-3 text-decoration-none text-light bold">Login</a>
<a href="register.html" class="p-3 text-decoration-none text-light bold">Register</a>
</div>
</div>
</nav>
</div>
</div>
<div class="jumbotron bg-transparent mb-0 pt-3 radius-0">
<div class="container">
<div class="row">
<div class="col-xl-12">
<h1 class="display-1 bold color_white content__title text-center"><span class="color_danger">HACKER</span>BOARD<span class="vim-caret"> </span></h1>
<p class="text-grey lead text-spacey text-center hackerFont">
Where the world get's ranked!
</p>
<div class="row justify-content-center my-5">
<div class="col-xl-10">
<canvas id="myChart"></canvas>
</div>
</div>
</div>
</div>
<div class="row mt-5 justify-content-center">
<div class="col-xl-10">
<table class="table table-hover table-striped">
<thead class="thead-dark hackerFont">
<tr>
<th>#</th>
<th>Team Name</th>
<th># Challenges Solved</th>
<th>Total Time Taken</th>
<th>Score</th>
</tr>
</thead>
<tbody>
<tr>
<th scope="row">1</th>
<td>liveoverflow</td>
<td>8</td>
<td>42:59</td>
<td>2540</td>
</tr>
<tr>
<th scope="row">2</th>
<td>CR007</td>
<td>6</td>
<td>44:59</td>
<td>1900</td>
</tr>
<tr>
<th scope="row">3</th>
<td>anonymous</td>
<td>4</td>
<td>40:00</td>
<td>650</td>
</tr>
<tr>
<th scope="row">4</th>
<td>ashawe</td>
<td>5</td>
<td>40:10</td>
<td>550</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
<!-- Optional JavaScript -->
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
<script>
var s1 = {
label: 'ashawe',
borderColor: 'blue',
steppedLine: true,
data: [{
x: '2017-01-06 00:00:00',
y: 00
}, {
x: '2017-01-06 00:07:00',
y: 100
}, {
x: '2017-01-06 00:15:40',
y: 300
}, {
x: '2017-01-06 00:18:10',
y: 260
}, {
x: '2017-01-06 00:20:40',
y: 350
}, {
x: '2017-01-06 00:30:20',
y: 400
}, {
x: '2017-01-06 00:40:10',
y: 550
}, ]
};
var s3 = {
label: 'anonymous',
borderColor: 'green',
steppedLine: true,
data: [{
x: '2017-01-06 00:00:00',
y: 00
}, {
x: '2017-01-06 00:10:00',
y: 120
}, {
x: '2017-01-06 00:15:00',
y: 400
}, {
x: '2017-01-06 00:21:00',
y: 360
}, {
x: '2017-01-06 00:25:00',
y: 390
}, {
x: '2017-01-06 00:40:00',
y: 650
}, ]
};
var s2 = {
label: 'CR007',
borderColor: 'red',
steppedLine: true,
data: [{
x: '2017-01-06 00:00:00',
y: 00
}, {
x: '2017-01-06 00:05:00',
y: 150
}, {
x: '2017-01-06 00:15:00',
y: 350
}, {
x: '2017-01-06 00:21:00',
y: 500
}, {
x: '2017-01-06 00:25:00',
y: 800
}, {
x: '2017-01-06 00:40:00',
y: 900
}, {
x: '2017-01-06 00:44:59',
y: 1900
}, ]
};
var s4 = {
label: 'liveoverflow',
borderColor: 'pink',
steppedLine: true,
data: [{
x: '2017-01-06 00:00:00',
y: 00
}, {
x: '2017-01-06 00:03:00',
y: 100
}, {
x: '2017-01-06 00:07:34',
y: 250
}, {
x: '2017-01-06 00:10:45',
y: 500
}, {
x: '2017-01-06 00:13:29',
y: 650
}, {
x: '2017-01-06 00:21:00',
y: 900
}, {
x: '2017-01-06 00:33:59',
y: 1350
}, {
x: '2017-01-06 00:39:00',
y: 1680
}, {
x: '2017-01-06 00:42:59',
y: 2540
}, ]
};
var ctx = document.getElementById('myChart').getContext('2d');
var chart = new Chart(ctx, {
type: 'line',
data: {
datasets: [s1, s2, s3, s4]
},
options: {
scales: {
yAxes: [{
type: 'linear'
}],
xAxes: [{
type: 'time',
distribution: 'series', // or linear
time: {
unit: 'minute',
displayFormats: {
minute: 'mm:ss'
},
tooltipFormat: 'mm:ss'
}
}]
}
}
});
</script>
</body>
</html>