Fix layout. Adds spend unconfirmed to txp details

This commit is contained in:
Gustavo Maximiliano Cortez 2015-08-05 12:56:25 -03:00
parent 12d132c37a
commit 4a79dbd01f
3 changed files with 22 additions and 18 deletions

View File

@ -1,4 +1,4 @@
<div class="ng-animate-disabled row collapse line-b" ng-class="text-gray">
<div class="ng-animate-disabled row collapse">
<li ng-if="output.isSummary" class="line-b p10 oh" ng-click="toggleOutputDetails(output)">
<span class="text-gray" translate>Recipients</span>:
<span class="right enable_text_select">{{output.recipientCount}}

View File

@ -30,6 +30,10 @@
<span class="text-gray" translate>Fee</span>:
<span class="right">{{feeStr}}</span>
</li>
<li class="line-b p10">
<span class="text-gray" translate>Spend Unconfirmed Transactions</span>:
<span class="right">{{(tx.excludeUnconfirmedUtxos ? 'No' : 'Yes')|translate}}</span>
</li>
<li class="line-b p10">
<span class="text-gray" translate>Time</span>:
<span class="right">

View File

@ -418,29 +418,29 @@
</div>
</div>
<div ng-init="home.hideAdvSend=true">
<a class="button outline light-gray expand tiny" ng-click="home.hideAdvSend=!home.hideAdvSend">
<div class="m20b" ng-init="home.hideAdvSend=true">
<a class="button outline light-gray expand tiny m0" 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 class="m10t" 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>Unconfirmed transactions for this transaction</h4>
<div class="p20 line-b">
<span class="size-14" translate>Spend Unconfirmed Transactions</span>
<switch id="spend-unconfirmed" name="currentSpendUnconfirmed" ng-model="currentSpendUnconfirmed" class="green right"></switch>
</div>
</div>
</div>