2016-09-21 17:12:25 -03:00
|
|
|
<ion-view id="tab-receive">
|
2016-08-31 18:02:15 -04:00
|
|
|
<ion-nav-bar class="bar-royal">
|
2016-08-30 12:52:28 -03:00
|
|
|
<ion-nav-title>{{'Receive' | translate}}</ion-nav-title>
|
2016-08-17 13:17:23 -03:00
|
|
|
</ion-nav-bar>
|
2016-10-14 22:12:33 -04:00
|
|
|
<ion-content scroll="false">
|
2016-11-11 13:49:51 -05:00
|
|
|
<article class="list card padding text-center" ng-if="!wallets[0]">
|
2016-09-30 12:27:31 -03:00
|
|
|
<span translate>No Wallet</span>
|
2016-11-11 13:49:51 -05:00
|
|
|
</article>
|
|
|
|
|
<article id="address" ng-if="wallets[0]">
|
|
|
|
|
<div id="address-info" class="text-center" ng-if="!wallet">
|
2016-09-30 12:27:31 -03:00
|
|
|
<div class="row qr">
|
|
|
|
|
<div class="text-center col center-block">
|
|
|
|
|
<div style="height:225px; width:220px; margin:auto; background: white; padding-top: 25%;">
|
|
|
|
|
...
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="row border-top">
|
|
|
|
|
<div class="col col-90 center-block bit-address text-center">
|
|
|
|
|
<div class="item item-icon-left">
|
2016-10-11 14:30:41 -04:00
|
|
|
<i class="icon icon-svg receive-tab-bitcoin-icon"><img src="img/icon-bitcoin-symbol.svg"></i>
|
2016-09-30 12:27:31 -03:00
|
|
|
<span class="bit-address-gen-address">...</span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2016-11-11 13:49:51 -05:00
|
|
|
</div>
|
|
|
|
|
<div id="address-info" class="text-center" ng-if="wallet && !wallet.isComplete()">
|
2016-09-26 11:26:10 -03:00
|
|
|
<div class="incomplete">
|
|
|
|
|
<div class="title">
|
|
|
|
|
<span translate>Incomplete wallet</span>
|
2016-09-21 17:12:25 -03:00
|
|
|
</div>
|
2016-09-26 11:26:10 -03:00
|
|
|
<div class="subtitle">
|
|
|
|
|
<span translate>All signing devices must be added to this multisig wallet before bitcoin addresses can be created.</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div>
|
2016-10-11 23:23:54 -04:00
|
|
|
<button class="button button-standard button-primary" ng-click="goCopayers()" translate>Open wallet</button>
|
2016-09-07 09:46:00 -04:00
|
|
|
</div>
|
|
|
|
|
</div>
|
2016-09-26 11:26:10 -03:00
|
|
|
<div class="row border-top">
|
|
|
|
|
<div class="col col-90 center-block bit-address text-center">
|
|
|
|
|
<div class="item item-icon-left">
|
2016-10-11 14:30:41 -04:00
|
|
|
<i class="icon icon-svg receive-tab-bitcoin-icon"><img src="img/icon-bitcoin-symbol.svg"></i>
|
2017-01-16 16:00:09 -03:00
|
|
|
<span class="bit-address-gen-address" translate>address not yet available</span>
|
2016-09-26 11:26:10 -03:00
|
|
|
</div>
|
2016-09-07 09:46:00 -04:00
|
|
|
</div>
|
|
|
|
|
</div>
|
2016-11-11 13:49:51 -05:00
|
|
|
</div>
|
|
|
|
|
<div id="address-info" ng-if="wallet && wallet.isComplete()">
|
2016-10-26 11:44:21 -03:00
|
|
|
<div class="row backup" ng-show="wallet.needsBackup" ng-click="openBackupNeededModal()">
|
2016-09-30 12:27:31 -03:00
|
|
|
<div class="text-center col center-block">
|
2016-09-26 13:05:15 -03:00
|
|
|
<i class="icon ion-alert"></i><span translate>Wallet not backed up</span><i class="icon ion-ios-arrow-thin-right"></i>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="row qr">
|
2016-11-11 13:49:51 -05:00
|
|
|
<div class="text-center col center-block" copy-to-clipboard="addr" ng-repeat="wallet in wallets track by $index" ng-class="walletPosition($index)">
|
|
|
|
|
<qrcode ng-if="walletAddrs[wallet.id]" size="220" data="bitcoin:{{walletAddrs[wallet.id]}}" color="#334"></qrcode>
|
2016-09-07 09:46:00 -04:00
|
|
|
</div>
|
|
|
|
|
</div>
|
2016-10-14 13:12:45 -04:00
|
|
|
<div id="qr-options" class="row text-center">
|
2017-02-17 16:39:40 -05:00
|
|
|
<div class="item item-icon-left" ng-click="shareAddress(addr)" ng-show="isCordova">
|
2016-10-14 13:12:45 -04:00
|
|
|
<i class="icon ion-ios-upload-outline"></i>
|
|
|
|
|
<span translate>Share</span>
|
|
|
|
|
</div>
|
2016-10-13 14:54:54 -04:00
|
|
|
</div>
|
2016-11-14 14:52:10 -03:00
|
|
|
<div id="bit-address" class="row border-top" ng-click="showAddresses()">
|
2016-11-11 13:49:51 -05:00
|
|
|
<div class="center-block bit-address text-center" ng-repeat="wallet in wallets track by $index" ng-class="walletPosition($index)">
|
2016-10-14 10:24:02 -04:00
|
|
|
<div class="item item-icon-left item-icon-right">
|
2016-10-13 14:54:54 -04:00
|
|
|
<i class="icon icon-svg receive-tab-bitcoin-icon"><img src="img/icon-bitcoin-symbol.svg"></i>
|
2017-02-17 16:39:40 -05:00
|
|
|
<span class="bit-address-gen-address" class="ellipsis">{{walletAddrs[wallet.id]}}</span>
|
|
|
|
|
<span class="bit-address-gen-address" ng-show="!walletAddrs[wallet.id]" translate>address not available</span>
|
2016-11-14 14:52:10 -03:00
|
|
|
<i class="icon ion-ios-arrow-right"></i>
|
2016-09-26 11:26:10 -03:00
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2016-11-11 13:49:51 -05:00
|
|
|
</div>
|
|
|
|
|
</article>
|
2016-09-30 12:27:31 -03:00
|
|
|
<article id="wallets" ng-if="wallets[0]">
|
2016-11-11 13:49:51 -05:00
|
|
|
<div id="sidebar-wallet" class="list">
|
|
|
|
|
<div id="wallet-list">
|
|
|
|
|
<div class="wallet" ng-repeat="wallet in wallets track by $index" ng-click="setWallet($index)" ng-class="walletPosition($index)">
|
|
|
|
|
<div class="card">
|
|
|
|
|
<div class="item item-icon-left text-right" ng-class="{'noBalance': !wallet.status.availableBalanceStr}">
|
|
|
|
|
<i class="icon big-icon-svg">
|
2017-02-23 16:46:41 -05:00
|
|
|
<img src="img/icon-wallet.svg" ng-class="{'wallet-background-color-default': !wallet.color}" ng-style="{'background-color': wallet.color}" class="bg"/>
|
2016-11-11 13:49:51 -05:00
|
|
|
</i>
|
|
|
|
|
<span class="wallet-name">{{wallet.name || wallet.id}}</span>
|
|
|
|
|
<span class="item-note m10l">
|
|
|
|
|
{{wallet.status.availableBalanceStr}}
|
|
|
|
|
</span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2016-09-07 09:46:00 -04:00
|
|
|
</div>
|
2016-11-11 13:49:51 -05:00
|
|
|
<wallets id="wallet-slider" wallets="wallets" options="sliderOptions"></wallets>
|
2016-09-07 09:46:00 -04:00
|
|
|
</article>
|
2016-08-11 17:38:27 -03:00
|
|
|
</ion-content>
|
2016-08-12 16:04:17 -03:00
|
|
|
</ion-view>
|