copay/views/homeWallet.html

95 lines
3.8 KiB
HTML
Raw Normal View History

2015-01-15 10:08:03 -08:00
<div class="home-wallet" ng-controller="HomeWalletController">
2015-01-14 07:26:05 -08:00
<div class="row show-for-large-up">
2015-01-15 10:08:03 -08:00
<div class="large-12 columns">
2014-12-04 05:36:58 -08:00
<h1 translate>Home</h1>
2014-11-26 13:50:58 -08:00
</div>
2014-12-04 05:36:58 -08:00
</div>
2014-10-31 07:49:52 -07:00
2014-12-04 05:36:58 -08:00
<div class="row">
<div class="large-12 columns">
<div class="panel oh">
<div class="row">
2014-12-04 12:50:04 -08:00
<div class="large-8 medium-6 small-12 columns">
<div class="ellipsis oh">
<div class="avatar-wallet left">{{$root.wallet.getName() | limitTo: 1}}</div>
<h2 class="m10t left">
{{$root.wallet.getName()}}
</h2>
2014-12-04 12:50:04 -08:00
</div>
2014-12-04 05:36:58 -08:00
</div>
2014-12-04 12:50:04 -08:00
<div class="large-4 medium-6 small-12 columns">
2014-12-04 05:36:58 -08:00
<div class="text-right">
<span class="size-21">
<strong>
<span ng-if="!$root.updatingBalance">{{$root.wallet.balanceInfo.totalBalance || 0}}</span>
2014-12-10 13:18:28 -08:00
<span ng-if="$root.updatingBalance"><i class="fi-bitcoin-circle icon-rotate spinner"></i></span>
{{$root.wallet.settings.unitName}}
</strong>
2014-12-04 05:36:58 -08:00
</span>
<span class="size-14 db m5t text-gray">
<span ng-if="!$root.wallet.balanceInfo.updatingBalance && $root.wallet.balanceInfo.alternativeBalanceAvailable">{{$root.wallet.balanceInfo.totalBalanceAlternative}} {{$root.wallet.balanceInfo.alternativeIsoCode}}</span>
2014-12-10 13:18:28 -08:00
<span ng-if="!$root.wallet.balanceInfo.updatingBalance && !$root.wallet.balanceInfo.alternativeBalanceAvailable">N/A</span>
<span ng-if="$root.wallet.balanceInfo.updatingBalance"><i class="fi-bitcoin-circle icon-rotate spinner"></i></span>
2014-12-04 05:36:58 -08:00
</span>
</div>
</div>
2014-10-31 07:49:52 -07:00
</div>
2014-12-10 21:01:12 -08:00
2014-12-04 05:36:58 -08:00
<div class="row ">
<div class="large-12 columns line-t m10t">
2015-01-15 10:08:03 -08:00
<div class="text-right size-12">
<span ng-if="!$root.wallet.isShared()">Personal Wallet</span>
<span ng-if="$root.wallet.isShared()">
Multisignature wallet [{{$root.wallet.requiredCopayers}} of {{$root.wallet.totalCopayers}} ]
</span>
2014-12-04 05:36:58 -08:00
<span ng-if="$root.wallet.isTestnet()"> in TESTNET</span>
2014-10-31 11:17:39 -07:00
</div>
</div>
2014-10-31 10:02:17 -07:00
</div>
</div>
2014-12-04 05:36:58 -08:00
</div>
</div>
2014-12-04 05:36:58 -08:00
2014-12-10 13:18:28 -08:00
<div ng-show="$root.wallet.requiresMultipleSignatures()">
<div class="row">
2014-12-04 05:36:58 -08:00
<div class="large-12 columns">
2014-12-10 13:18:28 -08:00
<div class="panel oh">
<h2 class="line-b" translate>Spend proposals</h2>
<div class="last-transactions pr" ng-repeat="tx in $root.wallet.pendingTxProposals | orderBy:'-createdTs'" ng-include="'views/includes/transaction.html'" ng-if="$root.wallet.pendingTxProposals[0]">
2014-12-10 21:01:12 -08:00
</div>
2014-12-11 20:05:59 -08:00
<div class="text-right size-12 line-t p10t" ng-show="$root.wallet.balanceInfo.lockedBalance && !$root.wallet.balanceInfo.updatingBalance">
2014-12-10 21:01:12 -08:00
Total Locked Balance:
<b>{{$root.wallet.balanceInfo.lockedBalance}} {{$root.wallet.settings.unitName}} </b>
<span class="text-gray"> {{$root.wallet.balanceInfo.lockedBalanceAlternative}} {{$root.wallet.balanceInfo.alternativeIsoCode}} </span>
2014-12-10 13:18:28 -08:00
</div>
2014-12-10 21:01:12 -08:00
2014-12-10 13:18:28 -08:00
<div class="pr" ng-if="!$root.wallet.pendingTxProposals[0]">
<p> No pending spend proposals at the moment.
</div>
</div>
2014-10-31 14:35:44 -07:00
</div>
2014-10-31 11:17:39 -07:00
</div>
2014-12-04 05:36:58 -08:00
</div>
2014-10-31 07:49:52 -07:00
2015-01-15 10:08:03 -08:00
<div class="row" ng-if="$root.wallet.isShared()">
<!-- List of copayers -->
<div class="large-12 columns">
<div class="panel oh">
<h2 class="line-b" translate>Copayers</h2>
2014-12-09 06:52:01 -08:00
<div ng-include="'views/includes/copayers.html'"></div>
</div>
</div>
</div>
2015-01-15 10:08:03 -08:00
2015-01-18 13:48:16 -08:00
<div class="row hide-for-large-up">
2015-01-15 10:08:03 -08:00
<div class="large-12 columns text-right size-12">
<a ng-click="$root.go('more')"><i class="fi-widget"></i> Settings</a>
</div>
</div>
</div>
2015-01-15 12:16:51 -08:00
<div class="extra-margin-bottom"></div>