-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·336 lines (255 loc) · 14.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
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<!-- Meta, title, CSS, favicons, etc. -->
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>iTennistics</title>
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="fonts/css/font-awesome.min.css" rel="stylesheet">
<script src="js/jquery.min.js"></script>
<!-- Files Que Estamos a Usar -->
<link href="css/custom.css" rel="stylesheet">
<link href="css/linearchat.css" rel="stylesheet">
<link href="css/lastlinechart.css" rel="stylesheet">
<link href="css/visual.css" rel="stylesheet">
<script src="js/custom.js"></script>
<script src="js/d3.v3.min.js"></script>
<script src="js/d3.tip.v0.6.3.js"></script>
<script src="js/RadarChartSurfaces.js"></script>
<script src="js/RadarChart.js"></script>
<script src="js/SurfaceLineChart.js"></script>
<script src="js/radialBarChart.js"></script>
</head>
<body class="nav-md" onload=" radar('1'); radar_surface('1'); linesurfaceChart();update('1');">
<div class="container body">
<div class="main_container">
<div class="col-md-3 left_col">
<div class="left_col scroll-view">
<div class="navbar nav_title" style="border: 0;">
<a href="index.html" class="site_title"> <img src="images/tennis_ball.png"></img> <span>iTennistics</span></a>
</div>
<div class="clearfix"></div>
<div class="form-group">
<select id="playerList1" class="form-control4" onchange="changePlayer4(); radar('1'); radar_surface('1'); linesurfaceChart();">
<!--<option>Select Player</option>-->
<option>Adrian Mannarino</option>
<option>Alexandr Dolgopolov</option>
<option>Andreas Seppi</option>
<option>Andy Murray</option>
<option>Benjamin Becker</option>
<option>Denis Istomin</option>
<option>David Ferrer</option>
<option>David Goffin</option>
<option>Dominic Thiem</option>
<option>Ernests Gulbis</option>
<option>Fabio Fognini</option>
<option>Feliciano Lopez</option>
<option>Fernando Verdasco</option>
<option>Gael Monfils</option>
<option>Gilles Muller</option>
<option>Gilles Simon</option>
<option>Grigor Dimitrov</option>
<option>Guillermo Lopez</option>
<option>Ivo Karlovic</option>
<option>Jack Sock</option>
<option>Jeremy Chardy</option>
<option>Jerzy Janowicz</option>
<option>Jo Tsonga</option>
<option>John Isner</option>
<option>Julien Benneteau</option>
<option>Kei Nishikori</option>
<option>Kevin Anderson</option>
<option>Leonardo Mayer</option>
<option>Lukas Rosol</option>
<option>Marin Cilic</option>
<option>Martin Klizan</option>
<option>Mikhail Youzhny</option>
<option>Milos Raonic</option>
<option>Nick Kyrgios</option>
<option>Novak Djokovic</option>
<option>Pablo Andujar</option>
<option>Pablo Busta</option>
<option>Pablo Cuevas</option>
<option>Philipp Kohlschreiber</option>
<option selected="selected">Rafael Nadal</option>
<option>Richard Gasquet</option>
<option>Roberto Agut</option>
<option>Roger Federer</option>
<option>Sam Querrey</option>
<option>Santiago Giraldo</option>
<option>Stanislas Wawrinka</option>
<option>Steve Johnson</option>
<option>Tomas Berdych</option>
<option>Tommy Robredo</option>
<option>Yen Hsun Lu</option>
</select>
</div>
<!-- menu prile quick info -->
<div class="profile">
<div class="profile_pic">
<img id="player_photo1" alt="Rafael Nadal" class="img-circle profile_img" src="images/players/nadal.png" name="photo1"></img>
<label class="form-field"> <span id="list1"> Rafael Nadal </span>
<img id="flag_photo1" alt="Spain" class="flag_img" src="images/flags/esp.png" name="flag"></img>
</label>
</div>
</div>
<!-- /menu prile quick info -->
<br/>
<!-- sidebar menu -->
<div id="sidebar-menu" class="main_menu_side hidden-print main_menu">
<div class="form-group-year1" >
<select id="yearList" class="form-year" onchange=" radar('1'); radar_surface('1'); myYear1()" >
<option selected="selected">2010</option>
<option>2011</option>
<option>2012</option>
<option>2013</option>
<option>2014</option>
<option>2015</option>
</select>
</div>
</div>
<!-- /sidebar menu -->
<div class= "player_text">
<hr>
<strong>Age:</strong> <span id="player_age"> 29 </span> <br>
<strong>Birthdate:</strong> <span id="player_birthdate"> 1986.06.03 </span> <br>
<strong>Birthplace:</strong> <span id="player_birthplace"> Mallorca, Spain </span> <br>
<strong>Height:</strong> <span id="player_height"> 185 </span> cm <br>
<strong>Hand:</strong> <span id="player_hand"> Left </span><br>
</div>
<div class ="player_ranking">
<strong style="display:block; height: 30px;">Ranking </strong> <actual style="display:block; height: 20px;" >Actual</actual>
<rank><span id="player_rank"> 7 </span></rank> <br>
<rankpoints>Points: </rankpoints>
<points> <span id="player_points"> 4330 </span></points>
</div>
</div>
</div>
<!-- top navigation -->
<div class="top_nav">
<div class="nav_menu">
<div class = "top_buttons" >
<button type="button" class="btn btn-primary btn-lg" onClick="location.href='index.html'">Player Stats</button>
<button type="button" class="btn btn-default btn-lg" onClick="location.href='index2.html'">Compare</button>
<button type="button" class="btn btn-default btn-lg" onClick="location.href = 'index3.html'">Ranking</button>
<!-- <input type=button onClick="location.href='index.html'" value='click here'>-->
</div>
</div>
</div>
<!-- /top navigation -->
<!-- style="text-align:center;" -->
<!-- page content -->
<div class="right_col" role="main">
<!-- top tiles -->
<div class="row tile_count">
</div>
<div class="row">
<div class="col-md-5c col-sm-5c col-xs-12c">
<div class="x_panel tile fixed_height_320">
<div class="x_title">
<h2>Tournament Performance</h2>
<div class="clearfix"></div>
</div>
<div class="x_content">
<!--grafico radial--> <div id="chart5"></div>
<script src="js/radialBarChart.js"></script>
</div>
</div>
</div>
<div class="col-md-5c col-sm-5c col-xs-12c">
<div class="x_panel tile fixed_height_320 ">
<div class="x_title">
<h2>Surface Influence on Ranking & Perfomance</h2>
<div class="clearfix"></div>
</div>
<div class="x_content">
<div id="surfacelinearchart" class="surfacelinegraph"></div>
</div>
<div class="legenda2" style="border-size:2px; border-width: 2px;border-style:solid; border-color:#E9E9E9; border-radius: 5px;">
<li><span id="A" onclick="changeYear1(0)" class="A"></span>  2010</li>
<li><span id="B" onclick="changeYear1(1)" class="B"></span>  2011</li>
<li><span id="C" onclick="changeYear1(2)" class="C"></span>  2012</li>
<li><span id="D" onclick="changeYear1(3)" class="D"></span>  2013</li>
<li><span id="E" onclick="changeYear1(4)" class="E"></span>  2014</li>
<li><span id="F" onclick="changeYear1(5)" class="F"></span>  2015</li>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-md-5c col-sm-5c col-xs-12c">
<div class="x_panel fixed_height_390">
<div class="x_title">
<h2>Tournament Stats </h2>
<div class="clearfix"></div>
</div>
<div class="check_tournament_hard">
<input type="checkbox" id="cb1" name="cb"value="" onchange = "select_australian('1')">
<label for="cb1">Australian Open</label>
</div>
<div class="check_tournament_clay">
<input type="checkbox" id="cb2" name="cb" value="" onchange = "select_roland('1')">
<label for="cb2">Roland Garros</label>
</div>
<div class="check_tournament_grass">
<input type="checkbox" id="cb3" name="cb" value="" onchange = "select_wimbledon('1')">
<label for="cb3">Wimbledon</label>
</div>
<div class="check_tournament_hard2">
<input type="checkbox" id="cb4" name="cb" value="" onchange = "select_usa('1')">
<label for="cb4">USA Open</label>
</div>
<div class="x_content_tournament">
<div id="radar">
<div id="chart"></div>
</div>
</div>
</div>
</div>
<div class="col-md-5c col-sm-5c col-xs-12c">
<div class="x_panel fixed_height_390">
<div class="x_title">
<h2>Surface Influence on Performance Stats </h2>
<div class="clearfix"></div>
</div>
<form action="">
<div class="check_hard">
<input type="checkbox" id="cs1" name="cs"value="" onchange = "select_hard('1')">
<label for="cs1">Hard</label>
</div>
<div class="check_clay">
<input type="checkbox" id="cs2" name="cs" value="" onchange = "select_clay('1')">
<label for="cs2">Clay</label>
</div>
<div class="check_grass">
<input type="checkbox" id="cs3" name="cs" value="" onchange = "select_grass('1')">
<label for="cs3">Grass</label>
</div>
</form>
<div class="x_content_surface">
<div id="surfaceradar">
<div id="surfacechart"></div>
</div>
</div>
<div class="row">
</div>
</div>
</div>
</div>
<!-- footer content -->
<footer>
<div class="">
<p class="pull-right">Visualização de Informação <a>Grupo 5 Alameda</a>.
</p>
</div>
</footer>
<!-- /footer content -->
</div>
<!-- /page content -->
</div>
</div>
</body>
</html>