-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
128 lines (125 loc) · 6.18 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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
<!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.0">
<title>Standings Simulator</title>
<!-- Bootstrap CSS -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-wEmeIV1mKuiNpC+IOBjI7aAzPcEZeedi5yW5f2yOq55WWLwNGmvvx4Um1vskeMj0" crossorigin="anonymous">
<!-- Font Awesome -->
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.1/css/all.min.css" rel="stylesheet"/>
<!-- Google Fonts -->
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap" rel="stylesheet"/>
<!-- MDB -->
<link href="https://cdnjs.cloudflare.com/ajax/libs/mdb-ui-kit/3.5.0/mdb.min.css" rel="stylesheet"/>
<link rel="stylesheet" href="./styles/main.css">
<link rel="stylesheet" href="./styles/index.css">
<!-- Bootstrap JS -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0/dist/js/bootstrap.bundle.min.js" integrity="sha384-p34f1UUtsS3wqzfto5wAAmdvj+osOnFyQFpp4Ua3gs/ZVWx6oOypYoCJhGGScy+8" crossorigin="anonymous"></script>
<!-- MDB -->
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mdb-ui-kit/3.5.0/mdb.min.js"></script>
<!-- Load JS -->
<script src="./src/loader.js" type="module"></script>
</head>
<body>
<nav>
<div class="dropdown dropdownClass">
<button class="btn btn-outline-secondary dropdown-toggle" type="button" id="tournamentDropdownMenu" data-mdb-toggle="dropdown" aria-expanded="false">
Tournaments
</button>
<ul id="tournamentDropdown" class="dropdown-menu" aria-labelledby="tournamentDropdownMenu">
<!-- Dropdown options to be added for each tournament -->
<!-- Created in addSeasonToDropdown() -->
</ul>
</div>
<div class="dropdown dropdownClass">
<button class="btn btn-outline-secondary dropdown-toggle" type="button" id="demoDropdownMenu" data-mdb-toggle="dropdown" aria-expanded="false">
Demos
</button>
<ul id="demoDropdown" class="dropdown-menu" aria-labelledby="demoDropdownMenu">
<!-- Dropdown options to be added for each tournament -->
<!-- Created in addSeasonToDropdown() -->
</ul>
</div>
</nav>
<header>
<h1>Standings Simulator</h1>
<p>Click on which team(s) you think will win, and see how it affects the standings!</p>
<h2 id="tournamentName">Tournament Name</h2>
</header>
<main>
<div id="sections">
<div class="section">
<h3 id="currentStandingsHeader">Current Standings</h3>
<table class="table table-hover table-bordered">
<thead>
<tr>
<th>#</th>
<th>Team</th>
<th>Score</th>
</tr>
</thead>
<tbody id="currentStandings">
</tbody>
</table>
<a class="btn btn-outline-secondary" id="source" href="#">Source</a>
</div>
<div class="section" id="remainingGamesSection">
<div id="gamesHeader">
<h3>Remaining Games</h3>
<button class="btn btn-light dropdownBtn" type="button" data-bs-toggle="collapse" data-bs-target="#remainingGamesList" aria-expanded="true" aria-controls="remainingGamesList">
<i class="fas fa-chevron-down"></i>
</button>
</div>
<!-- A list of the remaining games and their dates, or a message saying "No games remaining" -->
<div id="remainingGamesList" class="collapse show"></div>
</div>
<div class="section" id="predictionTable">
<h3>Predicted Standings</h3>
<table class="table table-hover table-bordered">
<thead>
<tr>
<th>#</th>
<th>Team</th>
<th>Score</th>
</tr>
</thead>
<tbody id="futureStandings">
</tbody>
</table>
<button id="resetPredictionsButton" class="btn btn-outline-secondary" type="button" >Reset Predictions</button>
</div>
</div>
<div id="info">
<!-- Add per tournament info about advancing based on color/place -->
</div>
</main>
<footer>
<!-- Reddit -->
<a class="btn btn-primary btn-floating"
style="background-color: #ff4500;"
href="https://www.reddit.com/r/DotA2/comments/np12uy/dpc_standings_simulator_v2/"
role="button">
<i class="fab fa-reddit fa-2x"></i></a>
<!-- Twitter -->
<a class="btn btn-primary btn-floating"
style="background-color: #55acee;"
href="https://twitter.com/rhys_stever/status/1399331645434515459"
role="button">
<i class="fab fa-twitter fa-lg"></i></a>
<!-- Github -->
<a class="btn btn-primary btn-floating"
style="background-color: #333333;"
href="https://github.com/rhysstever/StandingsSimulator"
role="button">
<i class="fab fa-github fa-2x"></i></a>
<!-- Website -->
<a class="btn btn-primary btn-floating"
style="background-color: #999999;"
href="http://rhysstever.me/"
role="button">
<i class="fas fa-globe fa-2x"></i></a>
</footer>
</body>
</html>