-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
304 lines (258 loc) · 15.5 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-2Y43BQ5433"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-2Y43BQ5433');
gtag('config', 'UA-115566042-2');
</script>
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js" integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js" integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy" crossorigin="anonymous"></script>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.5.0/css/all.css" integrity="sha384-B4dIYHKNBt8Bc12p+WXckhzcICo0wtJAoU8YZTY5qE0Id1GSseTk6S+L3BlXeVIU" crossorigin="anonymous">
<script src="basevalues.js"></script>
<script src="script.js"></script>
<link rel="stylesheet" type="text/css" href="style.css">
<title>SkateCalc</title>
</head>
<body>
<div class="alert alert-warning alert-dismissible fade show" role="alert">
<strong>FSCalc is now SkateCalc!</strong> You can find us at <a href="https://www.skatecalc.com">www.skatecalc.com</a>
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<h1>SkateCalc</h1>
<div class="container-fluid m-0 p-0">
<div class="row">
<div class="col-md-6">
<!-- <h5>Selected element</h5> -->
<div id="elem-disp-div">
<!-- <p id="elem-disp"><span id=goeDisplay>test</span></p> -->
<span id="elem-disp">Element</span><span id="goeDisplay">GOE</span>
</div>
<nav>
<div class="nav nav-tabs" id="ele-sel-nav-tab" role="tablist">
<a class="nav-item nav-link active" id="nav-jmp-tab" data-toggle="tab" href="#nav-jmp" role="tab" aria-controls="nav-jmp" aria-selected="true">Jumps</a>
<a class="nav-item nav-link" id="nav-sp-tab" data-toggle="tab" href="#nav-sp" role="tab" aria-controls="nav-sp" aria-selected="false">Spins</a>
<a class="nav-item nav-link" id="nav-seq-tab" data-toggle="tab" href="#nav-seq" role="tab" aria-controls="nav-seq" aria-selected="false">Sequences</a>
<a class="nav-item nav-link" id="nav-pcs-tab" data-toggle="tab" href="#nav-pcs" role="tab" aria-controls="nav-pcs" aria-selected="false">PCS</a>
</div>
</nav>
<div class="tab-content" id="nav-tabContent">
<div class="tab-pane fade show active nav-jmp" id="nav-jmp" role="tabpanel" aria-labelledby="nav-jmp-tab">
<h3>Add Jump</h3>
<h6>Type</h6>
<div class="btn-group setName">
<button type="button" class="btn btn-outline-primary">A</button>
<button type="button" class="btn btn-outline-primary">T</button>
<button type="button" class="btn btn-outline-primary">S</button>
<button type="button" class="btn btn-outline-primary">Lo</button>
<button type="button" class="btn btn-outline-primary">F</button>
<button type="button" class="btn btn-outline-primary">Lz</button>
<button type="button" class="btn btn-outline-primary">Eu</button>
</div>
<h6>Rotations</h6>
<div class="btn-group setLOD">
<button type="button" class="btn btn-outline-primary">0</button>
<button type="button" class="btn btn-outline-primary">1</button>
<button type="button" class="btn btn-outline-primary">2</button>
<button type="button" class="btn btn-outline-primary">3</button>
<button type="button" class="btn btn-outline-primary">4</button>
</div>
<h6>Info</h6>
<div class="btn-group">
<button type="button" class="btn btn-outline-primary addJump">+</button>
<button type="button" class="btn btn-outline-primary setUr"><</button>
<button type="button" class="btn btn-outline-primary setDg"><<</button>
<button type="button" class="btn btn-outline-primary setEdge">e</button>
<button type="button" class="btn btn-outline-primary setREP">+REP</button>
<button type="button" class="btn btn-outline-primary setBonus">x</button>
<button type="button" class="btn btn-outline-primary setInvalid">*</button>
</div>
<div class="goe-sel">
<h6>GOE</h6>
<div class="btn-toolbar setGOE" role="toolbar" aria-label="GOE Selector">
<div class="btn-group pr-2" role="group" aria-label="pos GOE">
<button type="button" class="btn btn-danger">-5</button>
<button type="button" class="btn btn-outline-danger">-4</button>
<button type="button" class="btn btn-outline-danger">-3</button>
<button type="button" class="btn btn-outline-danger">-2</button>
<button type="button" class="btn btn-outline-danger">-1</button>
</div>
<div class="btn-group" role="group" aria-label="zero GOE">
<button type="button" class="btn btn-dark">0</button>
</div>
<div class="btn-group pl-2" role="group" aria-label="neg GOE">
<button type="button" class="btn btn-outline-success">1</button>
<button type="button" class="btn btn-outline-success">2</button>
<button type="button" class="btn btn-outline-success">3</button>
<button type="button" class="btn btn-outline-success">4</button>
<button type="button" class="btn btn-success">5</button>
</div>
</div>
</div>
<div>
<button type="button" class="btn btn-outline-danger clearEntry">Clear Entry</button>
<button type="button" class="btn btn-outline-success addElement">Add Element</button>
</div>
</div>
<div class="tab-pane fade nav-sp" id="nav-sp" role="tabpanel" aria-labelledby="nav-sp-tab">
<h3>Add Spin</h3>
<h6>Type</h6>
<div class="btn-group setName">
<button type="button" class="btn btn-outline-dark">USp</button>
<button type="button" class="btn btn-outline-dark">LSp</button>
<button type="button" class="btn btn-outline-dark">CSp</button>
<button type="button" class="btn btn-outline-dark">SSp</button>
<button type="button" class="btn btn-outline-dark">CoSp</button>
</div>
<h6>Level</h6>
<div class="btn-group setLOD">
<button type="button" class="btn btn-outline-dark">0</button>
<button type="button" class="btn btn-outline-dark">B</button>
<button type="button" class="btn btn-outline-dark">1</button>
<button type="button" class="btn btn-outline-dark">2</button>
<button type="button" class="btn btn-outline-dark">3</button>
<button type="button" class="btn btn-outline-dark">4</button>
</div>
<h6>Info</h6>
<div class="btn-group">
<button type="button" class="btn btn-outline-dark setFly">F</button>
<button type="button" class="btn btn-outline-dark setCOF">C</button>
<button type="button" class="btn btn-outline-dark setSpinV">V</button>
<button type="button" class="btn btn-outline-dark setInvalid">*</button>
</div>
<div class="goe-sel">
<h6>GOE</h6>
<div class="btn-toolbar setGOE" role="toolbar" aria-label="GOE Selector">
<div class="btn-group pr-2" role="group" aria-label="pos GOE">
<button type="button" class="btn btn-danger">-5</button>
<button type="button" class="btn btn-outline-danger">-4</button>
<button type="button" class="btn btn-outline-danger">-3</button>
<button type="button" class="btn btn-outline-danger">-2</button>
<button type="button" class="btn btn-outline-danger">-1</button>
</div>
<div class="btn-group" role="group" aria-label="zero GOE">
<button type="button" class="btn btn-dark">0</button>
</div>
<div class="btn-group pl-2" role="group" aria-label="neg GOE">
<button type="button" class="btn btn-outline-success">1</button>
<button type="button" class="btn btn-outline-success">2</button>
<button type="button" class="btn btn-outline-success">3</button>
<button type="button" class="btn btn-outline-success">4</button>
<button type="button" class="btn btn-success">5</button>
</div>
</div>
</div>
<div>
<button type="button" class="btn btn-outline-danger clearEntry">Clear Entry</button>
<button type="button" class="btn btn-outline-success addElement">Add Element</button>
</div>
</div>
<div class="tab-pane fade nav-seq" id="nav-seq" role="tabpanel" aria-labelledby="nav-seq-tab">
<h3>Add Sequence</h3>
<h6>Type</h6>
<div class="btn-group setName">
<button type="button" class="btn btn-outline-info">StSq</button>
<button type="button" class="btn btn-outline-info">ChSq</button>
</div>
<h6>Level</h6>
<div class="btn-group setLOD">
<button type="button" class="btn btn-outline-info">0</button>
<button type="button" class="btn btn-outline-info">B</button>
<button type="button" class="btn btn-outline-info">1</button>
<button type="button" class="btn btn-outline-info">2</button>
<button type="button" class="btn btn-outline-info">3</button>
<button type="button" class="btn btn-outline-info">4</button>
</div>
<h6>Info</h6>
<div class="btn-group">
<button type="button" class="btn btn-outline-info setInvalid">*</button>
</div>
<div class="goe-sel">
<h6>GOE</h6>
<div class="btn-toolbar setGOE" role="toolbar" aria-label="GOE Selector">
<div class="btn-group pr-2" role="group" aria-label="pos GOE">
<button type="button" class="btn btn-danger">-5</button>
<button type="button" class="btn btn-outline-danger">-4</button>
<button type="button" class="btn btn-outline-danger">-3</button>
<button type="button" class="btn btn-outline-danger">-2</button>
<button type="button" class="btn btn-outline-danger">-1</button>
</div>
<div class="btn-group" role="group" aria-label="zero GOE">
<button type="button" class="btn btn-dark">0</button>
</div>
<div class="btn-group pl-2" role="group" aria-label="neg GOE">
<button type="button" class="btn btn-outline-success">1</button>
<button type="button" class="btn btn-outline-success">2</button>
<button type="button" class="btn btn-outline-success">3</button>
<button type="button" class="btn btn-outline-success">4</button>
<button type="button" class="btn btn-success">5</button>
</div>
</div>
</div>
<div>
<button type="button" class="btn btn-outline-danger clearEntry">Clear Entry</button>
<button type="button" class="btn btn-outline-success addElement">Add Element</button>
</div>
</div>
<div class="tab-pane fade nav-pcs" id="nav-pcs" role="tabpanel" aria-labelledby="nav-pcs-tab">
<h3>Program Component Score</h3>
<p id="factor"><span>Factor: </span><span><input type="number" id="pcs-factor-box" class="pcs" value="1.67"></span></p>
<!-- <p><label for="pcs-tr">Transitions</label> <input type="number" value ="0.00" class="pcs" id="pcs-tr-box" min="0" max="10" step="0.25"></p>
<p> <input type="range" class="custom-range pcs-slider" value ="0.00" min="0" max="10" step="0.25" id="pcs-tr-slider"></p>
-->
<p><label for="pcs-co">Composition</label> <input type="number" value ="0.00" class="pcs" id="pcs-co-box" min="0" max="10" step="0.25"></p>
<p> <input type="range" class="custom-range pcs-slider" value ="0.00" min="0" max="10" step="0.25" id="pcs-co-slider"></p>
<p><label for="pcs-pr">Presentation</label> <input type="number" value ="0.00" class="pcs" id="pcs-pr-box" min="0" max="10" step="0.25"></p>
<p> <input type="range" class="custom-range pcs-slider" value ="0.00" min="0" max="10" step="0.25" id="pcs-pr-slider"></p>
<p><label for="pcs-ss">Skating Skills</label> <input type="number" value ="0.00" class="pcs" id="pcs-ss-box" min="0" max="10" step="0.25"></p>
<p> <input type="range" class="custom-range pcs-slider" value ="0.00" min="0" max="10" step="0.25" id="pcs-ss-slider"></p>
<!-- <p><label for="pcs-in">Interpretation of the Music</label> <input type="number" id="pcs-in-box" value ="0.00" class="pcs" min="0" max="10" step="0.25"></p>
<p> <input type="range" class="custom-range pcs-slider" value ="0.00" min="0" max="10" step="0.25" id="pcs-in-slider"></p> -->
</div>
</div>
</div>
<div class="col-md-6">
<table class="table table-striped">
<thead>
<tr>
<th scope="col">#</th>
<th scope="col">Executed Element</th>
<th scope="col">Base Value</th>
<th scope="col">GOE</th>
<th scope="col">GOE Value</th>
<th scope="col">Score</th>
<th scope="col"></th>
</tr>
</thead>
<tbody class="displayTable">
<!-- <tr>
<td>1</td>
<td>1A<*</td>
<td>1.1</td>
<td>+4</td>
<td>0.5</td>
<td>1.6</td>
<td><i class="delete far fa-trash-alt"></i></td>
</tr> -->
</tbody>
</table>
<p id="tes-box"><span>Technical Element Score: </span><span id="tes">0.00</span></p>
<p id="pcs-box"><span>Program Component Score: </span><span id="pcs">0.00</span></p>
<p id="tss-box"><span>Total Segment Score: </span><span id="tss">0.00</span></p>
</div>
</div>
<hr />
<p><small>version 0.2.3 · <a href="https://github.com/hjjerrychen/skatecalc">GitHub</a></small></p>
</div>
</body>
</html>