forked from JLou/algo-leaderboard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
executable file
·109 lines (108 loc) · 2.92 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Leaderboard - Axa Christmas Coding Challenge</title>
<link rel="shortcut icon" href="assets/favicon.png" type="image/png" />
<link rel="preconnect" href="https://fonts.gstatic.com" />
<link
href="https://fonts.googleapis.com/css2?family=Bangers&display=swap"
rel="stylesheet"
/>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css"
/>
<link rel="stylesheet" href="./style.css" />
</head>
<body>
<header class="shadow-text">
<h1 class="animate__animated animate__faster animate__zoomIn">
Christmas
</h1>
<h2>Coding</h2>
<h2>Challenge</h2>
<h3 class="shadow-text-small">2020</h3>
</header>
<div class="sessions">
{{#classement}}
<a href="#" class="box-shadow" data-session="{{index}}"
>Session {{index}}</a
>
{{/classement}}
<a href="#" class="box-shadow" data-session="all">Global</a>
</div>
{{#classement}} {{#score}}
<div class="session-{{index}}">
<div class="clash">
<section id="podium">
{{#podium}}
<div class="podium__column">
<h3>
<span class="podium__pseudo">{{pseudo}}</span><br />{{score}}
points
</h3>
</div>
{{/podium}}
</section>
<table>
<thead>
<td>Rank</td>
<td>pseudo</td>
<td>Points</td>
</thead>
<tbody>
{{#players}}
<tr>
<td>{{rank}}</td>
<td>{{pseudo}}</td>
<td>{{score}}</td>
</tr>
{{/players}}
</tbody>
</table>
</div>
<div class="clashes">
{{#clashes}}
<a href="https://www.codingame.com/clashofcode/clash/report/{{id}}"
>Lien du clash {{index}}</a
>
{{/clashes}}
</div>
{{/score}}
</div>
{{/classement}}
<div class="session-all">
<div class="clash">
<section id="podium">
{{#global.podium}}
<div class="podium__column">
<h3>
<span class="podium__pseudo">{{pseudo}}</span><br />{{score}}
points
</h3>
</div>
{{/global.podium}}
</section>
<table>
<thead>
<td>Rank</td>
<td>pseudo</td>
<td>Points</td>
</thead>
<tbody>
{{#global.players}}
<tr>
<td>{{rank}}</td>
<td>{{pseudo}}</td>
<td>{{score}}</td>
</tr>
{{/global.players}}
</tbody>
</table>
</div>
</div>
<script src="./sessions.js"></script>
</body>
</html>