-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathonePointsSliderToRuleThemAll.html
42 lines (42 loc) · 1.4 KB
/
onePointsSliderToRuleThemAll.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<script type="text/javascript" data-main="js/main.js" src="js/lib/require-2.3.5.js"></script>
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="css/calculator.css">
<title>PointJs</title>
</head>
<body>
<input type="range"
data-bind="
value: pointsMaster,
attr: { min: 0, max: 1500 },
valueUpdate: 'input'"
class="slider"
>
<b>Points: <output data-bind="value: pointsMaster"></output></b>
<table class="table table-condensed table-hover table-striped">
<thead><tr>
<th>Event</th><th>Performance</th><th></th>
</tr></thead>
<tbody data-bind="foreach: eventCalculators.calculatorArray">
<tr>
<td data-bind="text: eventName"></td>
<td>
<input type="range"
data-bind="
value: performanceOutput,
attr: { min: performanceMin, max: performanceMax },
valueUpdate: 'input'"
class="slider"
>
</td>
<td>
<output data-bind="value: performanceOutputFormatted"></output>
</td>
</tr>
</tbody>
</table>
</body>
</html>