Commit graph

1404 commits

Author SHA1 Message Date
Michal Nazarewicz
828baca5a6 [PATCH 1/2] Fix unnucessary horizontal scroll bar; simplify header markup.
Because #logobutton had a fixed width, browser window narrower than 933
pixels resulted in an unnecessary horizontal scroll bar.  Fix that by
using a dynamic 100% width which results in the header image being
automatically clipped as necessary.

To avoid clipping the tree and the text though, include min-width so
that very narrow windows result in a horizontal scroll bar so the whole
name can be seen.

Furthermore, simplify the markup by removing wrapper DIV and SPAN
elements which weren’t really necessary.  As a consequence of that
change, the whole top of the page is now a link to the homepage (i.e.
‘/’).  Prior to this change, the link wasn’t clickable.
2015-12-21 11:09:02 -08:00
Bradley M. Kuhn
1c62ecc521 Add Renewal button. 2015-12-21 09:37:14 -08:00
Bradley M. Kuhn
d9f32e4093 Properly close tags. 2015-12-21 09:33:56 -08:00
Bradley M. Kuhn
8eb5bb188b Spacing changes 2015-12-21 09:33:24 -08:00
Bradley M. Kuhn
22c5d34ece Remove redundant tag. 2015-12-21 09:33:15 -08:00
Bradley M. Kuhn
b64e6a0491 Move renewal to bottom. 2015-12-21 09:29:31 -08:00
Bradley M. Kuhn
566324fbcb One of the hide's was missing. 2015-12-21 09:29:21 -08:00
Bradley M. Kuhn
f1c924b07e Create renewal option on form.
This adds a renewal option to the form.
2015-12-21 09:25:04 -08:00
Bradley M. Kuhn
a492430379 Failed to upload this total as well.
Bar was not updating from the right without this change.
2015-12-18 15:42:10 -08:00
Bradley M. Kuhn
4b5dbc98dc Remove duplicate Twitter link. 2015-12-18 12:13:35 -08:00
Bradley M. Kuhn
0351bf48c2 Make the archive link not so prominent. 2015-12-18 12:13:11 -08:00
Bradley M. Kuhn
08359ceba7 More social networking links. 2015-12-18 12:12:21 -08:00
Bradley M. Kuhn
880a3d7660 Whoops! You have to use summary for the right one. 2015-12-18 12:08:43 -08:00
Bradley M. Kuhn
5368c0a8b7 Actually implement up to 5 blogs in template.
The early change to frontpage.py was not sufficient; the template
obviously needs to make use of those five blog posts as well.

Note the cascading effect here.  We only put lots on the front page if
they are recent.
2015-12-18 12:06:57 -08:00
Bradley M. Kuhn
b5eaeb9919 Note that we're a charity on the front page. 2015-12-18 12:02:22 -08:00
Bradley M. Kuhn
f1d313fdbc Link to Copyleft Compliance more fully.
We had a link to copyleft.org before, which I remove here, and put a
more general link to the copyleft compliance work.
2015-12-18 12:00:52 -08:00
Bradley M. Kuhn
1704584f34 Allow up to 5 blog posts on the front page.
We have a lot of blog posts at the moment.
2015-12-18 11:59:03 -08:00
Bradley M. Kuhn
84cb9a2b85 Sizing class for images on the blog. 2015-12-18 11:57:00 -08:00
Bradley M. Kuhn
d47e71942b David Marin and family no longer a sponsor. 2015-12-18 09:53:07 -08:00
Bradley M. Kuhn
9bc9370f21 New Supporter match starts today! 2015-12-18 09:37:07 -08:00
Bradley M. Kuhn
b15f9a9bc4 Remove Black Duck from Sponsors page. 2015-12-13 11:00:08 -08:00
Bradley M. Kuhn
788880d092 Add legacy support for older firefox/iceweasel.
In this situation:

<body class="conservancy-blog">
...
<video>

it turned out that this CSS:

body.conservancy-blog video {}

Did not apply.

So, this adds a hack to force the issue.
2015-12-11 13:17:53 -08:00
Bradley M. Kuhn
59c6aa64de Add margins for videos. 2015-12-11 11:20:32 -08:00
Bradley M. Kuhn
2ec25639c9 Improved CSS for video tags on our blog. 2015-12-11 10:37:11 -08:00
Bradley M. Kuhn
7d97c3132f Correct the URL once again. 2015-12-09 12:11:21 -08:00
Bradley M. Kuhn
48783bea80 Correct Google Plus URL. 2015-12-09 11:58:34 -08:00
Bradley M. Kuhn
35a4864e61 Add other social media at bottom of page. 2015-12-09 11:43:40 -08:00
Bradley M. Kuhn
b48b1ab1e5 Avoid query string passed along in rendering.
This middleware is a bit of a mess anyway, since it's basically using
static files as templates.  However, we definitely don't want to add any
GET query parameters rendered into the path name.
2015-12-07 12:24:58 -08:00
Bradley M. Kuhn
e8b4681da3 Match goes until next Tuesday. 2015-12-01 07:41:14 -08:00
Bradley M. Kuhn
e0ba6b86bd Correct number. 2015-12-01 07:32:28 -08:00
Bradley M. Kuhn
8af2ce722b New match for another 50. 2015-12-01 07:27:27 -08:00
Bradley M. Kuhn
79eeb2acf0 second endif removed. 2015-11-30 20:38:20 -08:00
Bradley M. Kuhn
d305f5103f Implement min filter. 2015-11-30 20:33:14 -08:00
Bradley M. Kuhn
20d3accd3c linux-compliance is now copyleft-compliance.
urls.py must change for this too.
2015-11-30 20:08:44 -08:00
Bradley M. Kuhn
23576d7878 Link index to new supporter appeal. 2015-11-30 20:03:38 -08:00
Bradley M. Kuhn
1f03c59c8a ignore wsgi password files. 2015-11-30 19:19:47 -08:00
Bradley M. Kuhn
c0fde4c92d Move forms.css to css directory. 2015-11-30 19:19:47 -08:00
Bradley M. Kuhn
9897e3d9ce Changes to support the appeal placement of picture 2015-11-30 19:19:47 -08:00
Bradley M. Kuhn
b3d18b59cb Sizing of fundraising text on the top of each page. 2015-11-30 19:19:47 -08:00
Bradley M. Kuhn
389c94d967 Cause fundraising bar to disappear more quickly. 2015-11-30 19:19:47 -08:00
Bradley M. Kuhn
a8d53ca1dd Copyleft Principles is now on the side menu. 2015-11-30 19:19:46 -08:00
Bradley M. Kuhn
2b76361756 Attempt to improve fonts.
I noticed after I updated to jessie that fonts displayed strangely in
some browsers.  I still have strange fonts on our website with Chromium,
but this change seems to have helped iceweasel.
2015-11-30 19:19:46 -08:00
Bradley M. Kuhn
963c023eab site-wide supporter count fundraiser.
Using the jQuery UI multiprogress bar added earlier, this change allows
display of the of the progress bar on every page.
2015-11-30 19:19:46 -08:00
Bradley M. Kuhn
61ecfd8341 Move supporter-page.js into js directory. 2015-11-30 19:19:46 -08:00
Bradley M. Kuhn
edcde9f053 Add text for site fundraiser to every page.
By adding this text to the base template, we add this to every page on
the site.
2015-11-30 19:19:46 -08:00
Bradley M. Kuhn
fdfbb6d65d Move CSS file for Conservancy to CSS directory. 2015-11-30 19:19:46 -08:00
Bradley M. Kuhn
da0a85bcde Ignore ogv video files as well. 2015-11-30 19:19:46 -08:00
Bradley M. Kuhn
f8af05630d Donate page encourages people to become Supporters 2015-11-30 19:19:46 -08:00
Bradley M. Kuhn
99d3325e33 Create subtract filter. 2015-11-30 19:19:46 -08: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