move bws settings to advanced options on import

This commit is contained in:
Javier 2015-10-20 16:08:53 -03:00
commit 195f47226b

View file

@ -140,11 +140,25 @@
name="password" ng-model="import.password"> name="password" ng-model="import.password">
</div> </div>
<div class="m10t oh" ng-init="hideAdv=true">
<a class="button outline light-gray expand tiny" ng-click="hideAdv=!hideAdv">
<i class="fi-widget m3r"></i>
<span translate ng-hide="!hideAdv">Show advanced options</span>
<span translate ng-hide="hideAdv">Hide advanced options</span>
<i ng-if="hideAdv" class="icon-arrow-down4"></i>
<i ng-if="!hideAdv" class="icon-arrow-up4"></i>
</a>
</div>
<div ng-hide="hideAdv" class="row">
<div class="large-12 columns">
<label for="bws" class="oh"> <label for="bws" class="oh">
<span translate>Specify Bitcore Wallet Service URL <span translate>Specify Bitcore Wallet Service URL
<input type="text" id="bwsurl" name="bwsurl" ng-model="bwsurl"> <input type="text" id="bwsurl" name="bwsurl" ng-model="bwsurl">
</span> </span>
</label> </label>
</div>
</div>
<button translate type="submit" class="button round expand black" <button translate type="submit" class="button round expand black"
ng-disabled="importForm.$invalid || !import.password || import.loading"> ng-disabled="importForm.$invalid || !import.password || import.loading">
@ -171,6 +185,18 @@
</div> </div>
<form name="importForm3" ng-submit="import.importLedger(importForm3)" ng-show="index.isChromeApp" novalidate> <form name="importForm3" ng-submit="import.importLedger(importForm3)" ng-show="index.isChromeApp" novalidate>
<div class="large-12 columns">
<div class="m10t oh" ng-init="hideAdv=true">
<a class="button outline light-gray expand tiny" ng-click="hideAdv=!hideAdv">
<i class="fi-widget m3r"></i>
<span translate ng-hide="!hideAdv">Show advanced options</span>
<span translate ng-hide="hideAdv">Hide advanced options</span>
<i ng-if="hideAdv" class="icon-arrow-down4"></i>
<i ng-if="!hideAdv" class="icon-arrow-up4"></i>
</a>
</div>
<div ng-hide="hideAdv" class="row">
<div class="large-12 columns"> <div class="large-12 columns">
<label for="bws" class="oh"> <label for="bws" class="oh">
@ -178,6 +204,8 @@
<input type="text" id="bwsurl" name="bwsurl" ng-model="bwsurl"> <input type="text" id="bwsurl" name="bwsurl" ng-model="bwsurl">
</span> </span>
</label> </label>
</div>
</div>
<!-- TODO: account <!-- TODO: account
<label class=" oh"> <label class=" oh">
<span translate>Ledger Slot</span> <span translate>Ledger Slot</span>
@ -194,6 +222,18 @@
</form> </form>
<form name="importForm4" ng-submit="import.importTrezor(importForm4)" novalidate> <form name="importForm4" ng-submit="import.importTrezor(importForm4)" novalidate>
<div class="large-12 columns">
<div class="m10t oh" ng-init="hideAdv=true">
<a class="button outline light-gray expand tiny" ng-click="hideAdv=!hideAdv">
<i class="fi-widget m3r"></i>
<span translate ng-hide="!hideAdv">Show advanced options</span>
<span translate ng-hide="hideAdv">Hide advanced options</span>
<i ng-if="hideAdv" class="icon-arrow-down4"></i>
<i ng-if="!hideAdv" class="icon-arrow-up4"></i>
</a>
</div>
<div ng-hide="hideAdv" class="row">
<div class="large-12 columns"> <div class="large-12 columns">
<label for="bws" class="oh"> <label for="bws" class="oh">
@ -201,6 +241,8 @@
<input type="text" id="bwsurl" name="bwsurl" ng-model="bwsurl"> <input type="text" id="bwsurl" name="bwsurl" ng-model="bwsurl">
</span> </span>
</label> </label>
</div>
</div>
<!-- ng-disabled="import.loading || import.ledger" --> <!-- ng-disabled="import.loading || import.ledger" -->
<button translate type="submit" class="button round expand black" ng-disabled="true"> <button translate type="submit" class="button round expand black" ng-disabled="true">
Import from TREZOR Import from TREZOR