-
Notifications
You must be signed in to change notification settings - Fork 0
/
warzone_stat_fetcher.html
78 lines (69 loc) · 3.77 KB
/
warzone_stat_fetcher.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
<!DOCTYPE html>
<head>
<title>CoD Tracker</title>
<!--Bootstrap-->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" integrity="sha384-TX8t27EcRE3e/ihU7zmQxVncDAy5uIKz4rEkgIXeMed4M0jlfIDPvg6uqKI2xXr2" crossorigin="anonymous">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!--Personal stylesheet-->
<link rel = "stylesheet" type = "text/css" href = "jarlsaether.css"/>
</head>
<body>
<!--Bootstrap-->
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-ho+j7jyWK8fNQe+A12Hb8AhRq26LrZ/JpcUGGOn+Y7RsweNrtN/tE3MoK7ZeZDyx" crossorigin="anonymous"></script>
<!--CoD Tracker-->
<script src="stat_fetcher.js"></script>
<!--Navbar at the top of the site-->
<nav class="navbar navbar-expand-lg bg-light navbar-light">
<a class="navbar-brand" href="index.html">Jarl Sæther</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav">
<li class="nav-item active">
<a class="nav-link" href="index.html">Home</a>
</li>
</ul>
</div>
</nav>
<div style="text-align: center;">
<h1>Warzone stat fetcher</h1>
<p>This is a page for fetching a leaderboard for KG E-Sport. If the table says "placeholder" then your browser rejects the fetch to the server.
<br> In order to fix this you must directly access the server and accept the fetch. After this the leaderboard will load correctly.
<br> You can access the server by typing "https://128.199.56.250:8080" in your browser and then accepting the unsecure connection.
<br> Your browser marks this connection as unsecure because the https-certificate is self-signed.</p>
<p>You can sort by a certain stat by clicking on the corresponding column.</p>
<table class="table table-dark" style="width: 60%;" id="highscore_table">
<thead>
<tr>
<th id="tag">Tag</th>
<th id="0"">Platform</th>
<th id="1" onclick="sort_data_again(this.id)">Wins</th>
<th id="2" onclick="sort_data_again(this.id)">Kills</th>
<th id="3" onclick="sort_data_again(this.id)">Deaths</th>
<th id="4" onclick="sort_data_again(this.id)">KD Ratio</th>
<th id="5" onclick="sort_data_again(this.id)">Top 5</th>
<th id="6" onclick="sort_data_again(this.id)">Top 10</th>
<th id="7" onclick="sort_data_again(this.id)">Top 25</th>
<th id="8" onclick="sort_data_again(this.id)">Games played</th>
<th id="9" onclick="sort_data_again(this.id)">Most kills</th>
</tr>
</thead>
<tbody>
<tr>
<td>Placeholder</td>
<td>Placeholder</td>
<td>Placeholder</td>
<td>Placeholder</td>
<td>Placeholder</td>
<td>Placeholder</td>
<td>Placeholder</td>
<td>Placeholder</td>
<td>Placeholder</td>
<td>Placeholder</td>
<td>Placeholder</td>
</tr>
</tbody>
</table>
</div>