-
Notifications
You must be signed in to change notification settings - Fork 0
/
treasures-jewels.html
68 lines (68 loc) · 2.34 KB
/
treasures-jewels.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<script src="scr/boot.js"></script>
<script src="scr/treas.js"></script>
<script src="dat/jewels.js"></script>
</head>
<body>
<h1><span data-lng="jewels"></span></h1>
<dl id="filter" class="subnav">
<dt><span data-lng="avg_value"></span></dt>
<dd data-filter-erase class="reset">×</dd>
</dl>
<div class="row">
<div class="col s0 m6">
<table id="table" class="vanilla">
<thead>
<tr>
<th><span data-lng="jewel"></span><span data-sort="name-asc"></span><span data-sort="name-desc"></span></th>
<th><span data-lng="value"></span><span data-sort="value-asc" class="active"></span><span data-sort="value-desc"></span></th>
<th class="hide-screen"><span data-lng="desc"></span></th>
<th><span data-lng="id"></span></th>
</tr>
</thead>
<tbody></tbody>
</table>
</div>
<div class="col s0 m4 hide-print">
<div id="rand">
<div class="box margin">
<fieldset>
<legend data-lng="generate"></legend>
<button data-generate><i class="random"></i></button>
<small> ×<span data-roll>0</span></small>
<input type="range" value="100" step="5" min="0" max="100" data-prob>
<small><output>100</output><span class="percent">%</span></small>
<button style="margin-left: .5rem;" data-reset><i class="eraser"></i></button>
</fieldset>
</div>
<div class="box margin border" style="display: none;" data-box>
<div class="clear transparent" style="display: none;" data-null>
<div class="left small">×<span data-null-roll>0</span></div>
<div class="left" data-lng="nothing"></div>
</div>
<div data-out></div>
<div class="clear" style="margin-top: 1rem; padding-top: 1rem; border-top: 1px dotted silver; display: none;" data-sum>
<div class="left small">
×<span data-sum-roll>0</span>
</div>
<div class="left" data-lng="total"></div>
<div class="right">
<span data-sum-value>0</span> <span data-sum-currency></span>
</div>
</div>
</div>
</div>
<div id="desc" class="box margin border" style="display: none;"></div>
</div>
</div>
<script>
window.onload = function() {
initialize();
treasures.init({"data" : $jewels});
};
</script>
</body>
<html>