2016-10-15 21:38:22 -07:00
< ion-view id = "glidera" >
2016-08-31 12:54:53 -07:00
< ion-nav-bar class = "bar-royal" >
2016-09-16 10:46:25 -07:00
< ion-nav-back-button >
< / ion-nav-back-button >
2016-08-24 07:33:43 -07:00
< ion-nav-title > Glidera< / ion-nav-title >
2016-10-17 06:59:40 -07:00
< ion-nav-buttons side = "secondary" >
2016-10-26 07:11:29 -07:00
< button class = "button no-border" ui-sref = "tabs.buyandsell.glidera.preferences" >
< i class = "icon ion-ios-settings" > < / i >
2016-10-17 06:59:40 -07:00
< / button >
< / ion-nav-buttons >
2016-08-24 07:33:43 -07:00
< / ion-nav-bar >
2015-08-31 14:12:04 -07:00
2016-09-22 06:34:00 -07:00
< ion-content >
2015-08-31 14:12:04 -07:00
2016-10-17 06:59:40 -07:00
< div class = "box-notification error m0" ng-show = "!network" >
2016-09-01 12:51:29 -07:00
Glidera is disabled for this application
< / div >
2016-10-17 06:59:40 -07:00
< div class = "box-notification warning m0" ng-show = "network == 'testnet'" >
2016-08-24 07:33:43 -07:00
Testnet wallets only work with Glidera Sandbox Accounts
< / div >
2015-09-07 07:14:09 -07:00
2016-08-31 12:43:52 -07:00
< div ng-if = "!token" >
2016-08-24 07:33:43 -07:00
< div ng-init = "showOauthForm = false" >
2016-08-31 12:43:52 -07:00
< div class = "text-center m20v" >
2016-10-17 06:59:40 -07:00
< img src = "img/glidera-logo.png" ng-click = "update({'fullUpdate': true})" width = "200" >
2016-08-24 07:33:43 -07:00
< / div >
< div class = "text-center small-10 small-centered columns" ng-show = "!showOauthForm" >
2016-10-15 21:38:22 -07:00
< p class = "glidera-lead" > You can buy and sell Bitcoin with a US bank account directly in this app.< / p >
2016-10-26 07:11:29 -07:00
2016-10-20 23:13:51 -07:00
< p class = "glidera-text" > Connect your Glidera account to get started.< / p >
2015-09-08 14:55:08 -07:00
2016-10-15 21:38:22 -07:00
< button class = "button button-standard button-primary"
2016-10-13 09:20:53 -07:00
ng-click="openExternalLink(glidera.getAuthenticateUrl()); showOauthForm = true">
2016-08-24 07:33:43 -07:00
Connect to Glidera
< / button >
< div class = "m10t" >
2016-10-20 23:13:51 -07:00
< a href ng-click = "showOauthForm = true" class = "button button-standard button-secondary buttion-clear" translate >
Have the OAuth Code?
2016-08-24 07:33:43 -07:00
< / a >
< / div >
2016-10-20 23:13:51 -07:00
< div class = "disclosure" >
< p translate > Glidera Inc. (Glidera) is providing the service of buying or selling bitcoin to BitPay users. To enable this service, Glidera has registered with US Treasury Department’ s FinCEN as a Money Service Business (#31000042625755). Users of BitPay must agree to the service agreement presented by Glidera prior to obtaining Glidera’ s service of buying or selling bitcoin.< / p >
< p > Service is available in the U.S. and Canada. In the U.S. – AZ, CA, CO, DE, GA, IL, KS, MA, MD, ME, MN, MO, MT, NJ, NV, PA, SC, TN, TX, UT, WI. In Canada – AB, BC, MB, NB, NL, NS, NT, NU, ON, PE, SK, YT.< / p >
< / div >
2015-09-05 10:30:02 -07:00
< / div >
2016-08-24 07:33:43 -07:00
< div ng-show = "showOauthForm" >
2016-10-20 23:13:51 -07:00
< form class = "settings" name = "oauthCodeForm" ng-submit = "glidera.submitOauthCode(code)" novalidate >
< div class = "list settings-input-group" >
2016-08-24 07:33:43 -07:00
< label class = "item item-input item-stacked-label" >
< span class = "input-label" > OAuth Code< / span >
< input type = "text"
ng-model="code"
ng-attr-placeholder="{{'Paste the authorization code here'}}" required>
< / label >
< / div >
2016-10-20 23:13:51 -07:00
< input class = "button button-standard button-primary" type = "submit" value = "Connect Glidera Account" ng-disabled = "oauthCodeForm.$invalid" >
2016-08-24 07:33:43 -07:00
< / form >
2015-09-08 20:02:12 -07:00
< / div >
2015-09-02 12:02:40 -07:00
< / div >
< / div >
2015-09-05 10:30:02 -07:00
2016-10-17 06:59:40 -07:00
< div ng-if = "token" >
2016-08-31 12:43:52 -07:00
< div class = "text-center m20v" >
2016-10-17 06:59:40 -07:00
< img src = "img/glidera-logo.png" ng-click = "update({'fullUpdate': true})" width = "200" >
2015-09-08 08:04:27 -07:00
< / div >
2016-10-17 06:59:40 -07:00
< div class = "text-center m30v size-12"
ng-show="status & & !status.userCanTransact">
< h4 class = "text-bold" > Complete Setup< / h4 >
< div > Your Glidera account is not ready to transact. Please, verify it at < b > Glidera.io< / b > < / div >
< a class = "button"
ng-init="glideraUrl = network == 'testnet' ? 'https://sandbox.glidera.io/login' : 'https://glidera.io/login'"
ng-click="openExternalLink(glideraUrl)">
Go to Glidera
2015-12-11 11:16:48 -08:00
< / a >
2016-08-24 07:33:43 -07:00
< / div >
2015-08-31 14:12:04 -07:00
2016-10-26 07:11:29 -07:00
< div class = "list card"
2016-08-24 07:33:43 -07:00
ng-show="status & & status.userCanTransact">
< a ng-show = "status.userCanBuy"
2016-08-31 12:43:52 -07:00
class="item item-icon-right"
2016-09-16 10:46:25 -07:00
href ui-sref="tabs.buyandsell.glidera.buy">
2016-10-26 07:11:29 -07:00
< img src = "img/buy-bitcoin.svg" alt = "buy bitcoin" width = "45" class = "item-img-buy" >
2016-08-24 07:33:43 -07:00
Buy Bitcoin
2016-10-03 16:38:57 -07:00
< i class = "icon bp-arrow-right" > < / i >
2016-08-24 07:33:43 -07:00
< / a >
2016-08-31 12:43:52 -07:00
< a class = "item item-icon-right"
2016-08-24 07:33:43 -07:00
ng-show="status.userCanSell"
2016-09-16 10:46:25 -07:00
href ui-sref="tabs.buyandsell.glidera.sell">
2016-10-26 07:11:29 -07:00
< img src = "img/sell-bitcoin.svg" alt = "buy bitcoin" width = "45" class = "item-img-sell" >
2016-08-24 07:33:43 -07:00
Sell Bitcoin
2016-10-03 16:38:57 -07:00
< i class = "icon bp-arrow-right" > < / i >
2016-08-24 07:33:43 -07:00
< / a >
2015-08-31 14:12:04 -07:00
< / div >
2016-10-26 07:11:29 -07:00
< div class = "list card" ng-show = "permissions && permissions.transaction_history && txs.length > 0" >
2016-09-06 07:59:05 -07:00
< div class = "item item-heading" >
2016-08-31 12:43:52 -07:00
Activity
< / div >
< a ng-repeat = "tx in txs"
ng-click="glidera.openTxModal(token, tx)"
class="item">
2016-08-24 07:33:43 -07:00
2016-08-31 12:43:52 -07:00
< span class = "item-note" >
< div ng-show = "tx.status == 'COMPLETE'" >
< time ng-if = "tx.transactionDate" > {{tx.transactionDate | amTimeAgo}}< / time >
2015-09-29 13:58:04 -07:00
< / div >
2016-08-31 12:43:52 -07:00
< div ng-show = "tx.status == 'PROCESSING'" >
< span ng-if = "tx.status == 'PROCESSING'" > Processing< / span >
< / div >
< / span >
< img class = "left m10r" src = "img/bought.svg" alt = "bought" width = "39" ng-show = "tx.type == 'BUY' && tx.status == 'COMPLETE'" >
< img class = "left m10r" src = "img/bought-pending.svg" alt = "bought" width = "33" ng-show = "tx.type == 'BUY' && tx.status == 'PROCESSING'" >
< img class = "left m10r" src = "img/sold.svg" alt = "bought" width = "39" ng-show = "tx.type == 'SELL' && tx.status == 'COMPLETE'" >
< img class = "left m10r" src = "img/sold-pending.svg" alt = "bought" width = "33" ng-show = "tx.type == 'SELL' && tx.status == 'PROCESSING'" >
< h2 >
< span ng-show = "tx.type == 'BUY'" > Bought< / span >
< span ng-show = "tx.type == 'SELL'" > Sold< / span >
< b > {{tx.qty}}< / b > BTC
< / h2 >
< p >
{{tx.subtotal|currency:'':2}} {{tx.currency}}
< / p >
< / a >
2015-09-02 12:02:40 -07:00
< / div >
2015-08-31 14:12:04 -07:00
< / div >
2016-08-24 07:33:43 -07:00
< / ion-content >
< / ion-view >