generated from Code-Institute-Org/gitpod-full-template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
leaderboards.html
265 lines (221 loc) · 15.5 KB
/
leaderboards.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
<!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">
<meta name="description" content="Mapping the strike rate of the Premier League's top scorers - one goal at a time">
<link rel="shortcut icon" href="assets/images/flash.svg" type="image/png">
<script src="https://kit.fontawesome.com/71d4e68da2.js" crossorigin="anonymous"></script>
<link rel="stylesheet" href="assets/css/toolkit-inverse.css">
<link rel="stylesheet" href="assets/css/application.css">
<!-- Pure CSS custom switch component adapted from https://www.cssscript.com/ios-style-switches-bootstrap-4/ Please see README.md file for more info -->
<link rel="stylesheet" href="assets/css/component-custom-switch.css">
<link rel="stylesheet" href="assets/css/style.css">
<title>StrikeForce | Meaningful data for the beautiful game</title>
</head>
<body class="d-flex flex-column">
<!-- Header -->
<header>
<div class="container leaderboards-container">
<div class="row">
<div class="col-md-3 sidebar">
<nav class="sidebar-nav leaderboards-sidebar-nav">
<div class="sidebar-header d-md-none">
<button class="collapsed" id="nav-toggler" type="button" data-toggle="collapse" data-target="#nav-toggleable-md" aria-expanded="false">
<span class='nav-toggler-icon'><i class="fas fa-bars"></i></span>
<span class='nav-toggler-icon'><i class="fas fa-futbol"></i></span>
<span class="sr-only">Toggle nav</span>
</button>
</div>
<div class="nav-toggleable-md collapse" role="navigation" id="nav-toggleable-md" aria-expanded="false">
<ul class="nav nav-pills nav-stacked flex-column" id="nav-main">
<li class="nav-item">
<a class="nav-link" id='nav-home-link' href="index.html"> Home</a>
</li>
<li class="nav-header">Leaderboards</li>
<!-- code block adapted from https://stackoverflow.com/questions/42401606/how-to-hide-collapsible-bootstrap-4-navbar-on-click -->
<li class="nav-item">
<a class="nav-link active" data-toggle="collapse" id="summary-tables-nav-link" data-target="#nav-toggleable-md.show" href="#summary-tables">Summary</a>
</li>
<li class="nav-item">
<a class="nav-link" data-toggle="collapse" id="strikerate-tables-nav-link" data-target="#nav-toggleable-md.show" href="#strikerate-tables">StrikeRate</a>
</li>
<li class="nav-item">
<a class="nav-link" data-toggle="collapse" id="strikevalue-tables-nav-link" data-target="#nav-toggleable-md.show" href="#strikevalue-tables">StrikeValue</a>
</li>
<li class="nav-header">Dashboards</li>
<li class="nav-item">
<a class="nav-link " href="dashboards.html#player-match-list">
Scorers
</a>
</li>
<li class="nav-item">
<a class="nav-link " href="dashboards.html#club-match-list">
Clubs
</a>
</li>
<li class="nav-header">More</li>
<li class="nav-item">
<a class="nav-link " href="about.html">
About
</a>
</li>
<li class="pt-2 nav-item">
<a class="mb-5 nav-link" id="nav-contact-link" href="contact.html">
Contact
</a>
</li>
</ul>
</div>
</nav>
</div>
<div class="col-md-9 content negative-top-margin" id="content-leaderboard-main">
<div class="container d-flex container-logo">
<a class='logo-link d-flex' href="index.html">
<span class="icon icon-flash"></span>
<h1 class="mb-3">trikeForce</h1>
</a>
</div>
<div class="dashhead">
<div class="dashhead-titles">
<h2 class="dashhead-title text-center">Leaderboards</h2>
</div>
</div>
<div class="hr-divider my-4">
<ul class="nav nav-pills hr-divider-content hr-divider-nav" role="tablist">
<!-- Summary leaderboards tab -->
<li class="nav-item" role="presentation">
<a href="#summary-tables" id='summary-tables-tab' class="nav-link nav-link-leaderboards-tab active" role="tab" data-toggle="tab" aria-controls="summary-tables" aria-expanded="true">Summary</a>
</li>
<!-- StrikeRate leaderboards tab -->
<li class="nav-item" role="presentation">
<a href="#strikerate-tables" id='strikerate-tables-tab' class="nav-link nav-link-leaderboards-tab" role="tab" data-toggle="tab" aria-controls="strikerate-tables" aria-expanded="false">StrikeRate</a>
</li>
<!-- StrikeValue leaderboards tab-pane -->
<li class="nav-item" role="presentation">
<a href="#strikevalue-tables" id='strikevalue-tables-tab' class="nav-link nav-link-leaderboards-tab" role="tab" data-toggle="tab" aria-controls="strikevalue-tables" aria-expanded="false">StrikeValue</a>
</li>
</ul>
</div>
<div class="tab-content" id='tab-content-leaderboards'>
<!-- Summary leaderboards tab-pane -->
<div role="tabpanel" class="tab-pane active" id="summary-tables" aria-expanded="true">
<!-- Pure CSS custom switch component adapted from https://www.cssscript.com/ios-style-switches-bootstrap-4/ Please see README.md file for more info -->
<div class="custom-switch custom-switch-label-status text-center pl-0" id='custom-switch-summary'>
<input class="custom-switch-input" id="custom-switch-input" type="checkbox">
<label class="custom-switch-btn" for="custom-switch-input"></label>
</div>
<div class="table-responsive">
<table class="table tablesorter leaderboard-table" data-sort="table" id="my-table">
<thead>
<tr class='leaderboard-table-header-row'>
<th class="header sorter-false pl-1"></th>
<th class="header sorter-last-name pr-2 column-name"></th>
<th class="header text-center pl-2 pr-2"></th>
<th class="header text-center pl-1 pr-3">Goals</th>
<th class="header text-center pl-2 pr-3">Pens</th>
<th class="header text-center pl-1 pr-3">Goals<br> (excl.<br class='d-xl-none'> pens)</th>
</tr>
</thead>
<tbody id='leaderboard-body'>
</tbody>
</table>
</div>
</div>
<!-- StrikeRate leaderboards tab-pane -->
<div role="tabpanel" class="tab-pane" id="strikerate-tables" aria-expanded="false">
<!-- Pure CSS custom switch component adapted from https://www.cssscript.com/ios-style-switches-bootstrap-4/ Please see README.md file for more info -->
<div class="custom-switch custom-switch-label-status text-center pl-0" id='custom-switch-strikerate'>
<input class="custom-switch-input" id="custom-switch-input-strikerate" type="checkbox">
<label class="custom-switch-btn" for="custom-switch-input-strikerate"></label>
</div>
<div class="table-responsive">
<table class="table tablesorter leaderboard-table" data-sort="table" id="my-second-table">
<thead>
<tr class='leaderboard-table-header-row'>
<th class="header sorter-false pl-1" scope='col' rowspan="2"></th>
<th class="header sorter-last-name pr-2" scope='col' rowspan="2"></th>
<th class="header text-center pl-2 pr-2" scope='col' rowspan="2"></th>
<th class="header text-center pl-1 pr-3" rowspan="2" scope='col'>Goals</th>
<th class="header text-center pl-2 pr-3" scope='col' colspan="2">Per game</th>
</tr>
<tr class='leaderboard-table-header-row'>
<th class="header text-center pl-2 pr-3 table-border-left table-backdrop-contrast" scope='col'>Goals</th>
<th class="header text-center pl-1 pr-3 table-backdrop-contrast" scope='col'>Goals<br> (excl.<br class='d-xl-none'> pens)</th>
</tr>
</thead>
<tbody id='leaderboard-body-strikerate'>
</tbody>
</table>
</div>
</div>
<!-- StrikeValue leaderboards tab-pane -->
<div role="tabpanel" class="tab-pane" id="strikevalue-tables" aria-expanded="false">
<!-- Pure CSS custom switch component adapted from https://www.cssscript.com/ios-style-switches-bootstrap-4/ Please see README.md file for more info -->
<div class="custom-switch custom-switch-label-status text-center pl-0" id='custom-switch-strikevalue'>
<input class="custom-switch-input" id="custom-switch-input-strikevalue" type="checkbox">
<label class="custom-switch-btn" for="custom-switch-input-strikevalue"></label>
</div>
<div class="table-responsive">
<table class="table tablesorter leaderboard-table" data-sort="table" id="my-third-table">
<thead>
<tr class='leaderboard-table-header-row'>
<th class="header sorter-false pl-1" scope='col' rowspan="2"></th>
<th class="header sorter-last-name pr-2" scope='col' rowspan="2"></th>
<th class="header text-center pl-2 pr-2" scope='col' rowspan="2"></th>
<th class="header text-center pl-1 pr-3" rowspan="2" scope='col'>Goals</th>
<th class="header text-center pl-2 pr-3" id='perPane' scope='col' colspan="2">Per €1m</th>
</tr>
<tr class='leaderboard-table-header-row'>
<th class="header text-center pl-2 pr-3 table-border-left table-backdrop-contrast" scope='col'>Goals</th>
<th class="header text-center pl-1 pr-3 table-backdrop-contrast" scope='col'>Goals<br> (excl.<br class='d-xl-none'> pens)</th>
</tr>
</thead>
<tbody id='leaderboard-body-strikevalue'>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
</header>
<!-- end of Header -->
<!-- Footer -->
<footer class="container footer-container leaderboards-footer">
<div class="text-center row footer-row leaderboards-footer-row">
<div class="col-md-9 offset-md-3">
<ul class="list-inline leaderboards-social-list social-list">
<li class="list-inline-item social-list-item">
<a href="https://www.facebook.com/" target="_blank" title="Facebook" id="facebooklink">
<span class="icon icon-facebook" aria-hidden="true"></span>
<span class="sr-only">Facebook</span>
</a>
</li>
<li class="list-inline-item social-list-item">
<a href="https://twitter.com/" target="_blank" title="Twitter" id="twitterlink">
<span class="icon icon-twitter" aria-hidden="true"></span>
<span class="sr-only">Twitter</span>
</a>
</li>
<li class="list-inline-item social-list-item">
<a href="https://www.linkedin.com/" target="_blank" title="LinkedIn" id="linkedinlink">
<span class="icon icon-linkedin" aria-hidden="true"></span>
<span class="sr-only">LinkedIn</span>
</a>
</li>
</ul>
</div>
</div>
</footer>
<!-- end of Footer -->
<script src="assets/js/libraries/jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.1/dist/umd/popper.min.js" integrity="sha384-9/reFTGAW83EW2RDu2S0VKaIzap3H66lZH81PoYlFhbGU+6BZp6G7niu735Sk7lN" crossorigin="anonymous"></script>
<script src="assets/js/libraries/tether.min.js"></script>
<script src="assets/js/libraries/toolkit.js"></script>
<script src="assets/js/libraries/tablesorter.min.js"></script>
<script src="assets/js/leaderboards.js"></script>
</body>
</html>