copay/views/homeWallet.html

91 lines
3.9 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>
2015-02-02 10:55:56 -08:00
2014-12-04 05:36:58 -08:00
<div class="row">
2015-02-02 10:55:56 -08:00
<div class="columns">
2014-12-04 05:36:58 -08:00
<div class="panel oh">
2015-02-02 10:55:56 -08:00
<div class="amount hide-for-large-up">
<span class="size-36">
<strong>
<span ng-if="!$root.updatingBalance">{{$root.wallet.balanceInfo.totalBalance || 0}}</span>
<span ng-if="$root.updatingBalance"><i class="fi-bitcoin-circle icon-rotate spinner"></i></span>
{{$root.wallet.settings.unitName}}
</strong>
</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>
<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>
</span>
2014-10-31 07:49:52 -07:00
</div>
2015-02-02 10:55:56 -08:00
<div class="pr">
<div class="avatar-wallet left">{{$root.wallet.getName() | limitTo: 1}}</div>
<div class="wallet-info">
<p class="m0">
{{$root.wallet.requiredCopayers}} <span translate>of</span> {{$root.wallet.totalCopayers}}
2015-02-02 10:55:56 -08:00
</p>
<div class="size-12 text-gray">
<span ng-if="$root.wallet.isShared() && !$root.wallet.isTestnet()" translate>Multisignature wallet </span>
<span ng-if="!$root.wallet.isShared() && !$root.wallet.isTestnet()" translate>Personal Wallet</span>
<span ng-if="$root.wallet.isTestnet()" translate>Testnet</span>
2014-10-31 11:17:39 -07:00
</div>
</div>
2015-02-02 10:55:56 -08:00
<div class="right">
<a ng-click="$root.go('more')" class="button outline light-gray tiny m0">
<i class="fi-widget size-18 vm"></i>
<span class="show-for-medium-up" translate>Settings</span>
2015-02-02 10:55:56 -08:00
</a>
</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>
<div class="text-right size-12 line-t p10t"
ng-show="$root.wallet.balanceInfo.lockedBalance && !$root.wallet.balanceInfo.updatingBalance">
<span translate>Total Locked Balance</span>:
<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 translate>No pending spend proposals at the moment.</p>
</div>
</div>
</div>
</div>
</div>
<div ng-if="!$root.wallet.requiresMultipleSignatures() && $root.wallet.pendingTxProposals[0]">
<div class="row">
<div class="large-12 columns">
<div class="panel oh">
<h2 class="line-b" translate>Unsent transactions</h2>
<div class="last-transactions pr" ng-repeat="tx in $root.wallet.pendingTxProposals | orderBy:'-createdTs'"
ng-include="'views/includes/transaction.html'">
2014-12-10 13:18:28 -08:00
</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
</div>
2015-01-15 12:16:51 -08:00
<div class="extra-margin-bottom"></div>