Wallet/www/views/walletSelector.html

60 lines
2.8 KiB
HTML
Raw Normal View History

<ion-view id="wallet-origin-destination" hide-tabs>
2018-07-18 11:54:41 +02:00
<ion-nav-bar class="bar-royal">
<ion-nav-title>{{sendFlowTitle}}</ion-nav-title>
<ion-nav-back-button ng-click="goBack()"></ion-nav-back-button>
2018-07-18 11:54:41 +02:00
</ion-nav-bar>
<ion-content>
2018-08-02 15:42:35 +02:00
<div ng-if="thirdParty && thirdParty.id === 'shapeshift'" ng-include="'views/thirdparty/shapeshift-header.html'"></div>
<div ng-if="thirdParty && thirdParty.id === 'bip70' && thirdParty.name === 'BitPay'" ng-include="'views/thirdparty/bitpay-header.html'"></div>
<div ng-if="thirdParty && thirdParty.id === 'bip70' && thirdParty.name === 'eGifter'" ng-include="'views/thirdparty/egifter-header.html'"></div>
2018-07-23 14:20:46 +02:00
<div class="header--request" ng-if="isPaymentRequest">
<div class="header--request__title" translate>Paying</div>
<div class="header--request__amount" translate>{{requestAmount}} {{requestCurrency}}</div>
<div class="header--request__amount-alt" ng-show="requestAmountSecondary" translate>{{requestAmountSecondary}} {{requestCurrencySecondary}}</div>
2018-07-23 14:20:46 +02:00
</div>
<div class="wallets-header">
2018-09-11 14:55:22 +02:00
<div class="title" ng-if="walletsBch.length > 0 || walletsBtc.length > 0 || walletsInsufficientFunds.length > 0">
2018-07-19 15:50:09 +02:00
{{headerTitle}}
2018-07-18 11:54:41 +02:00
</div>
</div>
<div class="list card" ng-if="walletsBch.length > 0">
2018-07-18 11:54:41 +02:00
<div class="item item-icon-right item-heading">
<div translate>Bitcoin Cash (BCH)</div>
<div translate class="subtitle">Instant transactions with low fees</div>
</div>
<div>
<a ng-repeat="wallet in walletsBch track by $index"
class="item item-sub item-icon-left item-big-icon-left item-icon-right wallet"
2018-07-18 16:48:57 +02:00
ng-click="useWallet(wallet)">
2018-07-18 11:54:41 +02:00
<span ng-include="'views/includes/walletList.html'"></span>
</a>
</div>
</div>
2018-07-23 14:20:46 +02:00
<div class="list card" ng-if="walletsBtc.length > 0">
2018-07-18 11:54:41 +02:00
<div class="item item-icon-right item-heading">
<div translate>Bitcoin Core (BTC)</div>
</div>
<div>
<a ng-repeat="wallet in walletsBtc track by $index"
class="item item-sub item-icon-left item-big-icon-left item-icon-right wallet"
ng-click="useWallet(wallet)">
2018-07-18 11:54:41 +02:00
<span ng-include="'views/includes/walletList.html'"></span>
</a>
</div>
</div>
2018-07-23 14:20:46 +02:00
<div class="list card card-insufficient" ng-if="walletsInsufficientFunds.length > 0">
2018-07-23 14:20:46 +02:00
<div class="item item-icon-right item-heading">
<span class="card-insufficient__dot"></span><div translate>Insufficient funds</div>
</div>
<div>
<a ng-repeat="wallet in walletsInsufficientFunds track by $index"
2018-07-23 14:20:46 +02:00
class="item item-sub item-icon-left item-big-icon-left item-icon-right wallet">
<span ng-include="'views/includes/walletList.html'"></span>
</a>
</div>
</div>
<div class="height-spacer"></div>
2018-07-18 11:54:41 +02:00
</ion-content>
</ion-view>