copay/public/views/preferencesInformation.html

128 lines
4.4 KiB
HTML
Raw Normal View History

2016-08-17 09:07:48 -07:00
<ion-view>
2016-08-16 12:47:51 -07:00
<ion-nav-bar class="bar-stable">
2016-08-17 11:53:17 -07:00
<ion-nav-title>Wallet Information</ion-nav-title>
2016-08-16 12:47:51 -07:00
<ion-nav-buttons side="primary">
2016-08-19 07:32:26 -07:00
<button class="button no-border" ui-sref="wallet.preferencesAdvanced">
<i class="icon ion-chevron-left"></i> Back
</button>
</ion-nav-buttons>
2016-08-16 12:47:51 -07:00
</ion-nav-bar>
2016-08-25 12:31:47 -07:00
<ion-content ng-controller="preferencesInformation" ng-init="init()">
2016-08-16 12:47:51 -07:00
<div class="list">
<div class="item item-divider">
Wallet Information
</div>
<div class="item" ng-click="saveBlack()">
2015-09-12 06:44:01 -07:00
<span translate>Wallet Name (at creation)</span>
2016-08-16 12:47:51 -07:00
<span class="item-note">
2015-09-12 06:44:01 -07:00
{{walletName}}
</span>
2016-08-16 12:47:51 -07:00
</div>
<div class="item" copy-to-clipboard="walletId">
2015-09-12 06:44:01 -07:00
<span translate>Wallet Id</span>
2016-08-16 12:47:51 -07:00
<span class="item-note">
2015-09-12 06:44:01 -07:00
{{walletId}}
</span>
2016-08-16 12:47:51 -07:00
</div>
<div class="item">
2015-09-12 06:44:01 -07:00
<span translate>Wallet Configuration (m-n)</span>
2016-08-16 12:47:51 -07:00
<span class="item-note">
2015-09-12 06:44:01 -07:00
{{M}}-{{N}}
</span>
2016-08-16 12:47:51 -07:00
</div>
<div class="item">
2015-09-12 06:44:01 -07:00
<span translate>Wallet Network</span>
2016-08-16 12:47:51 -07:00
<span class="item-note">
2015-09-12 06:44:01 -07:00
{{network}}
</span>
2016-08-16 12:47:51 -07:00
</div>
<div class="item">
2015-09-12 06:44:01 -07:00
<span translate>Address Type</span>
2016-08-16 12:47:51 -07:00
<span class="item-note">
2015-09-12 06:44:01 -07:00
{{addressType}}
</span>
2016-08-16 12:47:51 -07:00
</div>
<div class="item">
2015-09-12 06:44:01 -07:00
<span translate>Derivation Strategy</span>
2016-08-16 12:47:51 -07:00
<span class="item-note">
2015-09-12 06:44:01 -07:00
{{derivationStrategy}}
</span>
2016-08-16 12:47:51 -07:00
</div>
2016-08-18 15:23:58 -07:00
<div class="item" ng-show="wallet.isPrivKeyExternal()">
2016-08-16 12:47:51 -07:00
<span translate>Hardware Wallet</span>
<span class="item-note">
2016-08-18 15:23:58 -07:00
{{wallet.getPrivKeyExternalSourceName()}}
2015-11-07 06:40:35 -08:00
</span>
2016-08-16 12:47:51 -07:00
</div>
2016-08-18 15:23:58 -07:00
<div class="item" ng-show="!wallet.isPrivKeyExternal() && !wallet.canSign()">
2015-11-07 06:40:35 -08:00
<span translate></span>
2016-08-16 12:47:51 -07:00
<span class="item-note">
2015-11-07 06:40:35 -08:00
No private key
</span>
2016-08-16 12:47:51 -07:00
</div>
2016-08-18 15:23:58 -07:00
<div class="item" ng-show="wallet.credentials.account">
2016-08-16 12:47:51 -07:00
<span translate>Account</span>({{derivationStrategy}})
<span class="item-note">
2016-08-18 15:23:58 -07:00
#{{wallet.credentials.account}}
2015-11-07 06:40:35 -08:00
</span>
2016-08-16 12:47:51 -07:00
</div>
2015-11-07 06:40:35 -08:00
2016-08-16 12:47:51 -07:00
<div class="item item-divider">
Copayers
</div>
2016-08-18 15:23:58 -07:00
<div class="item item-icon-right" ng-repeat="copayer in wallet.copayers">
<span ng-show="copayer.id == wallet.copayerId" translate>{{copayer.name}} ({{'Me'|translate}})</span>
<span ng-style="{'color': 'grey';}" ng-show="copayer.id != wallet.copayerId" translate>{{copayer.name}}</span>
2016-08-16 12:47:51 -07:00
<i class="icon ion-ios-checkmark-outline"></i>
</div>
<div class="item item-divider">
Extended Public Keys
</div>
<div class="item" ng-repeat="pk in pubKeys" copy-to-clipboard="pk">
2016-08-16 12:47:51 -07:00
<span translate>Copayer {{$index}}<</span>
<i class="icon ion-ios-checkmark-outline"></i>
<span class="item-note">
<span>Copayer {{$index}}</span>
<span>{{pk}}</span>
<span ng-if="$index == 0">({{basePath}})</span>
2015-11-06 10:32:10 -08:00
</span>
2016-08-16 12:47:51 -07:00
</div>
2015-11-06 10:32:10 -08:00
2016-08-16 12:47:51 -07:00
<div ng-show="addrs">
<div class="item item-divider">
Last Wallet Addresses
2015-09-12 06:44:01 -07:00
</div>
<div class="item" ng-repeat="a in addrs" class="oh" copy-to-clipboard="a.address">
2016-08-16 12:47:51 -07:00
<span>{{a.address}}</span>
<span>{{a.path}} &middot; {{a.createdOn *1000 | amDateFormat:'MMMM Do YYYY, h:mm a' }}</span>
<i class="icon ion-ios-checkmark-outline"></i>
</div>
<div translate>
Only Main (not change) addresses are shown. The addresses on this list were not verified locally at this time.
</div>
2016-08-19 09:07:18 -07:00
<button class="button button-block button-positive" href ui-sref="walletHome" ng-click="scan()" translate>
2016-08-16 12:47:51 -07:00
Scan addresses for funds
2016-08-18 15:23:58 -07:00
</button>
2016-08-19 09:07:18 -07:00
<button class="button button-block button-positive" ng-show="isCordova" ng-click="sendAddrs()" translate>
2016-08-16 12:47:51 -07:00
Send addresses by email
2016-08-18 15:23:58 -07:00
</button>
2015-09-12 06:44:01 -07:00
2016-08-18 15:23:58 -07:00
<div ng-show="wallet.balanceByAddress" ng-if="wallet.balanceByAddress[0]">
2016-08-16 12:47:51 -07:00
<div class="item item-divider">
Balance By Address
</div>
<div class="item" ng-repeat="a in wallet.balanceByAddress" copy-to-clipboard="a.address">
2016-08-16 12:47:51 -07:00
<span>{{a.address}}</span>
<span class="item-note">
{{(a.amount/1e8).toFixed(8)}} BTC
2016-08-16 12:47:51 -07:00
</span>
</div>
2015-09-28 12:36:35 -07:00
</div>
2016-08-16 12:47:51 -07:00
</div>
</ion-content>
</ion-view>