diff options
-rw-r--r-- | src/index.html | 13 | ||||
-rw-r--r-- | tests.js | 1 |
2 files changed, 13 insertions, 1 deletions
diff --git a/src/index.html b/src/index.html index fcc29d4..7fc895f 100644 --- a/src/index.html +++ b/src/index.html | |||
@@ -97,7 +97,7 @@ | |||
97 | <div class="entropy-container hidden"> | 97 | <div class="entropy-container hidden"> |
98 | <div class="form-group"> | 98 | <div class="form-group"> |
99 | <label for="entropy" class="col-sm-2 control-label">Entropy</label> | 99 | <label for="entropy" class="col-sm-2 control-label">Entropy</label> |
100 | <div class="col-sm-10"> | 100 | <div class="col-sm-6"> |
101 | <input id="entropy" class="entropy form-control" placeholder="Accepts binary, base 6, 6-sided dice, base 10, hexadecimal, cards"> | 101 | <input id="entropy" class="entropy form-control" placeholder="Accepts binary, base 6, 6-sided dice, base 10, hexadecimal, cards"> |
102 | <span class="help-block"> | 102 | <span class="help-block"> |
103 | <div class="text-danger"> | 103 | <div class="text-danger"> |
@@ -107,6 +107,17 @@ | |||
107 | </div> | 107 | </div> |
108 | </span> | 108 | </span> |
109 | </div> | 109 | </div> |
110 | <div class="col-sm-4"> | ||
111 | <p>Valid entropy values include:</p> | ||
112 | <ul> | ||
113 | <li>Binary: [0-1] eg 101010011</li> | ||
114 | <li>Base 6: [0-5] eg 123434014</li> | ||
115 | <li>Dice: [1-6] eg 62535634</li> | ||
116 | <li>Base 10: [0-9] eg 90834528</li> | ||
117 | <li>Hex: [0-9A-F] eg 4187a8bfd9</li> | ||
118 | <li>Card: [A2-9TJQK][CDHS] eg AHQS9DTC</li> | ||
119 | </ul> | ||
120 | </div> | ||
110 | </div> | 121 | </div> |
111 | <div class="entropy-feedback"> | 122 | <div class="entropy-feedback"> |
112 | <div class="form-group"> | 123 | <div class="form-group"> |
@@ -2304,6 +2304,7 @@ page.open(url, function(status) { | |||
2304 | "dice", | 2304 | "dice", |
2305 | "base 10", | 2305 | "base 10", |
2306 | "hexadecimal", | 2306 | "hexadecimal", |
2307 | "cards", | ||
2307 | ]; | 2308 | ]; |
2308 | for (var i=0; i<options.length; i++) { | 2309 | for (var i=0; i<options.length; i++) { |
2309 | var option = options[i]; | 2310 | var option = options[i]; |