-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
290 lines (254 loc) · 13.4 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
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
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<!-- Google Font -->
<link href="https://fonts.googleapis.com/css?family=Playfair+Display:700,900|Roboto:300,400,700" rel="stylesheet">
<!-- Bootstrap CSS -->
<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" />
<!-- Font Awesome -->
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.1/css/all.css"
integrity="sha384-50oBUHEmvpQ+1lW4y57PTFmhCaXp0ML5d60M1M7uH2+nqUivzIebhndOJK28anvf" crossorigin="anonymous" />
<!-- Custom styles for this template -->
<link href="static/css/app.css" rel="stylesheet" />
<title>NBA Project | 2014-15 Shot Log Data Set</title>
</head>
<body>
<!-- No defined header section -->
<!-- Main content goes here split into sections/fragments -->
<main>
<!-- Utilizes flexbox styling not taught in class -->
<section class="fragment fragment-one">
<div class="headers">
<h1> 2014-15 NBA Data Set </h1>
<h3> Devin | Larysa | Brian</h3>
</div>
<div class="learn">
<!-- You could hyperlink this down with a smooth scroll -->
<p> Our Findings/Analysis </p>
<i class="fas fa-chevron-down"></i>
</div>
</section>
<section class="fragment fragment-two">
<h2> What Happend During the <br /> 2014-15 Season</h2>
<div class="container">
<div class="row">
<div class="col-md-6 offset-md-3">
<!-- Edit this text with a brief intoduction / brand statement etc. -->
<h5>
Following the 2014-15 season the NBA became much more efficient,
playing at a higher pace, and having a higher offensive rating.
Teams began to
play smaller lineups.
</h5>
<h6> Click this Button </h6>
<!-- <br> -->
<a href="https://docs.google.com/presentation/d/1KEXZdf1LI4lkU6TMExpXh0-VfxjO-HPlHMOZO_PCLw4/edit?usp=sharing" text="Click" class="button"><i class="btn-primary"></i></a>
</div>
</div>
</div>
<div class="learn">
<!-- You could hyperlink this down with a smooth scroll -->
<p> <br>
Analyze a player from the 2014-15 season <br>
</p>
<i class="fas fa-chevron-down"></i>
</div>
</section>
<section>
<!-- Section with player's stats and select menu-->
<div class="container-fluid">
<header>
<!-- removed header -->
</header>
<div id="myCarousel" class="carousel slide mb-0" data-ride="carousel">
<ol class="carousel-indicators">
<li data-target="#myCarousel" data-slide-to="0" class="active"></li>
<li data-target="#myCarousel" data-slide-to="1"></li>
<li data-target="#myCarousel" data-slide-to="2"></li>
<li data-target="#myCarousel" data-slide-to="3"></li>
</ol>
<div class="carousel-inner">
<div class="carousel-item active">
<img class="first-slide img-fluid" src="static/images/basketball_ball_basketball_court.jpg" alt="First slide">
<div class="container">
<div class="carousel-caption text-left">
<h1></h1>
<p></p>
</div>
</div>
</div>
<div class="carousel-item">
<img class="second-slide img-fluid" src="static/images/basketball_basketball_net_ball.jpg" alt="Second slide">
<div class="container">
<div class="carousel-caption">
<h2>NBA Season 2014-15</h2>
<p>Check out the data below</p>
</div>
</div>
</div>
<div class="carousel-item">
<img class="third-slide img-fluid" src="static/images/2014_15_nba_season_players_to_watch.jpg" alt="Third slide">
<div class="container">
<div class="carousel-caption text-left">
<h2></h2>
<p></p>
</div>
</div>
</div>
<div class="carousel-item">
<img class="third-slide img-fluid" src="static/images/pandas_data_snapshot.png" alt="Fourth slide">
<div class="container">
<div class="carousel-caption text-left">
<h2></h2>
<p></p>
</div>
</div>
</div>
</div>
<a class="carousel-control-prev" href="#myCarousel" role="button" data-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="carousel-control-next" href="#myCarousel" role="button" data-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
</div>
</div>
</section>
<!-- Dynamic Table
================================================== -->
<section class="fragment fragment-three">
<div class= "hero text-center">
<h3><img src="static/images/nba_all_star_game.png" alt="nba_all_star_game" style="float:center;width:100px;height:100px;"><br>
Player's Stats</h3>
</div>
<hr class="title-underline">
<div class="container-fluid">
<button class="btn btn-default dropdown-toggle pull-right" id="download-menu" type="button" data-toggle="dropdown">Download
<span class="caret"></span>
</button>
<ul class="dropdown-menu" role="menu" aria-labelledby="menu1">
<li role="presentation"><a id="download-csv" role="menuitem" tabindex="-1">CSV</a></li>
<li role="presentation"><a id="download-json" role="menuitem" tabindex="-1">JSON</a></li>
</ul>
<!-- add active buttons to filter/reset filter -->
<button id="filter-btn" type="button" class="btn">Filter Table</button>
<button id="reset-btn" type="reset" class="btn btn-default">Reset Table</button>
</div>
<div class="row margin-top-25">
<div class="col-md-2">
<aside class="filters">
<!-- <aside class="filters"> -->
<div class="panel panel-default"> <!--"panel-body"> -->
<div class="panel-body">
<form id= "stats-form"> <!--onSubmit="return false;"-->
<div class="form-group">
<ul class="list-group" id="filters">
<li class="filter border-0 list-group-item" style = "background-color: rgb(235, 229, 229)">
<label for="Name">Enter Name</label><br>
<input class="form-control" type="text" placeholder="Anthony Davis" id="Name"/>
</li>
<li class = "filter border-0 list-group-item" style = "background-color: rgb(235, 229, 229)">
<label for="Pos">Position</label>
<input class="form-control" type="text" placeholder="PF" id="Pos"/>
</li>
<li class = "filter border-0 list-group-item" style = "background-color: rgb(235, 229, 229)">
<label for="Team">Team</label>
<input class="form-control" type="text" placeholder="NOH" id= "Team"/>
</li>
</ul>
</div>
</form>
</div>
</div>
</aside>
</div>
<div class="col-md-10">
<div id="table-area" class=""></div>
<table id="stats" class="table table-striped">
<thead style="background-color: rgb(209, 210, 211)">
<tr>
<th class="table-head">Name</th>
<th class="table-head">PTS</th>
<th class="table-head">FG%</th>
<th class="table-head">3P%</th>
<th class="table-head">FT%</th>
<th class="table-head">REB</th>
<th class="table-head">AST</th>
<th class="table-head">Age</th>
<th class="table-head">Height(cm)</th>
<th class="table-head">POS</th>
<th class="table-head">Team</th>
<th class="table-head">Weight(kg)</th>
</tr>
</thead>
<tbody></tbody>
</table>
</div>
</div>
<div>
</section>
<section class="fragment fragment-four">
<h3>Technology We Used</h3>
<hr class="title-underline">
<div class="container">
<div class="labels">
<div class="tech">Machine Learning</div>
<div class="tech">SQL</div>
<div class="tech">Python</div>
<div class="tech">R</div>
<div class="tech">CSS3</div>
<div class="tech">HTML5</div>
<div class="tech">JavaScript</div>
<div class="tech">Git</div>
<div class="tech">NodeJS</div>
</div>
</div>
</section>
<section class="fragment fragment-five">
<h3>Our Findings</h3>
<hr class="title-underline">
<!-- Don't forget to swap out the universities and education to match your own-->
<div class="container">
<h5> Increase In Pace</h5>
<p class="credential"> Faster Players, More Assists</p>
<h5> Fast Break Points, Emphasis on Open Shots</h5>
<p class="credential"> Taking Shots behind Screens</p>
</div>
</section>
</main>
<footer>
<section class="fragment fragment-six">
<div class="container">
<div class="row">
<div class="col">
<h6>2014-15 NBA Shot Log Group</h6>
<!--update these links to match your own social media profiles -->
<a href="https://github.com/Deving789/NBA_Final-Project" class="social-icon"><i class="fab fa-github"></i></a>
<p class="text-muted copyright">Devin,Larysa,Brian © 2020 - 2021 </p>
</div>
</div>
</div>
</section>
</footer>
<!-- Bootstrap core JavaScript -->
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"
integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo"
crossorigin="anonymous"></script>
<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>
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3/4.11.0/d3.js"></script>
<script src="https://cdn.rawgit.com/eligrey/FileSaver.js/5ed507ef8aa53d8ecfea96d96bc7214cd2476fd2/FileSaver.min.js"></script>
<script src="static/js/data.js"></script>
<script src="static/js/app.js"></script>
</body>
</html>