-
Notifications
You must be signed in to change notification settings - Fork 0
/
stats.html
143 lines (140 loc) · 6.22 KB
/
stats.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
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="utf-8">
<title> FPL Grabber Complete Stats</title>
<link rel="stylesheet" href="bootstrap/css/bootstrap.min.css">
<script src="js/jquery.min.js"></script>
<script src="bootstrap/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="css/stats.css">
<script src="js/stats.js"></script>
<script type="text/javascript" src="js/chartnew.js"></script>
<script type="text/javascript" src="js/graph.js"></script>
<script type="text/javascript" src="js/compare_graph.js"></script>
<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Arvo">
<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Lato">
<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Open+Sans">
</head>
<body>
<div class="well">
<div class="" id="heading">Detailed Stats</div>
</div>
<div id="exTab1" class="container">
<ul class="nav nav-pills">
<li class="active">
<a href="#1a" data-toggle="tab">Current Gameweek</a>
</li>
<li><a href="#2a" data-toggle="tab" id="season_stats">Current Season</a>
</li>
<li><a href="#3a" data-toggle="tab" id="compare_stats">Compare Teams</a>
</li>
</ul>
<div class="tab-content clearfix">
<div class="tab-pane active" id="1a">
<div id="description" class="description"> </div>
<div id="description_gameweek_1" class="description"> </div>
<div id="top_tables">
<table class="table table-bordered" id="table_point">
<tbody>
<tr>
<td class="desc"> Total Points </td> <td></td>
</tr>
<tr>
<td class="desc"> Average Points </td> <td></td>
</tr>
<tr>
<td class="desc"> Highest Points </td> <td></td>
</tr>
</tbody>
</table>
<table class="table table-bordered" id="table_overall">
<tbody>
<tr>
<td class="desc"> Overall Points </td> <td></td>
</tr>
<tr>
<td class="desc"> Overall Rank </td> <td></td>
</tr>
<tr>
<td class="desc"> Total Players </td> <td></td>
</tr>
</tbody>
</table>
</div>
<table id="table" class=" table table-bordered">
<thead>
<tr>
<th>Players</th>
<th>Points</th>
<th>Minutes Played</th>
<th>Goals Scored</th>
<th>Assists</th>
<th>Clean Sheet</th>
<th>Goals Conceded</th>
<th>Yellow Card</th>
<th>Red Card</th>
<th>Bonus</th>
</tr>
</thead>
<tbody id="table_body">
<tr> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> </tr>
<tr> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> </tr>
<tr> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> </tr>
<tr> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> </tr>
<tr> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> </tr>
<tr> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> </tr>
<tr> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> </tr>
<tr> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> </tr>
<tr> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> </tr>
<tr> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> </tr>
<tr> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> </tr>
<tr> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> </tr>
<tr> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> </tr>
<tr> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> </tr>
<tr> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> </tr>
</tbody>
</table>
</div>
<div class="tab-pane" id="2a">
<div class="form-group">
<div id="label">Select team:</div>
<div id="select">
<select class="form-control" id="team_select" size='1'>
</select>
<button id="fetch" class="compare btn btn-primary"> Fetch Stats </button>
</div>
</div>
<div id="description_gameweek" class="description"> </div>
<div id="charts1">
<h3>Gameweek Points History</h3>
<canvas id="chart_points" width="1200" height="400"> </canvas>
<h3>Gameweek Rank History</h3>
<canvas id="chart_gwrank" width="1200" height="400"> </canvas>
<h3>Overall Rank History</h3>
<canvas id="chart_orank" width="1200" height="400"> </canvas>
</div>
</div>
<div class="tab-pane" id="3a">
<div class="form-group">
<div class="description">Select teams to compare (Max 4 only):</div>
<div id="select">
<label>Hold Shift/Ctrl to select teams.</label>
<select multiple class="form-control" id="team_select_1" size='4'>
</select>
<button id="compare" class="btn btn-primary"> Compare </button>
</div>
</div>
<div id="charts" style="visibility:hidden;display:none">
<h3>Gameweek Points History</h3>
<canvas id="chart_points_comp" width="1200" height="400"> </canvas>
<h3>Gameweek Rank History</h3>
<canvas id="chart_gwrank_comp" width="1200" height="400"> </canvas>
<h3>Overall Rank History</h3>
<canvas id="chart_orank_comp" width="1200" height="400"> </canvas>
</div>
</div>
</div>
</div>
</body>
</html>