mirror of https://github.com/BTCPrivate/copay.git
91 lines
3.9 KiB
HTML
91 lines
3.9 KiB
HTML
<div class="home-wallet" ng-controller="HomeWalletController">
|
|
<div class="row show-for-large-up">
|
|
<div class="large-12 columns">
|
|
<h1 translate>Home</h1>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="row">
|
|
<div class="columns">
|
|
<div class="panel oh">
|
|
<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>
|
|
</div>
|
|
<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}}
|
|
</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>
|
|
</div>
|
|
</div>
|
|
<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>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div ng-show="$root.wallet.requiresMultipleSignatures()">
|
|
<div class="row">
|
|
<div class="large-12 columns">
|
|
<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]">
|
|
</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>
|
|
</div>
|
|
|
|
<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'">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="extra-margin-bottom"></div>
|