2017-06-28 16:28:17 -03:00
< ion-view id = "tab-send" show-tabs >
2016-08-31 18:02:15 -04:00
< ion-nav-bar class = "bar-royal" >
2016-08-30 12:52:28 -03:00
< ion-nav-title > {{'Send' | translate}}< / ion-nav-title >
2016-08-17 13:17:23 -03:00
< / ion-nav-bar >
2017-02-21 11:33:31 -05:00
< ion-content >
2016-11-21 12:00:18 -03:00
2017-03-15 15:11:26 -03:00
< div ng-if = "hasFunds" >
2017-06-08 17:43:06 -04:00
< div class = "send-header-wrapper" >
2017-06-12 13:01:06 -04:00
< div class = "item item-heading send-heading" > < span translate > Recipient< / span > < / div >
2017-06-08 17:43:06 -04:00
< div class = "item input search-wrapper" ng-class = "{'focus': searchFocus}" >
2017-06-18 18:34:00 +09:00
< i class = "icon icon-svg abs-v-center icon-bitcoinlogoplain" > < / i >
2017-06-08 17:43:06 -04:00
< div class = "item-icon-right" >
< input type = "text" class = "search-input" placeholder = "{{'Search or enter bitcoin address' | translate}}" ng-model = "formData.search" ng-change = "findContact(formData.search)" ng-model-onblur ng-focus = "searchInFocus()" ng-blur = "searchBlurred()" >
< i class = "icon icon-svg qr abs-v-center separator-left" on-tap = "openScanner()" > < img src = "img/scan-ico.svg" > < / i >
< / div >
< / div >
2016-10-26 15:54:29 -03:00
< / div >
2017-02-21 11:33:31 -05:00
< / div >
2016-11-21 12:00:18 -03:00
2017-02-21 11:33:31 -05:00
< div ng-if = "!checkingBalance && (!hasFunds || !hasWallets)" >
< div class = "list card sendTip" >
< div class = "item item-icon-right item-heading" > < / div >
< div >
< i class = "icon zero-state-icon" >
< img src = "img/tab-icons/ico-send-selected.svg" / >
< / i >
2016-10-26 13:28:08 -04:00
< / div >
2017-02-21 11:33:31 -05:00
< div class = "title" translate >
Start sending bitcoin
< / div >
2017-03-01 17:56:35 -03:00
< div class = "subtitle" >
2017-02-21 11:33:31 -05:00
< span ng-show = "hasWallets" translate > To get started, buy bitcoin or share your address. You can receive bitcoin from any wallet or service.< / span >
< span ng-show = "!hasWallets" translate > To get started, you'll need to create a bitcoin wallet and get some bitcoin.< / span >
< div class = "padding" >
< button class = "button button-standard button-primary" ng-click = "buyBitcoin()" ng-show = "hasWallets" translate > Buy Bitcoin< / button >
< button class = "button button-standard button-primary" ng-click = "createWallet()" ng-show = "!hasWallets" translate > Create bitcoin wallet< / button >
< button class = "button button-standard button-secondary" ui-sref = "tabs.receive" ng-show = "hasWallets" translate > Show bitcoin address< / button >
2016-10-26 13:28:08 -04:00
< / div >
2016-10-03 14:16:15 -04:00
< / div >
2016-09-27 12:26:58 -03:00
< / div >
2017-02-21 11:33:31 -05:00
< / div >
2016-09-23 17:10:34 -03:00
2017-02-21 11:33:31 -05:00
< div class = "card" ng-if = "hasContacts && hasWallets && hasFunds" >
< div class = "item item-icon-right item-heading" >
< span translate > Contacts< / span >
< a ng-if = "hasContacts" ui-sref = "tabs.send.addressbook" >
< i class = "icon ion-ios-plus-empty list-add-button" > < / i >
< / a >
< / div >
< div class = "list" >
< a class = "item item-icon-left item-icon-right" ng-repeat = "item in list" ng-if = "!item.isWallet && item.recipientType != 'wallet'" ng-click = "goToAmount(item)" >
< i class = "icon big-icon-svg" >
2017-03-01 17:08:17 -03:00
< img src = "img/contact-placeholder.svg" class = "bg" ng-if = "isChromeApp" >
2017-02-21 11:33:31 -05:00
< gravatar class = "send-gravatar" name = "{{item.name}}" width = "30" email = "{{item.email}}" ng-if = "!isChromeApp" > < / gravatar >
< / i >
{{item.name}}
2017-11-02 12:50:26 +09:00
< p >
< span > {{item.displayCoin}}< / span >
< / p >
2017-02-21 11:33:31 -05:00
< i class = "icon bp-arrow-right" > < / i >
< / a >
< div class = "show-more" ng-if = "contactsShowMore" ng-click = "showMore()" translate >
Show more
2016-10-03 14:16:15 -04:00
< / div >
2016-09-23 17:10:34 -03:00
< / div >
2016-08-12 12:44:16 -03:00
< / div >
2017-02-21 11:33:31 -05:00
< div class = "card" ng-if = "showTransferCard && hasFunds" >
2018-05-08 11:39:32 +09:00
< div class = "item item-icon-right item-heading" ng-click = "toggle('transferToWallet')" >
2017-03-03 16:05:52 -03:00
< span translate > Transfer to Wallet< / span >
2018-05-08 11:39:32 +09:00
< i class = "icon bp-arrow-up" ng-show = "sectionDisplay.transferToWallet" > < / i >
< i class = "icon bp-arrow-down" ng-show = "!sectionDisplay.transferToWallet" > < / i >
2017-03-03 16:05:52 -03:00
< / div >
2018-05-08 11:39:32 +09:00
< div class = "list" ng-show = "sectionDisplay.transferToWallet" >
2018-03-27 11:30:34 +09:00
< a class = "item item-icon-left item-icon-right"
ng-repeat="item in list"
ng-if="hasWallets & & item.recipientType == 'wallet'"
2018-05-15 17:07:50 +12:00
ng-click="goToAmount(item)">
2017-09-20 11:53:30 -03:00
< i class = "icon big-icon-svg" ng-if = "item.recipientType == 'wallet'" ng-init = "wallet = item" ng-include = "'views/includes/walletIcon.html'" > < / i >
2017-02-21 11:33:31 -05:00
{{item.name}}
2017-11-02 12:50:26 +09:00
< p >
< span > {{item.balanceString}}< / span >
< / p >
2017-02-21 11:33:31 -05:00
< i class = "icon bp-arrow-right" > < / i >
< / a >
< / div >
< / div >
2016-08-11 17:38:27 -03:00
< / ion-content >
2016-08-12 12:44:16 -03:00
< / ion-view >