This repository has been archived by the owner on Nov 6, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
110 lines (98 loc) · 4.86 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
<!doctype html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>Creative Project 2</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous">
<link rel="stylesheet" href="/css/styles.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script src="https://code.iconify.design/1/1.0.3/iconify.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
</head>
<body>
<div class="container-fluid h-100 mb-n5">
<main role="main">
<!-- This is the main box -->
<div class="position-relative overflow-hidden text-center text-white bg-dark row mx-auto">
<div class="col-md-5 p-lg-5 mx-auto my-5">
<h1 class="display-4 font-weight-normal">NBA Statistics
<img class="img-fluid my-auto" style="width: 11%" src="/images/nba_logo.png">
</h1>
<p class="lead font-weight-normal">Updated information on your favorite teams and players</p>
<input type="button" onclick="resetPage()" value="Reset Page">
</div>
</div>
<!-- Player box -->
<div class="d-md-flex ml-md-3 m-md-2 my-md-3">
<div class="col mr-md-2 p-3 text-white bg- text-left">
<form class="form-inline">
<h1 class="text-center display-5 col-md-6">Player Stats by Season</h1>
<div class="input-group mb-3 col-md-6">
<input type="text" class="form-control" id="playerSeasonInput" placeholder="Season (i.e 2020, 2019)" aria-label="Season" aria-describedby="basic-addon2">
<div class="input-group-append">
<button class="btn btn-outline-secondary" id="playerSeasonSubmit" type="button">Search</button>
</div>
<div class="col-6" id="playerList">
<select class="browser-default custom-select col-sm-8" id="playerOption" disabled>
<option selected>Choose Player</option>
</select>
</div>
</div>
</form>
<div id="playerResults"></div>
</div>
</div>
<hr>
<!-- Team box -->
<div class="d-md-flex ml-md-3 m-md-2 my-md-3">
<div class="col mr-md-2 p-3 text-white bg- text-left">
<form class="form-inline">
<h1 class="text-center display-5 col-md-6">Current Team Rosters</h1>
<div class="input-group mb-3 col-md-6">
<input type="text" class="form-control" id="teamInput" placeholder="Team Abbreviation (i.e HOU, LAL)" aria-label="Team Abbreviation" aria-describedby="basic-addon2">
<div class="input-group-append">
<button class="btn btn-outline-secondary" id="teamSubmit" type="button">Search</button>
</div>
</div>
</form>
<div id="teamResults"></div>
</div>
</div>
<hr>
<!-- Season box -->
<div class="d-md-flex ml-md-3 m-md-2 my-md-3">
<div class="col mr-md-2 p-3 text-white bg- text-left">
<form class="form-inline">
<h1 class="text-center display-5 col-md-6">Other Stats by Season</h1>
<div class="input-group mb-3 col-md-6">
<select class="browser-default custom-select" id="yearOption">
<option selected>Choose Option</option>
<option value="TeamSeasonStats">Team Stats</option>
<option value="Standings">Standings</option>
<option value="AllStars">All Star Players</option>
</select>
<input type="text" class="form-control" id="seasonInput" placeholder="Season (i.e 2020, 2019)" aria-label="Season" aria-describedby="basic-addon2">
<div class="input-group-append">
<button class="btn btn-outline-secondary" id="seasonSubmit" type="button">Search</button>
</div>
</div>
</form>
<div id="seasonResults"></div>
</div>
</div>
</main>
<!-- FOOTER -->
<footer class="card-footer navbar bg-dark my-5">
<div class="container-fluid">
<span class="text-muted">Drew Bayles © 2020</span>
<a target="_blank" href="/~https://github.com/dtbayles/CreativeProject2">
<span class="iconify" style="align-content: left;" data-icon="simple-line-icons:social-github" data-inline="false"></span>
</a>
</div>
</footer>
<!-- Container-Fluid Close -->
</div>
<script text="type/javascript" src="/js/nba.js"></script>
</body>
</html>