2016-08-30 19:00:17 -04:00
|
|
|
<ion-view id="tab-home">
|
2016-08-31 15:54:53 -04:00
|
|
|
<ion-nav-bar class="bar-royal">
|
2016-10-21 01:29:14 -04:00
|
|
|
<ion-nav-title><img class="tab-home__logo" src="img/app/logo-negative.svg"></ion-nav-title>
|
2016-08-17 13:07:48 -03:00
|
|
|
</ion-nav-bar>
|
2016-08-18 10:08:23 -03:00
|
|
|
|
2016-10-21 01:51:00 -04:00
|
|
|
<ion-content>
|
2016-10-11 12:59:02 -03:00
|
|
|
<ion-refresher
|
2016-10-14 10:24:20 -03:00
|
|
|
ng-if="isAndroid"
|
2016-10-11 12:59:02 -03:00
|
|
|
pulling-icon="ion-ios-refresh"
|
|
|
|
|
spinner="ios-small"
|
|
|
|
|
on-refresh="onRefresh()">
|
|
|
|
|
</ion-refresher>
|
2016-12-12 17:29:11 -03:00
|
|
|
<div class="release ng-hide" ng-show="newRelease" ng-click="openExternalLink()">
|
2016-10-26 12:56:33 -03:00
|
|
|
<span translate>An update to this app is available</span><span><i class="icon bp-arrow-right"></i></span>
|
|
|
|
|
</div>
|
2016-11-15 15:09:08 -05:00
|
|
|
<div class="ng-hide" ng-show="showRateCard.value" ng-include="'views/feedback/rateCard.html'"></div>
|
2016-09-27 13:40:42 -04:00
|
|
|
<div class="list card homeTip" ng-if="homeTip">
|
2016-09-19 12:06:46 -03:00
|
|
|
<div class="item item-icon-right item-heading">
|
2016-09-19 16:31:36 -03:00
|
|
|
<a ng-click="hideHomeTip()"><i class="icon ion-ios-close-empty close-home-tip"></i></a>
|
2016-09-19 12:06:46 -03:00
|
|
|
</div>
|
2016-09-19 12:08:10 -03:00
|
|
|
<div>
|
2016-09-19 12:06:46 -03:00
|
|
|
<i class="icon big-icon-svg">
|
2016-09-21 10:52:47 -04:00
|
|
|
<img src="img/check-white.svg" class="bg green"/>
|
2016-09-19 12:06:46 -03:00
|
|
|
</i>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="title" translate>
|
|
|
|
|
Your bitcoin wallet is ready!
|
|
|
|
|
</div>
|
|
|
|
|
<div class="subtitle" translate>
|
|
|
|
|
On this screen you can see all your wallets, accounts, and assets.
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2016-09-01 19:14:18 -03:00
|
|
|
|
|
|
|
|
<div class="list card" ng-hide="!txps[0]">
|
2016-09-27 16:01:15 -03:00
|
|
|
<a class="item item-icon-right item-heading" ui-sref="tabs.proposals">
|
|
|
|
|
{{'Payment Proposals'|translate}}
|
2016-10-03 19:55:13 -04:00
|
|
|
<i class="icon bp-arrow-right"></i>
|
2016-09-27 16:01:15 -03:00
|
|
|
<span class="badge badge-assertive m5t m10r" ng-show="txpsN>3"> {{txpsN}}</span>
|
2016-09-01 19:14:18 -03:00
|
|
|
</a>
|
|
|
|
|
|
2016-11-03 17:29:29 -04:00
|
|
|
<div ng-repeat="tx in txps" ng-click="openTxpModal(tx)">
|
2016-11-08 16:38:31 -05:00
|
|
|
<a class="wallet-details__item item item-sub" ng-include="'views/includes/txp.html'"></a>
|
2016-11-03 17:29:29 -04:00
|
|
|
</div>
|
2016-09-01 19:14:18 -03:00
|
|
|
</div>
|
|
|
|
|
|
2016-09-28 15:45:21 -03:00
|
|
|
<div class="list card" ng-if="notifications[0] && recentTransactionsEnabled">
|
2016-09-23 17:22:03 -03:00
|
|
|
<a class="item item-icon-right item-heading" ui-sref="tabs.activity">
|
2016-09-27 15:57:39 -03:00
|
|
|
<span translate>Recent Transactions</span>
|
2016-10-03 19:55:13 -04:00
|
|
|
<i class="icon bp-arrow-right"></i>
|
2017-01-18 11:00:51 -03:00
|
|
|
<span class="badge badge-assertive m5t m10r" ng-show="notificationsN>3"> {{notificationsN}}</span>
|
2016-09-01 11:40:43 -04:00
|
|
|
</a>
|
2016-10-12 21:17:30 -04:00
|
|
|
<a class="item item-sub activity" ng-repeat="notification in notifications" ng-click="openNotificationModal(notification)">
|
2016-09-01 11:40:43 -04:00
|
|
|
<span ng-include="'views/includes/walletActivity.html'"></span>
|
|
|
|
|
</a>
|
2016-08-18 10:08:23 -03:00
|
|
|
</div>
|
|
|
|
|
|
2016-09-30 16:12:23 -03:00
|
|
|
<div class="list card">
|
2016-09-23 17:22:03 -03:00
|
|
|
<div class="item item-icon-right item-heading">
|
|
|
|
|
<span translate>Wallets</span>
|
2016-09-30 16:12:23 -03:00
|
|
|
<a ui-sref="tabs.add" ng-if="wallets[0]"><i class="icon ion-ios-plus-empty list-add-button"></i></a>
|
2016-08-18 17:45:59 -03:00
|
|
|
</div>
|
2016-10-12 21:17:30 -04:00
|
|
|
<div>
|
2016-10-17 09:55:20 -03:00
|
|
|
<a ng-if="!wallets[0]" ui-sref="tabs.add" class="item item-icon-left item-big-icon-left item-icon-right next-step">
|
2016-10-12 21:17:30 -04:00
|
|
|
<i class="icon big-icon-svg">
|
2016-10-18 18:58:53 -04:00
|
|
|
<img src="img/icon-wallet.svg" class="bg wallet icon-create-wallet"/>
|
2016-10-12 21:17:30 -04:00
|
|
|
</i>
|
2016-12-28 17:19:17 -03:00
|
|
|
<span translate>Create bitcoin wallet</span>
|
2016-10-12 21:17:30 -04:00
|
|
|
<i class="icon bp-arrow-right"></i>
|
|
|
|
|
</a>
|
|
|
|
|
<a ng-repeat="wallet in wallets track by $index"
|
|
|
|
|
class="item item-sub item-icon-left item-big-icon-left item-icon-right wallet"
|
|
|
|
|
ng-click="openWallet(wallet)">
|
|
|
|
|
<i class="icon big-icon-svg">
|
2016-10-18 18:58:53 -04:00
|
|
|
<img src="img/icon-wallet.svg" ng-style="{'background-color': wallet.color}" class="bg wallet"/>
|
2016-10-12 21:17:30 -04:00
|
|
|
</i>
|
|
|
|
|
<span>
|
|
|
|
|
{{wallet.name || wallet.id}}
|
2016-09-16 14:46:25 -03:00
|
|
|
</span>
|
2016-10-13 14:41:37 -03:00
|
|
|
<p>
|
|
|
|
|
<span ng-if="!wallet.isComplete()" class="assertive" translate>
|
|
|
|
|
Incomplete
|
|
|
|
|
</span>
|
|
|
|
|
<span ng-if="wallet.isComplete()">
|
2017-01-31 14:24:13 -03:00
|
|
|
<span ng-if="!wallet.balanceHidden"> {{wallet.status.totalBalanceStr ? wallet.status.totalBalanceStr : ( wallet.cachedBalance ? wallet.cachedBalance + ' | ' + (wallet.cachedBalanceUpdatedOn ? ( wallet.cachedBalanceUpdatedOn * 1000 | amTimeAgo) : '') : '' ) }} </span>
|
|
|
|
|
|
2016-10-13 14:41:37 -03:00
|
|
|
<span ng-if="wallet.balanceHidden" translate>[Balance Hidden]</span>
|
2016-10-21 00:52:39 -04:00
|
|
|
<span class="tab-home__wallet__multisig-number" ng-if="wallet.n > 1">
|
|
|
|
|
{{wallet.m}}-of-{{wallet.n}}
|
|
|
|
|
</span>
|
2016-12-13 17:42:49 -05:00
|
|
|
<i ng-if="!wallet.balanceHidden && (wallet.status.totalBalanceSat != wallet.status.spendableAmount)" class="tab-home__wallet__status-icon ion-ios-timer-outline"></i>
|
2016-11-14 17:31:36 -03:00
|
|
|
<span class="assertive" ng-if="wallet.error">{{wallet.error}}</span>
|
2016-10-13 14:41:37 -03:00
|
|
|
</span>
|
|
|
|
|
|
|
|
|
|
</p>
|
|
|
|
|
<i class="icon bp-arrow-right"></i>
|
|
|
|
|
</a>
|
2016-11-11 18:11:52 -05:00
|
|
|
</div>
|
|
|
|
|
</div>
|
2017-01-31 09:30:27 -03:00
|
|
|
<div class="ng-hide" ng-show="wallets[0] && bitpayCardItems.length>0" ng-include="'views/includes/bitpayCardsCard.html'"></div>
|
2017-01-30 18:04:17 -03:00
|
|
|
<div class="ng-hide" ng-show="wallets[0] && buyAndSellItems.length>0" ng-include="'views/includes/buyAndSellCard.html'"></div>
|
2017-01-30 19:38:52 -03:00
|
|
|
<div class="ng-hide" ng-show="homeIntegrations.length>0" ng-include="'views/includes/homeIntegrations.html'"></div>
|
2017-01-30 18:04:17 -03:00
|
|
|
<div class="ng-hide" ng-show="nextStepsItems.length>0" ng-include="'views/includes/nextSteps.html'"></div>
|
2016-08-11 18:04:37 -03:00
|
|
|
|
2016-08-11 17:38:27 -03:00
|
|
|
</ion-content>
|
2016-08-11 18:04:37 -03:00
|
|
|
</ion-view>
|