Commit graph

9 commits

Author SHA1 Message Date
26ff31bb78
progress bar: Drop JS, make mobile friendly, match design to new site.
The existing jQuery UI-based fundraising progress bar used a float layout,
making it hard to adapt for mobile use. Given that there is not interactivity,
I've dropped all the JS and switched to a flexbox layout. This works well
because the bar will stretch to fit the text rather than always maintaining its scale.
2021-11-16 13:25:39 +11: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
ecff2f38c5 base_conservancy: Ready fundraiser bar for 2019. 2019-11-24 16:01:57 -05:00
Brett Smith
67e64d3a6c base: Break out individual local context variables. 2019-11-22 09:46:07 -05:00
Brett Smith
742850eaf9 fundgoal: Display time remaining in progressbar. 2019-01-08 17:59:23 -05:00
Brett Smith
db40bda419 context_processors: Switch to the 2018 match. 2018-11-18 14:42:47 -05:00
Brett Smith
0add4633c1 base_conservancy: Activate progressbar for new match. 2017-11-27 13:08:21 -05:00
Brett Smith
4758b8bcfd local_context_processors: Add host_url.
This makes it easier for templates to generate a "single canonical URL" for
a resource, as in Open Graph metadata.
2017-11-07 09:17:11 -05:00
Bradley M. Kuhn
5c4cc1e2e1 Add sitefundgoal to top level view context.
The base template now has access to the fund-raising goal that will be
displayed site-wide.  The view here must provide it in the context for
access everywhere.

Furthermore, we need a local context processor to make sure it's in
context everywhere, and we have to make sure that context is properly
passed along.

This code is a bit cargo-culted in, based on what I read in various
places about adding the Request context.
2015-11-30 19:19:46 -08:00