Wallet tabs removed, added text to BIP32 tab

This commit is contained in:
Ian Coleman
2015-08-16 19:31:35 +10:00
parent e3a9508cc0
commit 55a9e51a1b
2 changed files with 25 additions and 41 deletions

View File

@@ -35,6 +35,11 @@
border-bottom-left-radius: 20px 20px;
border-bottom-right-radius: 20px 20px;
}
.no-border {
border: 0;
box-shadow: inset 0 1px 1px rgba(0,0,0,.0);
-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.0);
}
</style>
</head>
<body>
@@ -98,13 +103,7 @@
<div class="col-md-12">
<h2>Derivation Path</h2>
<ul class="derivation-type nav nav-tabs" role="tablist">
<li id="hive-tab" class="active">
<a href="#hive" role="tab" data-toggle="tab">Hive Wallet</a>
</li>
<li id="mycelium-tab">
<a href="#mycelium" role="tab" data-toggle="tab">Mycelium Wallet</a>
</li>
<li id="bip44-tab">
<li id="bip44-tab" class="active">
<a href="#bip44" role="tab" data-toggle="tab">BIP44</a>
</li>
<li id="bip32-tab">
@@ -112,37 +111,7 @@
</li>
</ul>
<div class="derivation-type tab-content">
<div id="hive" class="tab-pane active">
<form class="form-horizontal" role="form">
<br>
<div class="col-sm-2"></div>
<div class="col-sm-10">
<p>For more info see the <a href="https://www.hivewallet.com/" target="_blank">Hive Wallet homepage</a></p>
</div>
<div class="form-group">
<label for="hive-path" class="col-sm-2 control-label">BIP32 Derivation Path</label>
<div class="col-sm-10">
<input id="hive-path" type="text" class="path form-control" value="m/0'/0" readonly="readonly">
</div>
</div>
</form>
</div>
<div id="mycelium" class="tab-pane">
<form class="form-horizontal" role="form">
<br>
<div class="col-sm-2"></div>
<div class="col-sm-10">
<p>For more info see the <a href="http://www.mycelium.com/" target="_blank">Mycelium Wallet homepage</a></p>
</div>
<div class="form-group">
<label for="mycelium-path" class="col-sm-2 control-label">BIP32 Derivation Path</label>
<div class="col-sm-10">
<input id="mycelium-path" type="text" class="path form-control" value="m/44'/0'/0'/0" readonly="readonly">
</div>
</div>
</form>
</div>
<div id="bip44" class="tab-pane">
<div id="bip44" class="tab-pane active">
<form class="form-horizontal" role="form">
<br>
<div class="col-sm-2"></div>
@@ -202,6 +171,24 @@
<input id="bip32-path" type="text" class="path form-control" value="m/0">
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">Hive Wallet</label>
<div class="col-sm-10">
<p class="form-control no-border">
Use path <code>m/0'/0</code>.
For more info see the <a href="https://www.hivewallet.com/" target="_blank">Hive Wallet homepage</a>
</p>
</div>
</div>
<div class="form-group">
<label for="mycelium-path" class="col-sm-2 control-label">Mycelium Wallet</label>
<div class="col-sm-10">
<p class="form-control no-border">
Use path <code>m/44'/0'/0'/0</code>.
For more info see the <a href="http://www.mycelium.com/" target="_blank">Mycelium Wallet homepage</a>
</p>
</div>
</div>
</form>
</div>
</div>

View File

@@ -40,7 +40,6 @@
DOM.indexToggle = $(".index-toggle");
DOM.addressToggle = $(".address-toggle");
DOM.privateKeyToggle = $(".private-key-toggle");
DOM.myceliumPath = $("#mycelium-path");
var derivationPath = $(".tab-pane.active .path").val();
@@ -401,7 +400,6 @@
onSelect: function() {
network = bitcoin.networks.bitcoin;
DOM.bip44coin.val(0);
DOM.myceliumPath.val("m/44'/0'/0'/0");
},
},
{
@@ -409,7 +407,6 @@
onSelect: function() {
network = bitcoin.networks.testnet;
DOM.bip44coin.val(1);
DOM.myceliumPath.val("m/44'/1'/0'/0");
},
},
{