2ba369aa5c
Supporter: js: fade out “Expand All” anchor when all sections expand
...
The expandable sections can be expanded either one-by-one, or with
the “Expand All” button. Add a counter for each expandable
section (which requires their div's to have 'id' attributes, lest
they be counted in the '__global' section of expandables).
The __global counter will work as advertised if you have no 'id'
attributes on any of your 'expandable-section'-classed div's, but if
you mix a __global without an id with ones that *do* have an id, it's
likely this particular code won't work for that.
Finally, add some documentation which is probably over-documenting
for someone who knows Javascript and jQuery well, but it took me a
while to figure out this code so I felt throwing some notes in there
might be helpful.
2020-11-26 09:21:44 -08:00
b5c1ca6ed1
Add br tag in Tony's photo caption.
2020-11-25 21:12:49 -08:00
0146847a4f
Supporter: link to Tony on board page, add link to Copyleft Conf.
2020-11-25 21:05:44 -08:00
21ee13ee7e
Supporter: pictures: get picture-small working & apply throughout.
...
I pulled this from the `blog-left` style I used to use in blog posts
and created a new style called picture-small. On smaller screen
real estate, Tony's picture was ultimately too big.
2020-11-25 21:03:24 -08:00
35fd957b4a
Close image tag and other changes to caption.
2020-11-25 20:51:27 -08:00
1db8a47c81
Supporters: Make my picture smaller with CSS.
2020-11-25 20:40:06 -08:00
7d374a62e7
Supporter: add photo of bkuhn.
2020-11-25 20:33:53 -08:00
2842d416a5
Supporter page: apparently, anchor as empty element wreaks havoc.
...
Javascript code did something weird with this, putting it back the
more obvious way.
2020-11-25 19:32:11 -08:00
6b649e2f48
Supporter page: Support a “Expand All” link for collapsible sections
...
I wrap the entire section that has material that can be expanded in a
div with class `expandable-section`. Once doing so, if you provide an
anchor with the class of `expander`, that anchor will be created with
text in the `data-expand-link-text` attribute.
I've also added some CSS to make the link look a certain way, for
good measure.
2020-11-25 19:27:53 -08:00
5560df9504
Supporter page: add … at end of each data-read-more.
2020-11-25 19:14:35 -08:00
Brett Smith
fb6164926f
supporters: Dynamically construct "Read more" links in JS.
...
This provides better presentation to people without JavaScript,
and makes it easier to author the HTML.
2020-11-25 13:47:40 -05:00
Brett Smith
e397501bfa
supporter: Collapse individual appeal sections.
2020-11-25 11:32:07 -05:00
Brett Smith
8ea3438885
supporter: Kick off 2020 fundraiser. RT#12984
...
Image is copyright Remy DeCausemaker and licensed under CC BY-SA 4.0.
2020-11-24 08:54:02 -05:00
Brett Smith
b6e702194d
banners: Update for 2019.
2019-12-11 10:22:27 -05:00
eximious
558059f7e9
add byline to MB photo
2019-11-26 10:56:17 -05:00
eximious
17e7929909
tweak number
2019-11-25 12:49:24 -05:00
eximious
f39804190e
tweak funding dev section
2019-11-25 12:34:41 -05:00
Brett Smith
8d1337a006
supporter: Add link to Supporter form where appropriate.
2019-11-25 12:19:27 -05:00
Brett Smith
f656e9de83
supporter: 2019 appeal text.
2019-11-25 12:05:48 -05:00
Brett Smith
54a8a83adb
banners: Improve CSS.
2018-12-17 16:31:12 -05:00
Brett Smith
4ca51ec064
supporter: Link to banners.
2018-12-17 16:23:36 -05:00
Brett Smith
f23020f384
supporter banners: New page.
2018-12-17 16:15:11 -05:00
Brett Smith
2c26ede197
supporter: Add anchors.
2018-12-04 11:54:25 -05:00
Brett Smith
236bbfbbb9
supporter: Set video width.
2018-11-20 09:02:49 -05:00
Brett Smith
bd0fc750c4
supporter: 2018 fundraising text.
2018-11-20 08:30:28 -05:00
Brett Smith
6d5cf9941e
supporters: Tell people to write <supporters@tix.sfconservancy.org>.
...
Part of retiring <accounting@sfconservancy.org>.
2018-04-05 15:25:29 -04:00
Brett Smith
8db3cc0eb7
supporter: Add OpenGraph tags.
2017-11-21 15:42:44 -05:00
Brett Smith
80eb02c104
supporter: Update t-shirt size chart link.
2017-11-21 15:38:20 -05:00
Brett Smith
88ec43006d
supporter: Update with 2017 appeal.
2017-11-21 15:34:41 -05:00
Bradley M. Kuhn
63f6bab95f
Supporters: Ladies sizes in 2XL now available.
...
Add Ladies sizes in 2XL to the form. They're already in the internal
database, so the import script should find them easily.
2017-09-26 09:56:22 -07:00
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