2016-08-30 16:00:17 -07:00
|
|
|
<ion-view id="tab-home">
|
2016-08-31 12:54:53 -07:00
|
|
|
<ion-nav-bar class="bar-royal">
|
2016-09-01 06:12:06 -07:00
|
|
|
<ion-nav-title>{{'Home' | translate}}</ion-nav-title>
|
2016-08-17 09:07:48 -07:00
|
|
|
</ion-nav-bar>
|
2016-08-18 06:08:23 -07:00
|
|
|
|
2016-08-26 07:11:14 -07:00
|
|
|
<ion-content class="padding" ng-controller="tabHomeController" ng-init="updateAllWallets(); nextStep()">
|
2016-09-19 08:06:46 -07:00
|
|
|
<div class="list card homeTip" ng-show="homeTip">
|
|
|
|
<div class="item item-icon-right item-heading">
|
2016-09-19 12:31:36 -07:00
|
|
|
<a ng-click="hideHomeTip()"><i class="icon ion-ios-close-empty close-home-tip"></i></a>
|
2016-09-19 08:06:46 -07:00
|
|
|
</div>
|
2016-09-19 08:08:10 -07:00
|
|
|
<div>
|
2016-09-19 08:06:46 -07:00
|
|
|
<i class="icon big-icon-svg">
|
2016-09-21 07:52:47 -07:00
|
|
|
<img src="img/check-white.svg" class="bg green"/>
|
2016-09-19 08:06:46 -07: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 15:14:18 -07:00
|
|
|
|
|
|
|
<div class="list card" ng-hide="!txps[0]">
|
2016-09-05 07:04:40 -07:00
|
|
|
<a class="item item-icon-right item-heading" ui-sref="tabs.proposals" translate>
|
2016-09-01 15:14:18 -07:00
|
|
|
Payment Proposals
|
2016-09-06 14:56:22 -07:00
|
|
|
<i class="icon nav-item-arrow-right"></i>
|
2016-09-01 15:14:18 -07:00
|
|
|
|
|
|
|
<span class="badge badge-assertive" ng-show="txpsN>3" translate> {{txpsN}}</span>
|
|
|
|
</a>
|
|
|
|
|
2016-09-02 10:33:18 -07:00
|
|
|
<a ng-repeat="tx in txps" class="item" ng-click="openTxpModal(tx)">
|
2016-09-01 15:14:18 -07:00
|
|
|
<span ng-include="'views/includes/txp.html'"></span>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
|
2016-09-15 10:51:23 -07:00
|
|
|
<div class="list card" ng-if="notifications.length > 0">
|
2016-09-05 07:04:40 -07:00
|
|
|
<a class="item item-icon-right item-heading" ui-sref="tabs.activity" translate>
|
2016-08-26 07:11:14 -07:00
|
|
|
Recent Activity
|
2016-09-06 14:56:22 -07:00
|
|
|
<i class="icon nav-item-arrow-right"></i>
|
2016-09-01 08:40:43 -07:00
|
|
|
</a>
|
|
|
|
<span ng-if="fetchingNotifications" class="item text-center">
|
2016-08-26 07:11:14 -07:00
|
|
|
<ion-spinner icon="lines"></ion-spinner>
|
|
|
|
<div translate>Updating activity. Please stand by</div>
|
2016-09-01 08:40:43 -07:00
|
|
|
</span>
|
2016-09-07 11:11:26 -07:00
|
|
|
<a class="item" ng-repeat="x in notifications" ng-click="x.action()">
|
2016-09-01 08:40:43 -07:00
|
|
|
<span ng-include="'views/includes/walletActivity.html'"></span>
|
|
|
|
</a>
|
2016-08-18 06:08:23 -07:00
|
|
|
</div>
|
|
|
|
|
2016-08-30 16:00:17 -07:00
|
|
|
<div class="list card" ng-hide="!wallets[0]">
|
2016-09-01 06:12:06 -07:00
|
|
|
<div class="item item-icon-right item-heading" translate>
|
2016-08-26 07:11:14 -07:00
|
|
|
Wallets
|
2016-08-31 12:41:53 -07:00
|
|
|
<a ui-sref="tabs.add"><i class="icon ion-ios-plus-empty list-add-button"></i></a>
|
2016-08-18 13:45:59 -07:00
|
|
|
</div>
|
2016-08-30 16:00:17 -07:00
|
|
|
<a ng-repeat="wallet in wallets track by $index"
|
|
|
|
class="item item-icon-left item-big-icon-left item-icon-right"
|
2016-09-06 07:22:10 -07:00
|
|
|
ng-click="openWallet(wallet)">
|
2016-08-30 16:00:17 -07:00
|
|
|
<i class="icon big-icon-svg">
|
2016-09-15 10:51:23 -07:00
|
|
|
<img src="img/icon-wallet.svg" ng-style="{'background-color': wallet.color}" class="bg"/>
|
2016-08-30 16:00:17 -07:00
|
|
|
</i>
|
2016-09-16 10:46:25 -07:00
|
|
|
<h2>
|
|
|
|
{{wallet.name || wallet.id}}
|
|
|
|
<span class="size-12 text-light" ng-show="wallet.n > 1">
|
|
|
|
{{wallet.m}}-of-{{wallet.n}}
|
|
|
|
</span>
|
|
|
|
</h2>
|
|
|
|
|
2016-09-16 17:01:19 -07:00
|
|
|
<p>
|
|
|
|
<span ng-show="!wallet.isComplete()" class="assertive" translate>
|
2016-08-26 07:11:14 -07:00
|
|
|
Incomplete
|
|
|
|
</span>
|
2016-09-16 17:01:19 -07:00
|
|
|
<div ng-show="wallet.isComplete()">
|
|
|
|
<span ng-show="!wallet.balanceHidden">{{wallet.status.availableBalanceStr}}</span>
|
|
|
|
<span ng-show="wallet.balanceHidden" translate>[Balance Hidden]</span>
|
|
|
|
</div>
|
2016-08-30 16:00:17 -07:00
|
|
|
</p>
|
2016-09-06 14:56:22 -07:00
|
|
|
<i class="icon nav-item-arrow-right"></i>
|
2016-08-26 07:11:14 -07:00
|
|
|
</a>
|
2016-09-16 10:46:25 -07:00
|
|
|
<a ui-sref="bitpayCard.main"
|
|
|
|
ng-show="externalServices.BitpayCard"
|
|
|
|
class="item item-icon-left item-big-icon-left item-icon-right">
|
|
|
|
<i class="icon big-icon-svg">
|
|
|
|
<div class="bg icon-bitpay-card"></div>
|
|
|
|
</i>
|
2016-08-30 16:00:17 -07:00
|
|
|
<h2>BitPay Card</h2>
|
2016-09-16 10:46:25 -07:00
|
|
|
<p translate>Add funds to get started</p>
|
|
|
|
<i class="icon nav-item-arrow-right"></i>
|
2016-08-26 07:11:14 -07:00
|
|
|
</a>
|
2016-08-11 14:04:37 -07:00
|
|
|
</div>
|
|
|
|
|
2016-08-30 16:00:17 -07:00
|
|
|
<div class="list card" ng-show="externalServices.BuyAndSell && (glideraEnabled || coinbaseEnabled)">
|
2016-09-16 10:46:25 -07:00
|
|
|
<div class="item item-icon-right item-heading" translate>
|
|
|
|
Buy & Sell Bitcoin
|
|
|
|
<a ui-sref="tabs.buyandsell"><i class="icon ion-ios-plus-empty list-add-button"></i></a>
|
2016-08-24 07:33:43 -07:00
|
|
|
</div>
|
2016-09-16 10:46:25 -07:00
|
|
|
<a ng-show="glideraEnabled" ui-sref="tabs.buyandsell.glidera" class="item item-icon-right">
|
2016-08-30 16:00:17 -07:00
|
|
|
<img src="img/glidera-logo.png" width="90"/>
|
2016-09-16 10:46:25 -07:00
|
|
|
<i class="icon nav-item-arrow-right"></i>
|
2016-08-26 07:11:14 -07:00
|
|
|
</a>
|
2016-08-30 16:00:17 -07:00
|
|
|
<!-- disable coinbase for this release -->
|
|
|
|
<!-- <a ng-show="coinbaseEnabled" ui-sref="exchange.coinbase" class="item">
|
2016-08-26 07:11:14 -07:00
|
|
|
<img src="img/coinbase-logo.png" width="90"> TODO
|
2016-08-30 16:00:17 -07:00
|
|
|
</a> -->
|
2016-08-24 07:33:43 -07:00
|
|
|
</div>
|
|
|
|
|
2016-09-16 10:46:25 -07:00
|
|
|
<div class="list card" ng-show="externalServices.AmazonGiftCards">
|
2016-09-16 12:25:45 -07:00
|
|
|
<a class="item item-icon-left item-icon-right item-big-icon-left" ui-sref="tabs.giftcards.amazon">
|
2016-09-16 10:46:25 -07:00
|
|
|
<i class="icon big-icon-svg">
|
|
|
|
<div class="bg icon-gift"></div>
|
|
|
|
</i>
|
|
|
|
<span translate>Buy Amazon.com Gift Card</span>
|
|
|
|
<i class="icon nav-item-arrow-right"></i>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
|
2016-08-31 13:59:41 -07:00
|
|
|
<div class="list card"
|
2016-09-16 10:46:25 -07:00
|
|
|
ng-show="!externalServices.AmazonGiftCards || !externalServices.BitpayCard || !externalServices.BuyAndSell || !wallets[0]">
|
2016-09-01 06:12:06 -07:00
|
|
|
<div class="item item-heading" translate>
|
2016-08-26 07:11:14 -07:00
|
|
|
Next steps
|
2016-08-24 15:00:50 -07:00
|
|
|
</div>
|
2016-09-16 10:46:25 -07:00
|
|
|
<a ng-show="!wallets[0]" ui-sref="tabs.add" class="item item-icon-left item-big-icon-left item-icon-right next-step">
|
2016-08-30 16:00:17 -07:00
|
|
|
<i class="icon big-icon-svg">
|
2016-09-15 10:51:23 -07:00
|
|
|
<div class="bg icon-create-wallet"></div>
|
2016-08-30 16:00:17 -07:00
|
|
|
</i>
|
2016-09-01 06:12:06 -07:00
|
|
|
<span translate>Create a bitcoin wallet</span>
|
2016-09-06 14:56:22 -07:00
|
|
|
<i class="icon nav-item-arrow-right"></i>
|
2016-08-30 16:00:17 -07:00
|
|
|
</a>
|
2016-09-16 10:46:25 -07:00
|
|
|
<a ui-sref="bitpayCard.main" ng-show="!externalServices.BitpayCard" class="item item-icon-left item-big-icon-left item-icon-right next-step">
|
2016-08-30 16:00:17 -07:00
|
|
|
<i class="icon big-icon-svg">
|
2016-09-16 10:46:25 -07:00
|
|
|
<div class="bg icon-bitpay-card"></div>
|
2016-08-30 16:00:17 -07:00
|
|
|
</i>
|
2016-09-16 10:46:25 -07:00
|
|
|
<span translate>Add BitPay Card</span>
|
2016-09-06 14:56:22 -07:00
|
|
|
<i class="icon nav-item-arrow-right"></i>
|
2016-08-26 07:11:14 -07:00
|
|
|
</a>
|
2016-09-16 10:46:25 -07:00
|
|
|
<a ng-show="!externalServices.BuyAndSell" ui-sref="tabs.buyandsell" class="item item-icon-left item-big-icon-left item-icon-right next-step">
|
2016-08-30 16:00:17 -07:00
|
|
|
<i class="icon big-icon-svg">
|
2016-09-16 10:46:25 -07:00
|
|
|
<div class="bg icon-buy-bitcoin"></div>
|
2016-08-30 16:00:17 -07:00
|
|
|
</i>
|
2016-09-16 10:46:25 -07:00
|
|
|
<span translate>Buy or Sell Bitcoin</span>
|
2016-09-06 14:56:22 -07:00
|
|
|
<i class="icon nav-item-arrow-right"></i>
|
2016-08-26 07:11:14 -07:00
|
|
|
</a>
|
2016-09-16 12:25:45 -07:00
|
|
|
<a ui-sref="tabs.giftcards.amazon" ng-show="!externalServices.AmazonGiftCards" class="item item-icon-left item-big-icon-left item-icon-right next-step">
|
2016-08-30 16:00:17 -07:00
|
|
|
<i class="icon big-icon-svg">
|
2016-09-15 10:51:23 -07:00
|
|
|
<div class="bg icon-gift"></div>
|
2016-08-30 16:00:17 -07:00
|
|
|
</i>
|
2016-09-16 10:46:25 -07:00
|
|
|
<span translate>Buy Amazon.com Gift Card</span>
|
2016-09-06 14:56:22 -07:00
|
|
|
<i class="icon nav-item-arrow-right"></i>
|
2016-08-26 07:11:14 -07:00
|
|
|
</a>
|
2016-08-11 14:04:37 -07:00
|
|
|
</div>
|
|
|
|
|
2016-09-02 10:17:47 -07:00
|
|
|
<p class="padding" style="text-align:center; color:#999">
|
|
|
|
{{name}} v{{version}}
|
|
|
|
</p>
|
|
|
|
|
2016-08-11 13:38:27 -07:00
|
|
|
</ion-content>
|
2016-08-11 14:04:37 -07:00
|
|
|
</ion-view>
|