Commit graph

71 commits

Author SHA1 Message Date
Brett Smith
40133bb73b supporter: Remove bogus value for PayPal srt variable.
srt is meant to be used for time-limited subscriptions.  0 is not a valid
value.  See
<https://developer.paypal.com/docs/classic/paypal-payments-standard/integration-guide/Appx_websitestandard_htmlvariables/#recurring-payment-variables>.
It's optional, and leaving it unset gives us the behavior we want, so do
that instead.
2017-02-03 10:34:14 -05:00
Brett Smith
36adfb406d supporter: Set LC for all PayPal forms.
This setting is not subscription-specific, so if we ever do it it seems like
we should always do it.
2017-02-03 10:32:45 -05:00
Brett Smith
7202787092 supporter: Reorganize form post-input notes.
This makes it easier to keep baseline alignment between labels and their
respective inputs.  Declaring `margin-left: 51%;` for the post-input notes
is not exactly what we want, but it's much closer and less troublesome than
dealing with the vertical alignment of labels otherwise.
2017-01-09 16:56:42 -05:00
Brett Smith
5f9a4395f3 supporter: Add size information chart. 2017-01-05 13:46:46 -05:00
Brett Smith
c07b274681 supporter: Set target="_blank" on informational links in the forms. 2017-01-02 11:43:22 -05:00
Brett Smith
0de3594e74 supporter: Group shirts by type. 2017-01-02 11:24:14 -05:00
Brett Smith
f32d04e725 supporter: Women's shirts, not ladies' shirts.
Signed off by Karen.
2017-01-02 11:20:13 -05:00
Brett Smith
b3a2f1dc96 supporter: Wordsmith the forms. 2017-01-01 16:38:12 -05:00
Brett Smith
2993a2c3ad supporter: Fix detached labels in forms. 2017-01-01 16:31:01 -05:00
Brett Smith
fce05b6f99 supporter: Add tabindex to supporter sign-up form. 2017-01-01 16:10:21 -05:00
Brett Smith
b93cc61e8b supporter: New form styling.
This makes better use of bigger screens, and degrades better to smaller
ones.
2017-01-01 15:10:20 -05:00
Brett Smith
8605b65783 supporter: Move more presentation rules to CSS.
This commit keeps the presentation basically the same, it just moves
presentation rules out of HTML and into CSS.  It's not pixel-perfect but
pretty close.
2017-01-01 13:53:41 -05:00
Brett Smith
19e744788b supporter: Only render the Annual form for upgraders.
This lets us do more with HTML and less with JavaScript, which is always
nice.
2017-01-01 10:53:58 -05:00
Brett Smith
b4883ca6bd supporter: Make a partial for the supporter form.
This commit shouldn't make any substantial changes to the form or its
presentation.  This is just cleaning things up as a development aid.
2017-01-01 10:39:23 -05:00
Brett Smith
78c474caac supporter: Fix redundant annual/monthly/renewal ids. 2017-01-01 10:24:34 -05:00
Brett Smith
dad41f4817 supporter: Fix redundant os0 ids, invalid names. 2017-01-01 10:24:34 -05:00
Brett Smith
6392ae3a43 supporter: Fix redundant amount, error ids. 2017-01-01 10:24:34 -05:00
Brett Smith
7842ca6c57 supporter: Fix redundant no_shipping id. 2016-12-31 16:22:52 -05:00
Brett Smith
034a60be9b js: Split whole-site JS from Supporter-specific JS. 2016-12-31 14:46:10 -05:00
Brett Smith
a3737e9955 supporter: Add id="renew" to the renewal form.
This provides better behavior for non-JavaScript visitors who use a #renew
link (see last commit).
2016-12-29 11:00:08 -05:00
Brett Smith
6fe13959a3 supporter: Support donors upgrading to supporters.
With a valid URL, a past donor can upgrade to a supporter by donating
the rest of the amount.  Django validates the data and, if it passes,
puts it in the form.  The JavaScript does most of the work from there.
2016-12-02 12:50:21 -05:00