-
Notifications
You must be signed in to change notification settings - Fork 0
/
player.html
110 lines (110 loc) · 5.51 KB
/
player.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Player History</title>
<link rel="icon" type="image/png" href="assets/icons/favicon.png">
<link rel="stylesheet" href="css/main.css">
<link rel="stylesheet" href="css/player.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="javascript/main.js" defer></script>
<script src="javascript/player-data.js" defer></script>
<script src="javascript/player.js" defer></script>
</head>
<body>
<div class="topnav" id="topnav">
<img class="other" src="assets/icons/trophy.png" width="40" height="40">
<a class="inactive" href="index.html">Home</a>
<a class="active" href="player.html">Player History</a>
<a class="inactive" href="staff.html">Staff History</a>
<a class="inactive" href="gallery.html">Banners</a>
<a href="javascript:void(0);" class="nav-icon" onclick="responsiveNav()">+</a>
</div>
<div class="content">
<div style="padding: 1.2em 1.8em; text-align: center;">
<h1>Player History</h1>
<p>
All the tournaments I've played in, giving out the most important details like the tournament's name, rank range, forum post date, placement, match results, and more.
</p>
</div>
<h2 style="text-align: center;">Sorting</h2><br>
<div class="sort-menu">
<div class="sort-by-date sort-submenu">
<div class="sort-type sort-item">Date</div>
<div id="descending" class="sort-option sort-item sort-item-active">
<button id="descending-btn" onclick="reSortTournaments('Descending', null, null, null);">Descending</button>
</div>
<div id="ascending" class="sort-option sort-item">
<button id="ascending-btn" onclick="reSortTournaments('Ascending', null, null, null);">Ascending</button>
</div>
</div>
<div class="sort-by-year sort-submenu">
<div class="sort-type sort-item">Year</div>
<div id="all-time" class="sort-option sort-item sort-item-active">
<button id="all-time-btn" onclick="reSortTournaments(null, 'All', null, null);">All</button>
</div>
<div id="2020" class="sort-option sort-item">
<button id="2020-btn" onclick="reSortTournaments(null, '2020', null, null);">2020</button>
</div>
<div id="2021" class="sort-option sort-item">
<button id="2021-btn" onclick="reSortTournaments(null, '2021', null, null);">2021</button>
</div>
</div>
<div class="sort-by-placement sort-submenu">
<div class="sort-type sort-item">Placement</div>
<div id="all-placements" class="sort-option sort-item sort-item-active">
<button id="all-placements-btn" onclick="reSortTournaments(null, null, 'All', null);">All</button>
</div>
<div id="top3-only" class="sort-option sort-item">
<button id="top3-only-btn" onclick="reSortTournaments(null, null, 'Podium Placements', null);">Podium Placements</button>
</div>
</div>
<div class="sort-by-tournament-type sort-submenu">
<div class="sort-type sort-item">Type</div>
<div id="all-tournaments" class="sort-option sort-item sort-item-active">
<button id="solo-btn" onclick="reSortTournaments(null, null, null, 'All');">All</button>
</div>
<div id="solo-tournaments" class="sort-option sort-item">
<button id="solo-btn" onclick="reSortTournaments(null, null, null, 'Solo');">Solo</button>
</div>
<div id="team-tournaments" class="sort-option sort-item">
<button id="team-btn" onclick="reSortTournaments(null, null, null, 'Team');">Team</button>
</div>
</div>
</div><br><br><br>
<div style="text-align: center;">
<div class="overview">
<div id="overview-1">
<h3>Matches</h3>
<b>Total Match Count</b><br>
<p id="matches">0</p>
<b>Total Matches Won</b><br>
<p id="won">0</p>
<b>Total Matches Lost</b><br>
<p id="lost">0</p>
<b>Winrate</b><br>
<p id="winrate">0</p>
</div>
<div id="overview-2"><h3>Top Placements</h3></div>
<div>
<img src="assets/icons/medal-1st.png" class="medal"><br><br><br>
<b>1st Place Finishes</b><br>
<p id="first">0</p>
</div>
<div>
<img src="assets/icons/medal-2nd.png" class="medal"><br><br><br>
<b>2nd Place Finishes</b><br>
<p id="second">0</p>
</div>
<div>
<img src="assets/icons/medal-3rd.png" class="medal"><br><br><br>
<b>3rd Place Finishes</b><br>
<p id="third">0</p>
</div>
</div><br><br>
</div><br><br><br>
<div class="player-history" style="font-size: 3em;"></div>
</div>
</body>
</html>