copay/www/views/addresses.html

66 lines
3.0 KiB
HTML
Raw Normal View History

2016-11-16 05:15:13 -08:00
<ion-view hide-tabs id="addresses" class="addr">
2016-11-14 09:52:10 -08:00
<ion-nav-bar class="bar-royal">
<ion-nav-title>{{'Wallet Addresses' | translate}}</ion-nav-title>
<ion-nav-back-button>
</ion-nav-back-button>
</ion-nav-bar>
<ion-content>
2016-11-17 08:17:28 -08:00
<div class="addr-list">
2016-11-16 05:15:13 -08:00
<div class="text-center padding size-42">
<i class="icon ion-ios-ionic-outline big-icon-svg"></i>
2016-11-14 11:51:11 -08:00
</div>
2016-11-16 05:15:13 -08:00
<div class="addr-explanation">
2016-11-17 08:17:28 -08:00
<div class="addr-description" translate>
2016-11-16 05:15:13 -08:00
Each bitcoin wallet can generate billions of addresses from your 12-word backup. A new address is automatically generated and shown each time your recive a payment. <a ng-click="showInformation()" ng-if="!showInfo" translate>Why?</a>
2016-11-14 11:51:11 -08:00
</div>
</div>
2016-11-16 05:15:13 -08:00
<div class="addr-explanation" ng-if="showInfo">
2016-11-17 08:17:28 -08:00
<div class="addr-description" translate>
2016-11-16 05:15:13 -08:00
It's a good idea to avoid reusing addresses-this both protects your privacy and keeps your bitcoins secure against hypothetical attacks by quantum computers. <a ng-click="showInformation()" translate>Hide</a>
</div>
2016-11-14 11:51:11 -08:00
</div>
2016-11-16 05:15:13 -08:00
<div class="list">
2016-11-17 06:20:06 -08:00
<div class="item item-divider item-icon-right" ng-click="newAddress()" translate>
Unused Addresses <span ng-if="noBalance.length > 5">({{noBalance.length}})</span>
2016-11-16 05:15:13 -08:00
<i class="icon ion-ios-plus-empty"></i>
</div>
2016-11-16 11:11:36 -08:00
<div ng-if="latestUnused[0]">
2016-11-17 08:17:28 -08:00
<div class="box-error" ng-if="gapReached">
<h5 translate>Unused Addresses Limit</h5>
<p translate>The maximum number of consecutive unused addresses (20) has been reached. When one of your unused addresses receives a payment, a new address will be generated and shown in your Receive tab. <a ng-click="readMore()" ng-if="!showMore" translate>Read more</a></p>
<p ng-if="showMore" translate>The restore process will stop when 20 addresses are generated in a row which contain no funds. To safely generate more addresses, make a payment to one of the unused addresses which has already been generated. <a ng-click="readMore()" translate>Read less</a></p>
</div>
<div class="item" ng-repeat="u in latestUnused track by $index" copy-to-clipboard="u.address">
2016-11-16 10:23:26 -08:00
{{u.address}}
2016-11-16 05:15:13 -08:00
<div class="addr-path">
2016-11-16 10:23:26 -08:00
{{u.path}} {{u.createdOn * 1000 | amDateFormat:'MMMM Do YYYY, hh:mm a'}}
2016-11-16 05:15:13 -08:00
</div>
</div>
</div>
2016-11-17 06:20:06 -08:00
<div ng-if="latestWithBalance[0]">
<div class="item item-divider" translate>
Addresses With Balance
</div>
2016-11-14 11:51:11 -08:00
<div class="item" ng-repeat="w in latestWithBalance track by $index" copy-to-clipboard="w.address">
2016-11-17 06:20:06 -08:00
{{w.address}}
<div class="addr-balance">{{w.balanceStr}}</div>
</div>
2016-11-16 10:23:26 -08:00
</div>
2016-11-17 04:49:29 -08:00
<div class="item item-icon-right view-all" ng-show="viewAll.value" ng-click="viewAllAddresses()">
<span translate>View All Addresses</span>
2016-11-16 10:23:26 -08:00
<i class="icon ion-ios-arrow-thin-right"></i>
2016-11-16 05:15:13 -08:00
</div>
2016-11-14 09:52:10 -08:00
</div>
</div>
</ion-content>
</ion-view>