mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-01 15:31:16 +00:00
gems: justin in gem-purchase dialog
This commit is contained in:
parent
b4e5a1925b
commit
81f9f9b4c5
2 changed files with 21 additions and 7 deletions
|
|
@ -12,6 +12,9 @@
|
||||||
.tile
|
.tile
|
||||||
opacity: 1
|
opacity: 1
|
||||||
|
|
||||||
|
.modal-header .gem-wallet
|
||||||
|
padding-top: 0px
|
||||||
|
|
||||||
|
|
||||||
// pets (this will all change when pet system is overhauled)
|
// pets (this will all change when pet system is overhauled)
|
||||||
.pet-grid
|
.pet-grid
|
||||||
|
|
|
||||||
|
|
@ -1,21 +1,32 @@
|
||||||
div(modal='modals.buyGems')
|
div(modal='modals.buyGems')
|
||||||
.modal-header
|
.modal-header
|
||||||
|
include ../gems
|
||||||
h3 Buy Gems / Donate
|
h3 Buy Gems / Donate
|
||||||
|
|
||||||
.modal-body
|
.modal-body
|
||||||
include ../gems
|
table
|
||||||
p <span class='label label-info'>$5 USD</span> will:
|
tr
|
||||||
ul.buy-gems-list
|
td
|
||||||
li Add 20 gems to your account, which are used to buy special items.
|
.NPC-Justin
|
||||||
li Disable ads.
|
td
|
||||||
li Donate to the developers (as an open source project, we can us all the help we can get).
|
.popover.static-popover.fade.right.in.wide-popover
|
||||||
|
.arrow
|
||||||
|
h3.popover-title
|
||||||
|
a(target='_blank', href='https://twitter.com/bowenNstuff') Justin
|
||||||
|
.popover-content
|
||||||
|
p <span class='label label-info'>$5 USD</span> will:
|
||||||
|
ul.buy-gems-list
|
||||||
|
li Add 20 gems to your account, which are used to buy special items.
|
||||||
|
li Disable ads.
|
||||||
|
li Donate to the developers (as an open source project, we can us all the help we can get).
|
||||||
|
br
|
||||||
.row-fluid
|
.row-fluid
|
||||||
.span6.well
|
.span6.well
|
||||||
h3 Pay with Card
|
h3 Pay with Card
|
||||||
.btn.btn-primary(ng-click='showStripe()') Pay with Card
|
.btn.btn-primary(ng-click='showStripe()') Pay with Card
|
||||||
.span6.well
|
.span6.well
|
||||||
h3 Pay with PayPal
|
h3 Pay with PayPal
|
||||||
script(src='/bower_components/JavaScriptButtons/dist/paypal-button.min.js?merchant=#{env.PAYPAL_MERCHANT}', data-button='buynow', data-name='20 Gems, Disable Ads, Donation to the Developers', data-quantity='1', data-amount='5', data-currency='USD', data-shipping='0', data-tax='0', data-callback='#{env.BASE_URL}/api/v1/user/buy-gems/paypal-ipn', data-env="#{env.NODE_ENV == 'production' ? '' : 'sandbox'}", data-custom='?uid={{user._id}}&apiToken={{user.apiToken}}', data-return='#{env.BASE_URL}', data-no_shipping='1')
|
script(src='/bower_components/JavaScriptButtons/dist/paypal-button.min.js?merchant=#{env.PAYPAL_MERCHANT}', data-button='buynow', data-name='20 Gems, Disable Ads, Donation to the Developers', data-quantity='1', data-amount='5', data-currency='USD', data-tax='0', data-callback='#{env.BASE_URL}/api/v1/user/buy-gems/paypal-ipn', data-env="#{env.NODE_ENV == 'production' ? '' : 'sandbox'}", data-custom='?uid={{user._id}}&apiToken={{user.apiToken}}', data-return='#{env.BASE_URL}', data-no_shipping='1')
|
||||||
|
|
||||||
.modal-footer
|
.modal-footer
|
||||||
button.btn.btn-default.cancel(ng-click='modals.buyGems = false') Cancel
|
button.btn.btn-default.cancel(ng-click='modals.buyGems = false') Cancel
|
||||||
Loading…
Reference in a new issue