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