Skip to content

Commit 31441f2

Browse files
Explainer buttons
1 parent f75bb90 commit 31441f2

File tree

3 files changed

+18
-0
lines changed

3 files changed

+18
-0
lines changed

dist/index.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1493,6 +1493,10 @@ <h4>BIP39: Mnemonic code for generating deterministic keys</h4>
14931493
<button class="btn" id="lastWordLoad" onclick="loadLastWordSeed()" disabled>Load Seed</button>
14941494
</section>
14951495
<section id="singleAddressTool" class="bip39ToolSection hidden">
1496+
<button class="btn" title="Click to learn more about The Single Address Tool"
1497+
onclick="openInfoModal(event, 'SINGLE_ADDRESS')">
1498+
The Single Address Tool Explained
1499+
</button><br>
14961500
<fieldset>
14971501
<legend>Select a signature type:</legend>
14981502

@@ -190519,6 +190523,11 @@ <h3>Warning</h3>
190519190523
may not sound much, but losing one bit of entropy halves the number of possibilities that your entropy hides in. Losing seven bits reduces that number of possibilities
190520190524
roughly 130 times over.
190521190525
</p>`,
190526+
SINGLE_ADDRESS: /*html*/ `
190527+
<h3>Single Address Tool</h3>
190528+
<p>
190529+
Single Address Tool Explainer goes here.
190530+
</p>`,
190522190531
MULTISIG: /*html*/ `
190523190532
<h3>Multisig</h3>
190524190533
<p>

src/www/dev.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -853,6 +853,10 @@ <h4>BIP39: Mnemonic code for generating deterministic keys</h4>
853853
<button class="btn" id="lastWordLoad" onclick="loadLastWordSeed()" disabled>Load Seed</button>
854854
</section>
855855
<section id="singleAddressTool" class="bip39ToolSection hidden">
856+
<button class="btn" title="Click to learn more about The Single Address Tool"
857+
onclick="openInfoModal(event, 'SINGLE_ADDRESS')">
858+
The Single Address Tool Explained
859+
</button><br>
856860
<fieldset>
857861
<legend>Select a signature type:</legend>
858862

src/www/js/info.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -493,6 +493,11 @@ window.infoHtml = {
493493
may not sound much, but losing one bit of entropy halves the number of possibilities that your entropy hides in. Losing seven bits reduces that number of possibilities
494494
roughly 130 times over.
495495
</p>`,
496+
SINGLE_ADDRESS: /*html*/ `
497+
<h3>Single Address Tool</h3>
498+
<p>
499+
Single Address Tool Explainer goes here.
500+
</p>`,
496501
MULTISIG: /*html*/ `
497502
<h3>Multisig</h3>
498503
<p>

0 commit comments

Comments
 (0)