-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
executable file
·85 lines (71 loc) · 2.33 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
<!doctype html>
<html class="no-js" lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Get yer dice rolls here</title>
<meta name="description" content="This is a simple js script that will give you the odds for rolling a certain number with a set of dice that you determine.">
<meta name="author" content="Alex Zelenskiy">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="css/style.css">
<script src="js/libs/modernizr-2.0.6.min.js"></script>
<link href='http://fonts.googleapis.com/css?family=Kreon:400,700' rel='stylesheet' type='text/css'>
</head>
<body>
<div id="container">
<header>
<h1 id="title">Dice Roll Result Probability Generator... thing.</h1>
</header>
<div id="main" role="main">
<form id="dice">
<ol>
<li>
<label>
<input class="die-field" type="number" min="2" max="20" step="1" value="6">
<p>Sides</p>
</label>
</li>
<li>
<label>
<input class="die-field" type="number" min="2" max="20" step="1" value="6">
<p>Sides</p>
</label>
</li>
</ol>
<a href="#" id="add-dice">Add Die!</a>
<a href="#" id="calculate">CALCULATE!</a>
</form>
<div id="data">
<table id="results">
<tr class="header-row">
<th>Result</th>
<th>Combinations</th>
<th>Percent Odds</th>
</tr>
</table>
<div id="total">
0
</div>
<ol id="directions">
<li>Choose number of dice and sides per die on the left</li>
<li>Click calculate!</li>
<li>Click multiple table rows to see combined percentage</li>
</ol>
</div>
</div>
<footer>
<p>dumb project by alex zelenskiy. all rights left.</p>
</footer>
</div> <!--! end of #container -->
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="js/libs/jquery-1.6.2.min.js"><\/script>')</script>
<!-- scripts concatenated and minified via ant build script-->
<script src="js/plugins.js"></script>
<script src="js/script.js"></script>
<!-- end scripts-->
<!--[if lt IE 7 ]>
<script src="//ajax.googleapis.com/ajax/libs/chrome-frame/1.0.2/CFInstall.min.js"></script>
<script>window.attachEvent("onload",function(){CFInstall.check({mode:"overlay"})})</script>
<![endif]-->
</body>
</html>