add some labels and the user table

This commit is contained in:
Rimian Perkins 2017-02-23 11:50:25 +11:00
parent 42fc79c232
commit 08e0e47d3e
4 changed files with 20 additions and 7 deletions

View File

@ -1,7 +1,7 @@
<form id="payment-form" class="form-horizontal">
<div class="control-group">
<label class="control-label" for="card-element">Credit or debit card</label>
<div class="control-group" style="width: 550px;">
<label class="control-label" for="card-element">{{i18n 'discourse_payments.card'}}</label>
<div id="card-element" class="controls"></div>
</div>
@ -12,6 +12,8 @@
</div>
{{#if result}}
<span>{{i18n 'discourse_payments.success'}}</span>
<div class="control-group">
<span>{{i18n 'discourse_payments.success'}}</span>
</div>
{{/if}}
</form>

View File

@ -1,4 +1,14 @@
{{#d-section pageClass="stripe-payments"}}
<h2>{{i18n 'discourse_payments.title'}}</h2>
{{stripe-card}}
{{#d-section pageClass="user-payments" class="user-content user-payments"}}
<div class="user-table">
<div class="wrapper">
<section class="user-navigation">
<ul class="action-list nav-stacked">
<li class="no-glyph">{{i18n 'discourse_payments.title'}}</li>
</ul>
</section>
<section class="user-right">
{{stripe-card}}
</section>
</div>
</div>
{{/d-section}}

View File

@ -2,5 +2,6 @@ en:
js:
discourse_payments:
title: Donate
card: Credit or debit card
success: Payment Successful
submit: Make Payment

View File

@ -1,6 +1,6 @@
# name: discourse-payments
# about: Integrating Discourse with Stripe
# version: 1.3.1
# version: 1.4.0
# url: https://github.com/choiceaustralia/discourse-payments
# authors: Rimian Perkins