forked from LukeBurgessYeo/basic-ulti-stats
-
Notifications
You must be signed in to change notification settings - Fork 1
/
game.html
198 lines (192 loc) · 8.53 KB
/
game.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title id="title">Basic Ultimate Stats</title>
<link rel="stylesheet" href="css/bootstrap.min.css" type="text/css">
<link rel="stylesheet" href="css/style.css" type="text/css">
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/bootstrap.min.js"></script>
<script type="text/javascript" src="js/script.js"></script>
</head>
<body>
<nav class="navbar navbar-inverse">
<div class="container-fluid">
<div class="navbar-header">
<a class="navbar-brand" href="https://github.com/LukeBurgessYeo/basic-ulti-stats/tree/gh-pages">Basic Ultimate Stats Tracking</a>
<a href="index.html"><button class="btn btn-primary">Back to game list</button></a>
</div>
</div>
</nav>
<h1 class="text-primary text-center" id="gameTitle" contentEditable>Click Title And Team Names To Edit</h1>
<div class="container-fluid">
<div class="row">
<div class="col-xs-5 text-right offense">
<h5 id="team1mode">Offense</h5></div>
<div class="col-xs-2 text-center">
<h5>Score</h5></div>
<div class="col-xs-5 text-left defense">
<h5 id="team2mode">Defense</h5></div>
</div>
<div class="row">
<div class="col-xs-5 text-right offense">
<h4 id="team1name" style="color: yellow;" contentEditable>Offense Team Name</h4></div>
<div class="col-xs-1 text-center">
<h4 id="team1score">0</h4></div>
<div class="col-xs-1 text-center">
<h4 id="team2score">0</h4></div>
<div class="col-xs-5 text-left defense">
<h4 id="team2name" contentEditable>Defense Team Name</h4></div>
</div>
<br>
<div class="row">
<div class="col-xs-12 col-md-3 text-center"><button class="btn btn-lg btn-danger" id="turnover">Turnover</button></div>
<div class="col-xs-12 col-md-3 text-center"><button class="btn btn-lg btn-success" id="score">Score</button></div>
<div class="col-xs-12 col-md-3 text-center"><button class="btn btn-lg btn-primary" disabled="true" id="halftime">Halftime</button></div>
<div class="col-xs-12 col-md-3 text-center"><button class="btn btn-lg btn-warning" disabled="true" id="undo">Undo</button></div>
<div class="col-xs-12 col-md-3 text-center hidden"><button class="btn btn-lg btn-warning" id="edit">Edit Game</button></div>
</div>
<br>
<div class="row">
<div class="col-md-1"></div>
<div class="col-xs-12 col-md-4">
<div class="row text-center" id="rawData">
<table id='data' class='table table-bordered table-condensed'>
<tbody>
<tr>
<th colspan="2" class="team1">Offense Team Name</th>
<th class="notop">
</th>
<th colspan="2" class="team2">Defense Team Name</th>
</tr>
<tr>
<th>Turns</th>
<th>O/D</th>
<th>Score</th>
<th>O/D</th>
<th>Turns</th>
</tr>
</tbody>
<tbody id="pointByPoint">
</tbody>
</table>
</div>
</div>
<div class="col-md-2"></div>
<div class="col-xs-12 col-md-4">
<div class="row text-center" id="computedData">
<table class="table table-bordered table-condensed">
<tr>
<th colspan="2" class="team1">Offense Team Name</th>
<th class="notop">
</th>
<th colspan="2" class="team2">Defense Team Name</th>
</tr>
<tr>
<th>O</th>
<th>D</th>
<th></th>
<th>O</th>
<th>D</th>
</tr>
<tr>
<td id="ppO1">0</td>
<td id="ppD1">0</td>
<td>Points Played</td>
<td id="ppO2">0</td>
<td id="ppD2">0</td>
</tr>
<tr>
<td id="gsO1">0</td>
<td id="gsD1">0</td>
<td>Goals Scored</td>
<td id="gsO2">0</td>
<td id="gsD2">0</td>
</tr>
<tr>
<td id="toO1">0</td>
<td id="toD1">0</td>
<td>Turnovers</td>
<td id="toO2">0</td>
<td id="toD2">0</td>
</tr>
<tr>
<td id="blO1">0</td>
<td id="blD1">0</td>
<td>Blocks</td>
<td id="blO2">0</td>
<td id="blD2">0</td>
</tr>
<tr>
<td id="brO1">-0</td>
<td id="brD1">0</td>
<td>Breaks</td>
<td id="brO2">-0</td>
<td id="brD2">0</td>
</tr>
<tr>
<td id="ntO1">0</td>
<td id="ntD1">0</td>
<td>No Turn Goals</td>
<td id="ntO2">0</td>
<td id="ntD2">0</td>
</tr>
<tr>
<td id="gtO1">0</td>
<td id="gtD1">0</td>
<td>Goals With Turns</td>
<td id="gtO2">0</td>
<td id="gtD2">0</td>
</tr>
<tr>
<td id="hdO1">0</td>
<td id="hdD1">0</td>
<td>Had Disc Points</td>
<td id="hdO2">0</td>
<td id="hdD2">0</td>
</tr>
<tr>
<td id="crO1">0%</td>
<td id="crD1">0%</td>
<td>Conversion %</td>
<td id="crO2">0%</td>
<td id="crD2">0%</td>
</tr>
<tr>
<td id="pcO1">0%</td>
<td id="pcD1">0%</td>
<td>Perfect Conversion %</td>
<td id="pcO2">0%</td>
<td id="pcD2">0%</td>
</tr>
<tr>
<td id="mtO1">0</td>
<td id="mtD1">0</td>
<td>Mean Turns Per Point</td>
<td id="mtO2">0</td>
<td id="mtD2">0</td>
</tr>
<tr>
<td id="rrO1">0%</td>
<td id="rrD1">0%</td>
<td>Recovery %</td>
<td id="rrO2">0%</td>
<td id="rrD2">0%</td>
</tr>
<tr>
<td></td>
<td id="ds1">0%</td>
<td>Defensive Success Rate</td>
<td></td>
<td id="ds2">0%</td>
</tr>
</table>
</div>
</div>
<div class="col-md-1"></div>
</div>
</div>
</body>
</html>