Wallet/public/views/tab-home.html

94 lines
3 KiB
HTML
Raw Normal View History

2016-08-11 17:38:27 -03:00
2016-08-17 13:07:48 -03:00
<ion-view>
<ion-nav-bar class="bar-stable">
<ion-nav-title>Home</ion-nav-title>
</ion-nav-bar>
2016-08-22 17:43:31 -03:00
<ion-content class="padding" ng-controller="tabHomeController">
2016-08-18 10:08:23 -03:00
2016-08-23 17:31:50 -03:00
2016-08-24 17:54:01 -03:00
<h2 translate>Activity</h2>
<div ng-if="fetchingNotifications" class="updatingHistory">
<div class="row" >
<ion-spinner class="spinner-dark" icon="lines"></ion-spinner>
</div>
<div class="row" >
<div class="col" translate>Updating activity. Please stand by.</div>
</div>
</div>
</div>
<div ng-if="!fetchingNotifications">
<div class="list card" ng-if="!fetchingNotifications">
2016-08-18 17:45:59 -03:00
<ul>
2016-08-24 17:54:01 -03:00
<li ng-repeat="x in notifications" class="item item-icon-left" ng-click="x.action()">
<span ng-include="'views/includes/walletActivity.html'"></span>
2016-08-18 17:45:59 -03:00
</li>
2016-08-18 19:25:30 -03:00
2016-08-24 17:54:01 -03:00
<li class="item " ui-sref="activity" ng-show="notificationsMore">
2016-08-23 17:31:50 -03:00
<button class="button button-block button-passive">
2016-08-24 17:54:01 -03:00
More ({{notificationsMore}})
2016-08-23 17:31:50 -03:00
</button>
</li>
2016-08-24 17:54:01 -03:00
<li class="item" ng-show="!notifications[0]">
No recent activity
</li>
2016-08-23 17:31:50 -03:00
</ul>
2016-08-18 10:08:23 -03:00
</div>
</div>
2016-08-18 17:45:59 -03:00
<div class="row">
2016-08-18 19:25:30 -03:00
<div class="col col-80">
<h2>Wallets </h2>
2016-08-18 17:45:59 -03:00
</div>
2016-08-18 19:25:30 -03:00
<div class="col col-20 text-right">
<a class="button button-light" ui-sref="add.main">
2016-08-18 19:25:30 -03:00
<i class="size-36 icon ion-ios-plus-outline"></i>
</a>
2016-08-18 17:45:59 -03:00
</div>
</div>
2016-08-18 10:08:23 -03:00
<div class="card" ng-init="updateAllWallets()">
2016-08-22 17:43:31 -03:00
<div ng-repeat="item in wallets track by $index"
class="item item-icon-left"
ui-sref="wallet.details({'walletId': item.id})">
2016-08-15 11:56:59 -03:00
<i class="icon ion-briefcase size-21" ng-style="{'color':item.color}"></i>
2016-08-11 18:04:37 -03:00
{{item.name || item.id}}
2016-08-15 11:56:59 -03:00
<span ng-show="item.n > 1" class="text-gray">
{{item.m}}-of-{{item.n}}
2016-08-11 18:04:37 -03:00
</span>
2016-08-15 10:25:43 -03:00
2016-08-15 11:56:59 -03:00
<span class="badge badge-assertive" ng-show="!item.isComplete()" translate>
Incomplete
</span>
<span class="item-note" ng-show="item.isComplete()">
2016-08-18 10:37:08 -03:00
{{item.status.availableBalanceStr}}
2016-08-15 10:25:43 -03:00
</span>
2016-08-22 17:43:31 -03:00
</div>
2016-08-11 18:04:37 -03:00
</div>
2016-08-24 11:33:43 -03:00
<div ng-show="glideraEnabled || coinbaseEnabled">
<h3>Buy & Sell Bitcoin</h3>
<div class="card">
<div ng-show="glideraEnabled" ui-sref="glidera.main" class="item">
<img src="img/glidera-logo.png" width="90">
</div>
<div ng-show="coinbaseEnabled" ui-sref="exchange.coinbase" class="item">
<img src="img/coinbase-logo.png" width="90"> TODO
2016-08-24 11:33:43 -03:00
</div>
</div>
</div>
2016-08-18 17:45:59 -03:00
<h3>Next steps </h3>
<div class="card">
<div ui-sref="bitpayCard.main" ng-show="bitpayCardEnabled" class="item item-icon-left">
2016-08-11 18:04:37 -03:00
<i class="icon ion-card"></i>
BitPay Card
</div>
<div ui-sref="amazon.main" class="item item-icon-left">
2016-08-11 18:04:37 -03:00
<i class="icon ion-ios-cart"></i>
Gift Cards
</div>
2016-08-11 18:04:37 -03:00
</div>
2016-08-11 17:38:27 -03:00
</ion-content>
2016-08-11 18:04:37 -03:00
</ion-view>