2016-08-11 13:38:27 -07:00
|
|
|
|
2016-08-17 09:07:48 -07:00
|
|
|
<ion-view>
|
|
|
|
<ion-nav-bar class="bar-stable">
|
|
|
|
<ion-nav-title>Home</ion-nav-title>
|
|
|
|
</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-08-23 13:31:50 -07:00
|
|
|
|
2016-08-26 07:11:14 -07:00
|
|
|
<div class="card">
|
|
|
|
<div class="item item-divider">
|
|
|
|
Recent Activity
|
2016-08-24 13:54:01 -07:00
|
|
|
</div>
|
2016-08-26 07:11:14 -07:00
|
|
|
<div ng-if="fetchingNotifications" class="item text-center">
|
|
|
|
<ion-spinner icon="lines"></ion-spinner>
|
|
|
|
<div translate>Updating activity. Please stand by</div>
|
|
|
|
</div>
|
|
|
|
<div ng-if="!fetchingNotifications">
|
|
|
|
<a class="item item-icon-left" ng-repeat="x in notifications" ng-click="x.action()">
|
2016-08-25 12:14:13 -07:00
|
|
|
<span ng-include="'views/includes/walletActivity.html'"></span>
|
2016-08-26 07:11:14 -07:00
|
|
|
</a>
|
2016-08-18 15:25:30 -07:00
|
|
|
|
2016-08-25 12:14:13 -07:00
|
|
|
<a class="item text-center" ui-sref="activity" ng-show="notificationsMore">
|
2016-08-25 15:05:50 -07:00
|
|
|
|
2016-08-25 12:14:13 -07:00
|
|
|
<span translate>More</span> ({{notificationsMore}})
|
2016-08-25 15:07:41 -07:00
|
|
|
<span style="font-size:12px;color:gray">(ToDo: Cache, refresh & seft not. 1-1 no here yet)</span>
|
2016-08-25 12:14:13 -07:00
|
|
|
</a>
|
|
|
|
|
|
|
|
<div class="item" ng-show="!notifications[0]">
|
2016-08-25 14:40:53 -07:00
|
|
|
<span translate>Nothing to show here.</span>
|
2016-08-25 12:14:13 -07:00
|
|
|
</div>
|
2016-08-18 06:08:23 -07:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2016-08-26 07:11:14 -07:00
|
|
|
<div class="card">
|
|
|
|
<div class="item item-divider item-icon-right">
|
|
|
|
Wallets
|
|
|
|
<i class="icon ion-ios-plus-empty" ui-sref="add.main"></i>
|
2016-08-18 13:45:59 -07:00
|
|
|
</div>
|
2016-08-25 12:14:13 -07:00
|
|
|
<div class="item" ng-if="!wallets[0]">
|
|
|
|
<span translate>No Wallet</span>
|
|
|
|
</div>
|
2016-08-26 07:11:14 -07:00
|
|
|
<a ng-repeat="item in wallets track by $index"
|
|
|
|
class="item item-icon-left"
|
|
|
|
ui-sref="wallet.details({'walletId': item.id})">
|
|
|
|
<i class="icon ion-briefcase size-21" ng-style="{'color':item.color}"></i>
|
|
|
|
{{item.name || item.id}}
|
|
|
|
<span ng-show="item.n > 1" class="text-light">
|
|
|
|
{{item.m}}-of-{{item.n}}
|
|
|
|
</span>
|
|
|
|
<span class="badge badge-assertive" ng-show="!item.isComplete()" translate>
|
|
|
|
Incomplete
|
|
|
|
</span>
|
2016-08-31 07:49:28 -07:00
|
|
|
<span class="item-note" ng-show="item.isComplete() && !item.balanceHidden">
|
2016-08-26 07:11:14 -07:00
|
|
|
{{item.status.availableBalanceStr}}
|
|
|
|
</span>
|
2016-08-31 07:49:28 -07:00
|
|
|
<span class="item-note" ng-show="item.isComplete() && item.balanceHidden">
|
|
|
|
<strong class="size-12" translate>[Balance Hidden]</strong>
|
|
|
|
</span>
|
2016-08-26 07:11:14 -07:00
|
|
|
</a>
|
|
|
|
<a ui-sref="bitpayCard.main" ng-show="externalServices.BitpayCard" class="item item-icon-left">
|
|
|
|
<i class="icon ion-card"></i>BitPay Card
|
|
|
|
</a>
|
|
|
|
<a ui-sref="amazon.main" ng-show="externalServices.AmazonGiftCards" class="item item-icon-left">
|
|
|
|
<i class="icon ion-ios-cart"></i>Gift Cards
|
|
|
|
</a>
|
2016-08-11 14:04:37 -07:00
|
|
|
</div>
|
|
|
|
|
2016-08-26 07:11:14 -07:00
|
|
|
<div class="card" ng-show="externalServices.BuyAndSell && (glideraEnabled || coinbaseEnabled)">
|
|
|
|
<div class="item item-divider">
|
|
|
|
Buy & Sell Bitcoin
|
2016-08-24 07:33:43 -07:00
|
|
|
</div>
|
2016-08-26 07:11:14 -07:00
|
|
|
<a ng-show="glideraEnabled" ui-sref="glidera.main" class="item">
|
|
|
|
<img src="img/glidera-logo.png" width="90">
|
|
|
|
</a>
|
|
|
|
<a ng-show="coinbaseEnabled" ui-sref="exchange.coinbase" class="item">
|
|
|
|
<img src="img/coinbase-logo.png" width="90"> TODO
|
|
|
|
</a>
|
2016-08-24 07:33:43 -07:00
|
|
|
</div>
|
|
|
|
|
2016-08-26 07:11:14 -07:00
|
|
|
<div class="card" ng-show="!externalServices.AmazonGiftCards || !externalServices.BitpayCard || !externalServices.BuyAndSell">
|
|
|
|
<div class="item item-divider">
|
|
|
|
Next steps
|
2016-08-24 15:00:50 -07:00
|
|
|
</div>
|
2016-08-26 07:11:14 -07:00
|
|
|
<a ui-sref="bitpayCard.main" ng-show="!externalServices.BitpayCard" class="item item-icon-left">
|
|
|
|
<i class="icon ion-card"></i>Add BitPay Card
|
|
|
|
</a>
|
|
|
|
<a ng-show="!externalServices.BuyAndSell" ui-sref="buyandsell" class="item item-icon-left">
|
|
|
|
<i class="icon ion-bag"></i>Buy and Sell Bitcoin
|
|
|
|
</a>
|
|
|
|
<a ui-sref="amazon.main" ng-show="!externalServices.AmazonGiftCards" class="item item-icon-left">
|
|
|
|
<i class="icon ion-ios-cart"></i>Buy a Gift Cards
|
|
|
|
</a>
|
2016-08-11 14:04:37 -07:00
|
|
|
</div>
|
|
|
|
|
2016-08-11 13:38:27 -07:00
|
|
|
</ion-content>
|
2016-08-11 14:04:37 -07:00
|
|
|
</ion-view>
|