Skip to content

Commit

Permalink
Add new templates from brianxv15
Browse files Browse the repository at this point in the history
  • Loading branch information
zquestz committed Jun 5, 2019
1 parent 4179083 commit fac7971
Show file tree
Hide file tree
Showing 3 changed files with 80 additions and 48 deletions.
64 changes: 40 additions & 24 deletions cashaddress.org.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/bitaddress-ui.html
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@
<div id="papercommands" class="row">
<span><label id="paperlabelhideart" for="paperart">Hide Art?</label> <input type="checkbox" id="paperart" onchange="ninja.wallets.paperwallet.toggleArt(this);" /></span>
<span><label id="paperlabeladdressestogenerate" for="paperlimit">Addresses to generate:</label> <input type="text" id="paperlimit" /></span>
<span><label>Template:</label> <select id="papertemplate"><option value="default">Default</option><option value="chinesenewyear">Chinese New Year</option></select></span>
<span><label>Template:</label> <select id="papertemplate"><option value="default">Default</option><option value="chinesenewyear">Chinese New Year</option><option value="ronin">Ronin</option><option value="screwdriver">Screwdriver</option></select></span>
<span><input type="button" id="papergenerate" value="Generate" onclick="ninja.wallets.paperwallet.build(document.getElementById('paperlimit').value * 1, document.getElementById('paperlimitperpage').value * 1, !document.getElementById('paperart').checked, document.getElementById('paperpassphrase').value);" /></span>
<span class="print"><input type="button" name="print" value="Print" id="paperprint" onclick="window.print();" /></span>
</div>
Expand Down
62 changes: 39 additions & 23 deletions src/ninja.paperwallet.js

Large diffs are not rendered by default.

0 comments on commit fac7971

Please sign in to comment.