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:37:08 -07:00
|
|
|
<ion-content class="padding home" ng-controller="tabHomeController" cache-view="false">
|
2016-08-18 06:08:23 -07:00
|
|
|
|
2016-08-18 13:45:59 -07:00
|
|
|
<div ng-if="txps[0]">
|
|
|
|
<h3 class="title m0" translate>Payment Proposals</h3>
|
|
|
|
<div class="list card">
|
|
|
|
<ul>
|
|
|
|
<li ng-repeat="tx in txps" class="item item-icon-left"
|
|
|
|
ng-click="openTxpModal(tx)">
|
|
|
|
<i class="icon ion-ios-circle-filled" ng-show="tx.pendingForUs" ng-style="{'color':tx.wallet.color}"></i>
|
|
|
|
<span ng-show="!tx.merchant">
|
|
|
|
<span ng-show="addressbook[tx.toAddress] && !tx.message">
|
|
|
|
{{addressbook[tx.toAddress]}}
|
|
|
|
</span>
|
|
|
|
<span class="ellipsis" ng-show="!addressbook[tx.toAddress] && tx.message">
|
|
|
|
{{tx.message}}
|
|
|
|
</span>
|
|
|
|
<span ng-show="!addressbook[tx.toAddress] && !tx.message" translate>
|
|
|
|
Sending
|
|
|
|
</span>
|
2016-08-18 06:08:23 -07:00
|
|
|
</span>
|
2016-08-18 13:45:59 -07:00
|
|
|
<span ng-show="tx.merchant">
|
|
|
|
<span ng-show="tx.merchant.pr.ca"><i class="fi-lock"></i> {{tx.merchant.domain}}</span>
|
|
|
|
<span ng-show="!tx.merchant.pr.ca"><i class="fi-unlock"></i> {{tx.merchant.domain}}</span>
|
2016-08-18 06:08:23 -07:00
|
|
|
</span>
|
|
|
|
<span>
|
|
|
|
- {{tx.amountStr}}
|
|
|
|
</span>
|
2016-08-18 13:45:59 -07:00
|
|
|
<div class="item item-divider">
|
|
|
|
{{tx.wallet.name}} · <time>{{ (tx.ts || tx.createdOn ) * 1000 | amTimeAgo}}</time>
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
</ul>
|
2016-08-18 06:08:23 -07:00
|
|
|
|
2016-08-18 15:25:30 -07:00
|
|
|
|
2016-08-18 13:45:59 -07:00
|
|
|
<div ng-show="lockedBalanceSat">
|
|
|
|
<span translate>Total Locked Balance</span>:
|
|
|
|
<b>{{lockedBalanceStr}} </b>
|
|
|
|
<span> {{lockedBalanceAlternative}} {{alternativeIsoCode}} </span>
|
|
|
|
</div>
|
2016-08-18 06:08:23 -07:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2016-08-18 13:45:59 -07:00
|
|
|
<div class="row">
|
2016-08-18 15:25:30 -07:00
|
|
|
<div class="col col-80">
|
|
|
|
<h2>Wallets </h2>
|
2016-08-18 13:45:59 -07:00
|
|
|
</div>
|
2016-08-18 15:25:30 -07:00
|
|
|
<div class="col col-20 text-right">
|
|
|
|
<a class="button button-light" href="#/add">
|
|
|
|
<i class="size-36 icon ion-ios-plus-outline"></i>
|
|
|
|
</a>
|
2016-08-18 13:45:59 -07:00
|
|
|
</div>
|
|
|
|
</div>
|
2016-08-18 06:08:23 -07:00
|
|
|
|
2016-08-11 14:04:37 -07:00
|
|
|
<div class="list card">
|
|
|
|
<ul class="pr">
|
|
|
|
|
|
|
|
<li ng-show="wallets[0]"
|
|
|
|
ng-repeat="item in wallets track by $index" class="item item-icon-left"
|
2016-08-17 09:07:48 -07:00
|
|
|
menu-toggle href ui-sref="wallet.details({'walletId': item.id})">
|
2016-08-15 07:56:59 -07:00
|
|
|
<i class="icon ion-briefcase size-21" ng-style="{'color':item.color}"></i>
|
2016-08-11 14:04:37 -07:00
|
|
|
{{item.name || item.id}}
|
2016-08-15 07:56:59 -07:00
|
|
|
<span ng-show="item.n > 1" class="text-gray">
|
|
|
|
{{item.m}}-of-{{item.n}}
|
2016-08-11 14:04:37 -07:00
|
|
|
</span>
|
2016-08-15 06:25:43 -07:00
|
|
|
|
2016-08-15 07:56:59 -07:00
|
|
|
<span class="badge badge-assertive" ng-show="!item.isComplete()" translate>
|
|
|
|
Incomplete
|
|
|
|
</span>
|
|
|
|
<span class="item-note" ng-show="item.isComplete()">
|
2016-08-18 06:37:08 -07:00
|
|
|
{{item.status.availableBalanceStr}}
|
2016-08-15 06:25:43 -07:00
|
|
|
</span>
|
2016-08-11 14:04:37 -07:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
|
2016-08-18 13:45:59 -07:00
|
|
|
<h3>Next steps </h3>
|
2016-08-11 14:04:37 -07:00
|
|
|
<div class="list card">
|
|
|
|
<ul class="pr">
|
|
|
|
<li menu-toggle href ui-sref="bitpayCard" ng-show="bitpayCardEnabled" class="item item-icon-left">
|
|
|
|
<i class="icon ion-card"></i>
|
|
|
|
BitPay Card
|
|
|
|
</li>
|
|
|
|
<li ng-show="!index.isWindowsPhoneApp && (index.glideraEnabled || index.coinbaseEnabled)" menu-toggle href ui-sref="buyandsell" class="item item-icon-left">
|
|
|
|
<i class="icon ion-cash"></i>
|
|
|
|
Buy and Sell
|
|
|
|
</li>
|
|
|
|
<li menu-toggle href ui-sref="amazon" class="item item-icon-left">
|
|
|
|
<i class="icon ion-ios-cart"></i>
|
|
|
|
Gift Cards
|
|
|
|
<span class="item-note">
|
2016-08-18 13:45:59 -07:00
|
|
|
bla bla
|
2016-08-11 14:04:37 -07:00
|
|
|
</span>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
|
2016-08-11 13:38:27 -07:00
|
|
|
</ion-content>
|
2016-08-11 14:04:37 -07:00
|
|
|
</ion-view>
|