-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
97 lines (83 loc) · 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta content="IE=edge" http-equiv="X-UA-Compatible">
<meta content="width=device-width, initial-scale=1" name="viewport">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<title>NBA Combine Anthro Data</title>
<meta content="MavenNBA" name="author">
<meta content="View NBA Combine Anthro Data"/>
<!-- Bootstrap core CSS -->
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/dataTables.bootstrap.css" rel="stylesheet">
<!-- Fontawesome kit -->
<script crossorigin="anonymous" src="https://kit.fontawesome.com/332c67398d.js"></script>
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script type="text/javascript" src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script type="text/javascript" src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div class="container-fluid">
<div class="page-header">
<div class="container">
<h1 class="display-4">NBA Combine Anthro Data</h1>
<p class="lead">This table is a combination (2001-02 to 2019-20) of data from the
<a href="https://stats.nba.com/draft/combine-anthro/">NBA's combine anthro</a>
website.</p>
<br>
<p class="lead">Follow me on
<i class="fab fa-twitter"></i>:
<a href="https://twitter.com/mavennba">@MavenNBA</a>
</p>
</div>
</div>
<div id="table-container"></div>
</div><!-- /.container -->
<footer class="footer">
<div class="container-fluid">
<hr/>
<p class="pull-right">
View the source code at
<a href="/~https://github.com/sdhutchins/nba-draft-combine-anthro">
<i class="fab fa-github"></i>
</a>.
</p>
</div>
</footer>
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="js/jquery.min.js" type="text/javascript"></script>
<script src="js/bootstrap.min.js" type="text/javascript"></script>
<script src="js/jquery.csv.min.js" type="text/javascript"></script>
<script src="js/jquery.dataTables.min.js" type="text/javascript"></script>
<script src="js/dataTables.bootstrap.js" type="text/javascript"></script>
<script src="js/csv_to_html_table.js" type="text/javascript"></script>
<script type="text/javascript">
function format_link(link) {
if (link)
return "<a href='" + link + "' target='_blank'>" + link + "</a>";
else
return "";
}
CsvToHtmlTable.init({
csv_path: "data/anthro_data.csv",
element: "table-container",
allow_download: true,
csv_options: {
separator: ",",
delimiter: "\""
},
datatables_options: {
"paging": false
},
custom_formatting: [
[4, format_link]
]
});
</script>
</body>
</html>