6
6
< meta name ="viewport " content ="width=device-width, initial-scale=1 ">
7
7
<!--link rel="shortcut icon" type="image/jpg" href="taproot.ico"/-->
8
8
< base target ="_blank "/>
9
- < link rel ="stylesheet " href ="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css " integrity =" sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T " crossorigin =" anonymous " >
9
+ < link rel ="stylesheet " href ="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css ">
10
10
< link rel ="stylesheet " href ="files/style.css ">
11
11
< script src ="https://cdn.rawgit.com/davidshimjs/qrcodejs/gh-pages/qrcode.min.js "> </ script >
12
12
< script src ="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js "> </ script >
13
- < script src ="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js " integrity =" sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1 " crossorigin =" anonymous " > </ script >
14
- < script src ="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js " integrity =" sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM " crossorigin =" anonymous " > </ script >
13
+ < script src ="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js "> </ script >
14
+ < script src ="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js "> </ script >
15
15
< style >
16
16
@import url ('https://fonts.googleapis.com/css2?family=PT+Sans+Narrow:wght@400;700&family=Roboto:wght@300;400;500&display=swap' );
17
17
</ style >
18
18
< script src ="files/words.js "> </ script >
19
19
< style >
20
20
td {
21
- text-align : left;
22
- padding : 2px ;
21
+ text-align : left;
22
+ padding : 5px ;
23
+ }
24
+ # words {
25
+ padding-top : 20px ;
26
+ font-family : monospace;
27
+ display : inline-block;
28
+ }
29
+ # words table {
30
+ border-collapse : collapse;
31
+ width : 100% ;
32
+ }
33
+ # words tr : nth-child (even) {
34
+ background-color : # f9f9f9 ;
35
+ }
36
+ # words tr : nth-child (odd) {
37
+ background-color : # ffffff ;
23
38
}
24
-
25
39
</ style >
26
40
</ head >
27
41
< body >
28
42
< header >
29
- <!--img src=images/Title.png style="width:500px; max-width:95%"-->
43
+ <!--img src=" images/Title.png" style="width:500px; max-width:95%"-->
30
44
</ header >
31
45
< br >
32
- < h3 > BIP 39 Dictionary </ h3 >
46
+ < h3 > BIP 39 Binary Word List </ h3 >
33
47
34
48
< center >
35
49
< div id ="words "> </ div >
@@ -40,11 +54,14 @@ <h3>BIP 39 Dictionary</h3>
40
54
< script src ="files/footer.js "> </ script >
41
55
42
56
< script >
43
- $ ( '#words' ) . append ( "<table>" ) ;
44
- for ( var i = 0 ; i < wordlist . length ; i ++ ) {
45
- $ ( '#words' ) . append ( "<tr><td>" + i . toString ( 2 ) . padStart ( 11 , '0' ) + ") </td><td>" + wordlist [ i ] + "</td></tr>" ) ;
46
- }
47
- $ ( '#words' ) . append ( "</table>" ) ;
57
+ $ ( document ) . ready ( function ( ) {
58
+ var tableContent = "<table><tbody>" ;
59
+ for ( var i = 0 ; i < wordlist . length ; i ++ ) {
60
+ tableContent += "<tr><td>" + i . toString ( 2 ) . padStart ( 11 , '0' ) + " </td><td>" + wordlist [ i ] + "</td></tr>" ;
61
+ }
62
+ tableContent += "</tbody></table>" ;
63
+ $ ( '#words' ) . html ( tableContent ) ;
64
+ } ) ;
48
65
</ script >
49
66
50
67
</ html >
0 commit comments