mirror of https://github.com/BTCPrivate/copay.git
57 lines
2.6 KiB
HTML
57 lines
2.6 KiB
HTML
<div class="addresses" ng-controller="AddressesController">
|
|
<div ng-show='$root.wallet.isReady()'>
|
|
<h1>
|
|
<span translate>Addresses</span>
|
|
<span class="button primary small side-bar" ng-click="newAddr()" ng-disabled="loading"><i class="fi-plus"></i></span>
|
|
</h1>
|
|
|
|
<div class="large-12 medium-12" ng-if="!!(addresses|removeEmpty).length">
|
|
<div class="large-12 medium-12" ng-init="showAll=0">
|
|
<div class="oh" ng-repeat="addr in addresses|removeEmpty|limitAddress:showAll">
|
|
<div class="panel radius row show-for-large-up">
|
|
<div class="large-9 medium-9 column">
|
|
<div class="list-addr">
|
|
<i class="fi-thumbnails size-48" ng-click="openAddressModal(addr)"> </i>
|
|
<span>
|
|
<contact address="{{addr.address}}" tooltip-popup-delay="500" tooltip tooltip-placement="right">
|
|
</span>
|
|
<span class="btn-copy" clip-copy="addr.address"> </span>
|
|
<small translate class="label" ng-if="addr.isChange">change</small>
|
|
</div>
|
|
</div>
|
|
<div class="large-3 medium-3 column text-right">
|
|
<span ng-if="$root.updatingBalance">
|
|
<i class="fi-bitcoin-circle icon-rotate spinner"></i>
|
|
</span>
|
|
<p class="size-14" ng-if="!$root.updatingBalance">
|
|
<b>{{addr.balance || 0|noFractionNumber}} {{$root.wallet.settings.unitName}}</b>
|
|
</p>
|
|
</div>
|
|
</div> <!-- end of panel large screen -->
|
|
<a class="db text-black panel radius row hide-for-large-up list-addr" ng-click="openAddressModal(addr)">
|
|
<div class="ellipsis m5b">
|
|
<span><contact address="{{addr.address}}"></span>
|
|
<small translate class="m0 label" ng-if="addr.isChange">change</small>
|
|
</div>
|
|
<div class="text-left">
|
|
<p class="small-12 columns m15t" ng-if="$root.updatingBalance">
|
|
<i class="fi-bitcoin-circle icon-rotate spinner"></i>
|
|
</p>
|
|
<p class="size-14" ng-if="!$root.updatingBalance">
|
|
<b>{{addr.balance || 0|noFractionNumber}} {{$root.wallet.settings.unitName}}</b>
|
|
</p>
|
|
</div>
|
|
</a> <!-- end of panel mobile -->
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<a class="secondary radius" ng-click="showAll=!showAll" ng-show="(addresses|removeEmpty).length != (addresses|removeEmpty|limitAddress).length">
|
|
<span translate ng-if="!showAll">Show all</span>
|
|
<span translate ng-if="showAll">Show less</span>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
|