Advanced send options

This commit is contained in:
Gustavo Maximiliano Cortez 2015-08-03 20:39:09 -03:00
commit 779db5a06c
6 changed files with 73 additions and 33 deletions

View file

@ -418,6 +418,33 @@
</div>
</div>
<div ng-init="home.hideAdvSend=true">
<a class="button outline light-gray expand tiny" ng-click="home.hideAdvSend=!home.hideAdvSend">
<i class="fi-widget m3r"></i>
<span translate ng-hide="!home.hideAdvSend">Show Advanced options</span>
<span translate ng-hide="home.hideAdvSend">Hide Advanced options</span>
<i ng-if="home.hideAdvSend" class="icon-arrow-down4"></i>
<i ng-if="!home.hideAdvSend" class="icon-arrow-up4"></i>
</a>
</div>
<div class="m20b" ng-hide="home.hideAdvSend">
<h4 class="title m0" translate>Fee policy for this transaction</h4>
<ul class="no-bullet m0 size-14">
<li ng-repeat="fee in (index.network == 'livenet' ? index.feeLevels.livenet : index.feeLevels.testnet)"
ng-click="home.currentSendFeeLevel = fee.level" class="line-b p20">
{{index.feeOpts[fee.level]|translate}}
<i class="fi-check size-16 right"
ng-show="(home.currentSendFeeLevel || index.currentFeeLevel) == fee.level"></i>
</li>
</ul>
<h4 class="title m0" translate>Spend unconfirmed transaction</h4>
<div class="p20 line-b">
<span class="size-14" translate>Use unconfirmed in this transaction</span>
<switch id="spend-unconfirmed" name="currentSpendUnconfirmed" ng-model="currentSpendUnconfirmed" class="green right"></switch>
</div>
</div>
<div class="row" ng-show="!home.onGoingProcess">
<div class="large-6 medium-6 small-6 columns" ng-show="!home.blockUx && (home._paypro || home.lockAddress || home.lockAmount)">
<a ng-click="home.resetForm(sendForm)" class="button expand outline dark-gray round" translate>Cancel</a>