-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbinary.html
More file actions
67 lines (62 loc) · 1.88 KB
/
binary.html
File metadata and controls
67 lines (62 loc) · 1.88 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<title>D++</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!--link rel="shortcut icon" type="image/jpg" href="taproot.ico"/-->
<base target="_blank"/>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">
<link rel="stylesheet" href="files/style.css">
<script src="https://cdn.rawgit.com/davidshimjs/qrcodejs/gh-pages/qrcode.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"></script>
<style>
@import url('https://fonts.googleapis.com/css2?family=PT+Sans+Narrow:wght@400;700&family=Roboto:wght@300;400;500&display=swap');
</style>
<script src="files/words.js"></script>
<style>
td {
text-align: left;
padding: 5px;
}
#words {
padding-top:20px;
font-family: monospace;
display: inline-block;
}
#words table {
border-collapse: collapse;
width: 100%;
}
#words tr:nth-child(even) {
background-color: #f9f9f9;
}
#words tr:nth-child(odd) {
background-color: #ffffff;
}
</style>
</head>
<body>
<header>
<!--img src="images/Title.png" style="width:500px; max-width:95%"-->
</header>
<br>
<h3>BIP 39 Binary Word List</h3>
<center>
<div id="words"></div>
</center>
</body>
<script src="files/footer.js"></script>
<script>
$(document).ready(function() {
var tableContent = "<table><tbody>";
for (var i = 0; i < wordlist.length; i++) {
tableContent += "<tr><td>" + i.toString(2).padStart(11, '0') + " </td><td>" + wordlist[i] + "</td></tr>";
}
tableContent += "</tbody></table>";
$('#words').html(tableContent);
});
</script>
</html>