-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
191 lines (152 loc) · 6.97 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
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
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!-->
<html class="no-js">
<!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>SLAP Bet</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Reset CSS -->
<link rel="stylesheet" href="assets/styles/reset.css">
<!-- style.css link -->
<link rel="stylesheet" href="assets/styles/style.css">
<!-- Chart.JS -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.8.0/Chart.css"
integrity="sha256-IvM9nJf/b5l2RoebiFno92E5ONttVyaEEsdemDC6iQA=" crossorigin="anonymous" />
<!-- Google Font Link -->
<link href="https://fonts.googleapis.com/css?family=Geostar&display=swap" rel="stylesheet">
<!-- JQuery Link -->
<script src="https://code.jquery.com/jquery-3.4.1.min.js"
integrity="sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo=" crossorigin="anonymous"></script>
<!-- Firebase Link -->
<script src="https://www.gstatic.com/firebasejs/4.12.0/firebase.js"></script>
<!-- Bootstrap Links -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"
integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"
integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1"
crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"
integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM"
crossorigin="anonymous"></script>
<!-- D3 Links -->
<script src="https://d3js.org/d3.v5.min.js"></script>
<script src="https://d3js.org/d3-request.v1.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.8.0/Chart.bundle.js"
integrity="sha256-qSIshlknROr4J8GMHRlW3fGKrPki733tLq+qeMCR05Q=" crossorigin="anonymous"></script>
<!-- Style unique to index.html -->
<style>
table {
color: white;
background-color: rgba(255, 255, 255, .2);
}
th {
color: white;
}
</style>
</head>
<body>
<div id="content">
<!--[if lt IE 7]>
<p class="browsehappy">You are using an <strong>outdated</strong> browser. Please <a href="#">upgrade your browser</a> to improve your experience.</p>
<![endif]-->
<!-- Nav Bar -->
<nav class="navbar navbar-expand-lg navbar-dark">
<img src="./assets/images/slap.gif" class="mr-3" id="slapgif" alt="SlapBetLogo">
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent"
aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav mr-auto">
<li class="nav-item active">
<a class="nav-link" href="index.html">Home <span class="sr-only">(current)</span></a>
</li>
<li class="nav-item">
<a class="nav-link" href="bet.html">Bet Slip</a>
</li>
<li class="nav-item">
<a class="nav-link" href="contact.html">Contact Us</a>
</li>
</ul>
</div>
<h3 id="appName">SLAP BET</h3>
</nav>
<!-- MAIN CONTENT OF THE PAGE -->
<div class="container" id="mainContainer">
<div class="row">
<div class="col-lg-6">
<div class="dropdown">
<!-- Dropdown button for picking a League -->
<button class="btn btn-secondary dropdown-toggle" type="button" id="dropdownMenu2"
data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Pick a League
</button>
<div class="dropdown-menu" aria-labelledby="dropdownMenu2">
<button class="dropdown-item" id="mls-button" type="button">MLS-soccer</button>
<button class="dropdown-item" id="nfl-button" type="button">NFL-football</button>
</div>
</div>
<!-- Table where Teams and H2H odds are displayed -->
<table class="table table-hover">
<thead>
<tr>
<h5></h5>
<th scope="col">
<h5>Home Team</h5>
</th>
<th scope="col">
<h5>Away Team</h5>
</th>
<th scope="col">
<h5>H2H Odds</h5>
</th>
</tr>
</thead>
<tbody class="matches"></tbody>
</table>
</div>
<!-- Game Highlights -->
<div class="col-lg-6">
<div class="card">
<div class="card-header">
<h5>Head to Head Odds</h5>
</div>
<div class="card-body">
<canvas class="chart" id="myChart" height="100" width="100"></canvas>
</div>
</div>
</div>
</div>
<!-- Graphs are displayed here -->
<div class="row">
<div class="col">
<div class="card">
<div class="card-header">
<h5>Game Highlights</h5>
</div>
<div class="card-body" id="highlights"></div>
</div>
</div>
</div>
</div>
</div>
<footer>
<div class="footer col-sm-4" id="footer">
<span>
<h6>IF YOU HAVE A GAMBLING PROBLEM, CALL 1-800-GAMBLER.</h6>
</span>
</div>
<p id="foot">
Copyright Slap Bet ©2019
</p>
</footer>
<!-- home.js Link -->
<script src="assets/js/home.js"></script>
</body>
</html>