mirror of https://github.com/BTCPrivate/copay.git
64 lines
2.6 KiB
HTML
64 lines
2.6 KiB
HTML
<ion-view hide-tabs>
|
|
<ion-nav-bar class="bar-royal">
|
|
<ion-nav-title>{{'Sweep paper wallet' | translate}}</ion-nav-title>
|
|
<ion-nav-back-button>
|
|
</ion-nav-back-button>
|
|
<ion-nav-buttons side="secondary">
|
|
<button ng-disabled="sending || balanceSat <= 0 || noMatchingWallet" class="button no-border" ng-click="sweepWallet()" translate>
|
|
Sweep
|
|
</button>
|
|
</ion-nav-buttons>
|
|
</ion-nav-bar>
|
|
<ion-content scroll="false">
|
|
<div ng-class="ng-hide" ng-show="!noMatchingWallet">
|
|
<div class="row">
|
|
<div class="col text-center">
|
|
<h4 class="text-bold" translate>Funds found:</h4>
|
|
<div ng-show="balance" class="size-24 ng-hide">{{balance}}</div>
|
|
<div ng-show="!balance" class="size-24 ng-hide">...</div>
|
|
</div>
|
|
</div>
|
|
<div class="text-center size-12 text-gray">
|
|
<span translate>Funds will be transferred to</span>:
|
|
</div>
|
|
<div class="list card" ng-click="showWalletSelector()" ng-if="wallets[0]">
|
|
<a ng-if="wallet" class="item item-sub item-icon-left item-big-icon-left item-icon-right">
|
|
<i class="icon big-icon-svg">
|
|
<img src="img/icon-wallet.svg" ng-class="{'wallet-background-color-default': !wallet.color}" ng-style="{'background-color': wallet.color}" class="bg wallet"/>
|
|
</i>
|
|
<span>
|
|
{{wallet.name || wallet.id}}
|
|
</span>
|
|
<p>
|
|
<span ng-if="!wallet.balanceHidden"> {{wallet.status.totalBalanceStr}} </span>
|
|
|
|
<span ng-if="wallet.balanceHidden" translate>[Balance Hidden]</span>
|
|
<span class="tab-home__wallet__multisig-number" ng-if="wallet.n > 1">
|
|
{{wallet.m}}-of-{{wallet.n}}
|
|
</span>
|
|
<span class="assertive" ng-if="wallet.error">{{wallet.error}}</span>
|
|
|
|
</p>
|
|
<i ng-if="!singleWallet" class="icon bp-arrow-right"></i>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
<div class="text-center padding ng-hide" ng-show="noMatchingWallet">
|
|
<span class="badge badge-energized" translate>No wallets available to receive funds</span>
|
|
</div>
|
|
<slide-to-accept-success
|
|
slide-success-show="sendStatus === 'success'"
|
|
slide-success-on-confirm="onSuccessConfirm()"
|
|
slide-success-hide-on-confirm="true">
|
|
<span translate>Funds transferred</span>
|
|
</slide-to-accept-success>
|
|
</ion-content>
|
|
<wallet-selector
|
|
wallet-selector-title="walletSelectorTitle"
|
|
wallet-selector-wallets="wallets"
|
|
wallet-selector-selected-wallet="wallet"
|
|
wallet-selector-show="showWallets"
|
|
wallet-selector-on-select="onWalletSelect">
|
|
</wallet-selector>
|
|
</ion-view>
|