2017-04-05 10:39:00 -03:00
< ion-view id = "walletDetails" hide-tabs >
2016-11-10 14:26:22 -05:00
2017-02-23 16:46:41 -05:00
< ion-nav-bar ng-class = "{'wallet-background-color-default': !wallet.color}" ng-style = "{'background-color': wallet.color}" >
2016-09-29 19:04:52 -03:00
< ion-nav-title > {{wallet.name}}< / ion-nav-title >
2016-09-16 12:19:40 -03:00
< ion-nav-back-button >
< / ion-nav-back-button >
2016-09-16 11:30:16 -03:00
< ion-nav-buttons side = "secondary" >
2016-10-18 21:10:09 -04:00
< button class = "button back-button" ng-click = "startSearch(); openSearchModal()" ng-if = "txHistory.length > 4" >
< i class = "icon ion-ios-search-strong tx-search" > < / i >
2016-09-16 11:30:16 -03:00
< / button >
< / ion-nav-buttons >
< / ion-nav-bar >
2016-10-03 11:52:48 -03:00
2017-06-12 12:28:24 -03:00
< div class = "bp-content" ng-class = "{'status-bar': isCordova}" >
2016-11-09 12:34:38 -05:00
2017-02-23 16:46:41 -05:00
< div class = "amount-wrapper" ng-show = "wallet && wallet.isComplete() && amountIsCollapsible" ng-class = "{'wallet-background-color-default': !wallet.color}" ng-style = "{'background-color':wallet.color}" >
2016-11-10 14:02:34 -05:00
< div
class="amount-bg"
ng-style="{'background-color':wallet.color}"
2017-02-23 16:46:41 -05:00
ng-class="{collapsible: amountIsCollapsible, 'wallet-background-color-default': !wallet.color}"
2016-11-14 15:34:47 -05:00
>< / div >
2016-11-14 18:26:45 -05:00
< div
ng-style="{'background-color':wallet.color, 'height': amountHeight}"
class="amount"
2017-02-23 16:46:41 -05:00
ng-class="{collapsible: amountIsCollapsible, 'wallet-background-color-default': !wallet.color}"
2016-11-14 18:26:45 -05:00
>
2016-11-09 12:34:38 -05:00
< div ng-if = "!notAuthorized && !updatingStatus" >
< div ng-show = "updateStatusError" >
2016-12-13 12:30:28 -05:00
< span class = "size-12 db m10" > {{updateStatusError}}< / span >
2017-01-17 12:27:00 -03:00
< a class = "button button-outline button-light button-small" ng-click = 'updateAll(true)' translate > Tap to retry< / a >
2016-11-09 12:34:38 -05:00
< / div >
< div ng-show = "walletNotRegistered" >
2016-12-13 12:30:28 -05:00
< span class = "size-12 db m10" translate > This wallet is not registered at the given Bitcore Wallet Service (BWS). You can recreate it from the local information.< / span >
2016-11-09 12:34:38 -05:00
< a class = "button button-outline button-light button-small" ng-click = 'recreate()' translate > Recreate< / a >
< / div >
2016-11-09 13:15:42 -05:00
< div
ng-click='updateAll(true)'
2017-01-17 12:27:00 -03:00
ng-show="!updateStatusError & & !wallet.balanceHidden"
2016-11-09 13:15:42 -05:00
on-hold="hideToggle()"
ng-style="{'transform': amountScale}"
2016-12-15 15:38:15 -05:00
ng-class="{amount__balance: amountIsCollapsible}">
2016-12-09 16:42:11 -05:00
< strong class = "size-36" > {{status.totalBalanceStr}}< / strong >
2016-11-09 13:15:42 -05:00
< div
class="size-14 amount-alternative"
2017-08-07 13:11:12 -03:00
ng-if="status.totalBalanceAlternative & & wallet.network == 'livenet'"
ng-style="{opacity: altAmountOpacity}">
2016-11-09 13:15:42 -05:00
{{status.totalBalanceAlternative}} {{status.alternativeIsoCode}}
< / div >
2016-11-09 12:34:38 -05:00
< / div >
2016-12-13 12:30:28 -05:00
2016-11-22 16:14:06 -03:00
< div ng-style = "{'transform': amountScale}"
class="amount__balance"
2017-01-17 12:27:00 -03:00
ng-show="!updateStatusError & & wallet.balanceHidden"
2016-11-22 16:14:06 -03:00
on-hold="hideToggle()">
2016-11-09 12:34:38 -05:00
< strong class = "size-24" translate > [Balance Hidden]< / strong >
2016-11-22 16:14:06 -03:00
< div ng-style = "{opacity: altAmountOpacity}" class = "size-14 amount-alternative" translate >
2016-11-09 12:34:38 -05:00
Tap and hold to show
< / div >
< / div >
2016-12-13 12:30:28 -05:00
< div ng-if = "!wallet.balanceHidden && showBalanceButton" ng-style = "{'opacity': altAmountOpacity, 'transform': amountScale}" >
2016-12-09 16:42:11 -05:00
< button class = "button button-standard button-primary amount__button-balance size-14" ng-click = "openBalanceModal()" >
< i class = "icon ion-ios-checkmark-outline" > < / i >
< strong >
{{status.spendableBalanceStr}}
< / strong >
< span >
{{status.spendableBalanceAlternative}} {{status.alternativeIsoCode}}
< / span >
< / button >
< / div >
2016-12-13 12:30:28 -05:00
2016-11-09 12:34:38 -05:00
< / div >
2016-11-14 15:34:47 -05:00
< div ng-if = "updatingStatus" class = "amount__updating" >
2016-11-09 12:34:38 -05:00
< div class = "size-36" >
< strong > ...< / strong >
< / div >
< / div >
2016-11-14 18:26:45 -05:00
< / div >
2016-11-09 13:15:42 -05:00
< div class = "wallet-details-wallet-info" ng-style = "{opacity: altAmountOpacity}" >
2016-11-09 12:34:38 -05:00
< span ng-include = "'views/includes/walletInfo.html'" > < / span >
< / div >
2016-11-14 18:26:45 -05:00
< / div >
< ion-content ng-style = "{'margin-top': contentMargin}" ng-class = "{collapsible: amountIsCollapsible}" >
2016-10-10 15:19:33 -03:00
< ion-refresher
2016-10-14 10:24:20 -03:00
ng-if="isAndroid"
2016-10-10 15:19:33 -03:00
pulling-icon="ion-ios-refresh"
spinner="ios-small"
on-refresh="onRefresh()">
< / ion-refresher >
2016-08-15 16:07:30 -03:00
2016-11-15 11:27:14 -05:00
< div class = "amount-wrapper" ng-if = "wallet && wallet.isComplete() && !amountIsCollapsible" >
2016-11-14 19:13:14 -05:00
< div
class="amount-bg"
2017-02-23 16:46:41 -05:00
ng-class="{'wallet-background-color-default': !wallet.color}" ng-style="{'background-color':wallet.color}"
2016-11-14 19:13:14 -05:00
>< / div >
2016-11-14 18:26:45 -05:00
< div
ng-style="{'background-color':wallet.color}"
class="amount"
2017-04-05 10:39:00 -03:00
ng-class="{'collapsible': amountIsCollapsible, 'wallet-background-color-default': !wallet.color}"
2016-11-14 18:26:45 -05:00
>
< div ng-if = "!updatingStatus" >
< div ng-show = "updateStatusError" >
2016-12-13 12:30:28 -05:00
< span class = "size-12 db m10" > {{updateStatusError}}< / span >
2016-11-14 18:26:45 -05:00
< a class = "button button-outline button-light button-small" ng-click = 'updateAll()' translate > Tap to retry< / a >
< / div >
< div ng-show = "walletNotRegistered" >
2016-12-13 12:30:28 -05:00
< span class = "size-12 db m10" translate > This wallet is not registered at the given Bitcore Wallet Service (BWS). You can recreate it from the local information.< / span >
2016-11-14 18:26:45 -05:00
< a class = "button button-outline button-light button-small" ng-click = 'recreate()' translate > Recreate< / a >
< / div >
2016-12-15 15:38:15 -05:00
< div ng-click = 'updateAll(true)' ng-show = "!updateStatusError && !wallet.balanceHidden" on-hold = "hideToggle()" ng-style = "{'transform': amountScale}" >
< strong class = "size-36" > {{status.totalBalanceStr}}< / strong >
2017-08-07 13:11:12 -03:00
< div class = "size-14 amount-alternative" ng-if = "status.totalBalanceAlternative && wallet.network == 'livenet'" > {{status.totalBalanceAlternative}} {{status.alternativeIsoCode}}< / div >
2016-12-15 15:38:15 -05:00
< / div >
< div ng-if = "!wallet.balanceHidden && showBalanceButton" ng-style = "{'opacity': altAmountOpacity, 'transform': amountScale}" >
< button class = "button button-standard button-primary amount__button-balance size-14" ng-click = "openBalanceModal()" >
< i class = "icon ion-ios-checkmark-outline" > < / i >
< strong >
{{status.spendableBalanceStr}}
< / strong >
< span >
{{status.spendableBalanceAlternative}} {{status.alternativeIsoCode}}
< / span >
< / button >
< / div >
2016-12-27 11:09:51 -03:00
< div ng-show = "!updateStatusError && wallet.balanceHidden" ng-style = "{'transform': amountScale}" on-hold = "hideToggle()" >
2016-11-14 18:26:45 -05:00
< strong class = "size-24" translate > [Balance Hidden]< / strong >
< div class = "size-14" translate >
Tap and hold to show
< / div >
< / div >
< / div >
< div ng-if = "updatingStatus" >
< div class = "size-36" >
< strong > ...< / strong >
< / div >
< / div >
< / div > <!-- amount -->
< div class = "wallet-details-wallet-info" >
< span ng-include = "'views/includes/walletInfo.html'" > < / span >
< / div >
< / div > <!-- oh -->
2016-12-13 12:49:23 -05:00
< a class = "wallet-not-backed-up-warning" ng-if = "wallet.needsBackup" ui-sref = "tabs.wallet.backupWarning({from: 'tabs.wallet'})" translate >
2016-11-07 17:22:51 -05:00
Wallet not backed up
< / a >
2016-08-15 16:07:30 -03:00
2017-06-22 13:44:49 -03:00
2017-06-28 15:25:58 -03:00
< a class = "wallet-not-backed-up-warning" ng-if = "lowUtxosWarning" ui-sref = "tabs.wallet.addresses({walletId:wallet.id,from: 'tabs.wallet'})" translate >
2017-06-22 13:44:49 -03:00
Spending this balance will need significant Bitcoin network fees
< / a >
2017-06-23 09:56:59 -03:00
< div class = "p60b" ng-if = "wallet && wallet.isComplete() && !walletNotRegistered" >
2016-08-15 16:07:30 -03:00
< div class = "oh pr m20t" ng-show = "wallet.incorrectDerivation" >
< div class = "text-center text-warning" >
< i class = "fi-alert" > < / i >
< span translate >
WARNING: Key derivation is not working on this device/wallet. Actions cannot be performed on this wallet.
< / span >
< / div >
< / div >
2017-06-23 09:56:59 -03:00
< div ng-if = "txps[0]" >
< div class = "wallet-details__group-label" >
2016-11-03 17:38:46 -04:00
< span ng-show = "requiresMultipleSignatures" translate > Proposals< / span >
< span ng-show = "!requiresMultipleSignatures" translate > Unsent transactions< / span >
2016-10-03 11:52:48 -03:00
< / div >
2016-11-03 17:29:29 -04:00
< div ng-repeat = "tx in txps" ng-click = "openTxpModal(tx)" >
2016-11-15 11:42:34 -05:00
< a class = "wallet-details__item proposal item" ng-include = "'views/includes/txp.html'" > < / a >
2016-10-03 11:52:48 -03:00
< / div >
2016-11-07 15:32:28 -05:00
< div class = "item item-footer description" ng-show = "status.lockedBalanceSat" style = "background: white;" >
2016-10-03 11:52:48 -03:00
< span translate > Total Locked Balance< / span > :
< b > {{status.lockedBalanceStr}} < / b >
< span > {{status.lockedBalanceAlternative}} {{status.alternativeIsoCode}} < / span >
< / div >
2016-08-23 17:31:50 -03:00
< / div >
2016-08-18 10:37:08 -03:00
<!-- Transactions -->
2016-08-15 10:25:43 -03:00
2016-08-15 16:07:30 -03:00
< div class = "oh pr m20t text-gray size-12 text-center"
2017-01-17 11:41:39 -03:00
ng-show="!txHistory[0] & & !updatingTxHistory & & !updateTxHistoryError & & !updateStatusError" translate>
2016-09-29 19:04:52 -03:00
No transactions yet
2016-08-15 16:07:30 -03:00
< / div >
2017-01-17 11:41:39 -03:00
< div class = "oh pr m20t text-gray size-12 text-center"
ng-show="!txHistory[0] & & !updatingTxHistory & & updateTxHistoryError" translate>
Could not update transaction history
< / div >
2017-02-10 12:18:35 -03:00
< div ng-show = "updatingTxHistory && updatingTxHistoryProgress>5" class = "updating" >
2016-08-23 12:10:48 -03:00
< div class = "row" >
2017-01-17 11:41:39 -03:00
< ion-spinner class = "spinner-dark" icon = "crescent" > < / ion-spinner >
2016-08-23 12:10:48 -03:00
< / div >
< div class = "row" >
2017-01-17 11:41:39 -03:00
< div class = "col" >
< span translate > Updating transaction history. Please stand by.< / span > < br >
< span translate > {{updatingTxHistoryProgress}} transactions downloaded< / span >
< / div >
2016-08-15 16:07:30 -03:00
< / div >
2016-08-18 17:56:04 -03:00
< / div >
2016-08-15 10:25:43 -03:00
2016-11-01 16:47:44 -04:00
< div class = "wallet-details__list" ng-show = "txHistory[0]" >
2016-11-01 17:32:18 -04:00
< div ng-repeat = "btx in txHistory track by $index" ng-click = "openTxModal(btx)" >
2017-05-30 16:19:06 -03:00
< span ng-include = "'views/includes/walletHistory.html'" > < / span >
2016-08-18 20:54:08 -03:00
< / div >
< / div >
2016-10-03 11:52:48 -03:00
< ion-infinite-scroll
ng-if="txHistoryShowMore"
on-infinite="showMore()"
distance="1%">
< / ion-infinite-scroll >
2016-11-14 17:19:10 -03:00
< / div >
2016-08-15 16:07:30 -03:00
< / ion-content >
2016-11-10 14:26:22 -05:00
< / div >
2016-08-15 16:07:30 -03:00
< / ion-view >