Commit graph

738 commits

Author SHA1 Message Date
Bradley M. Kuhn
83c97a0029 Perform math on number variable without comma
The math performed for the number of donors should be done on the number
without the comma, so that NaN doesn't show on the site.
2015-03-21 10:03:28 -04:00
Bradley M. Kuhn
0b026888d9 Add GNOME Foundation statement of support. 2015-03-17 11:33:04 -07:00
Bradley M. Kuhn
39584e54f9 Wordsmith this new FAQ entry. 2015-03-16 19:37:50 -07:00
Bradley M. Kuhn
fed9826bc0 Add note to reiterate shim layer answer.
It appears that some in the media believe the understand above says the
opposite, so I've corrected it.
2015-03-16 19:05:50 -07:00
Martin Michlmayr
bf5ec653b1 Fix HTML syntax errors 2015-03-12 10:32:06 -06:00
Martin Michlmayr
8733c7b02a Grammar fix 2015-03-12 10:19:31 -06:00
Bradley M. Kuhn
6054ab657a Link to copyleft.org to explain CCS. 2015-03-12 08:49:45 -07:00
Bradley M. Kuhn
0ed82d00cb Add missing <dd> tag. 2015-03-12 08:45:18 -07:00
Bradley M. Kuhn
a7b2838175 Add three new statements of support. 2015-03-12 08:34:38 -07:00
Bradley M. Kuhn
14ce1e4efb Remove blank line. 2015-03-12 08:31:57 -07:00
Bradley M. Kuhn
3a9199732b Fix HTML formatting error. 2015-03-12 08:31:11 -07:00
Bradley M. Kuhn
cf527ba5db Spelling check. 2015-03-12 08:04:02 -07:00
Bradley M. Kuhn
0bef523d2f Grammar fix. 2015-03-12 08:02:40 -07:00
Bradley M. Kuhn
b197649e02 Should be a , not a . 2015-03-12 08:01:27 -07:00
Bradley M. Kuhn
7fbd1fd36f VMware lawsuit FAQ: id tags for two items. 2015-03-12 08:00:56 -07:00
Bradley M. Kuhn
18ad81db68 VMware Lawsuit FAQ: technical description example
Written by Denver Gingerich <denver@sfconservacy.org> and me, this
description gives one example of how VMware incorporated Linux code with
vmkernel and distributed the resulting work.
2015-03-12 07:59:22 -07:00
Bradley M. Kuhn
9d0627610f Make rise level consistent for both items.
With this change, both numbers should go up at the same rate.
2015-03-11 18:57:06 -07:00
Bradley M. Kuhn
7ea7e8ef60 Correct initialization and counter. 2015-03-11 18:42:40 -07:00
Bradley M. Kuhn
1eddf3fd09 Fix typo: wrong language. :) 2015-03-11 18:41:24 -07:00
Bradley M. Kuhn
76f5e1b7ea Increase donation count by 1% each time.
Increasing by one makes it last too long.  Doing 1% will make it go just
as fast as the fundraiser.
2015-03-11 18:38:38 -07:00
Bradley M. Kuhn
a7a15cec8b Better handle no value situations.
The issue where these values were empty was not properly handled.
2015-03-11 18:36:01 -07:00
Bradley M. Kuhn
8b469cff18 Support display of donation count in fundraiser.
Allow display of a donation count in the fundraiser pages, with an
optional threshold that must be met before it's displayed.
2015-03-11 18:10:28 -07:00
Bradley M. Kuhn
20f2339a1f VMware Lawsuit FAQ entry: Why doesn't FSF enforce?
This FAQ and its answer explain why the FSF can't take care of
enforcement for this particular matter.
2015-03-11 13:15:01 -07:00
Bradley M. Kuhn
5f6ccfa1f4 When hovering over li,anchor changes background...
.. even though you havent’t yet hovered over the link.

This change corrects that behavior.  Suggested by mina86:

<mina86> so when you hover over the LI the link changes background even though
         you havent’t yet hovered over the link
<mina86> #container #sidebar li:hover a { background: #577632; color: #fff; }
<mina86> s/li:hover a/li a:hover/ would be IMO better
2015-03-10 18:54:03 -07:00
Bradley M. Kuhn
49c51d0201 Rik van Riel statement of support. 2015-03-10 18:51:40 -07:00
Bradley M. Kuhn
a0340fc820 Add Dave Airlie's statement of support too. 2015-03-10 15:34:31 -07:00
Bradley M. Kuhn
a914a68526 Additional statements of support. 2015-03-10 14:15:32 -07:00
Bradley M. Kuhn
1d1e0a1ed9 Add Wolfram Sang's statement of support. 2015-03-09 16:31:34 -07:00
Bradley M. Kuhn
bcf89f1953 Make use of new animations on supporter page. 2015-03-09 08:50:47 -07:00
Bradley M. Kuhn
efe90bd2d0 Better animation effects when donate link clicked.
The banner always faded in/out, but now other texts can be designated
with the class 'donate-box-highlight' and those will fade out and fade
back in with bold and slightly larger font.
2015-03-09 08:46:16 -07:00
Bradley M. Kuhn
6e3b2a22be Animate the progress bar at page load.
This is perhaps too flashy, but it does successfully animate the
progress bar up to the target amount, and also changes the amount until
it reaches the total raised so far.
2015-03-09 00:28:05 -07:00
Bradley M. Kuhn
2678369b5a text-align should inherit when in progressbar. 2015-03-08 23:51:32 -07:00
Bradley M. Kuhn
3be224c69a Diff CSS for fundraiser-percentage w/ progressbar.
If Javascript is present to generate the pogressbar, then the CSS really
should be radically different.

Graceful degradation.
2015-03-08 23:48:57 -07:00
Bradley M. Kuhn
a1fa72ac8d vertical-align was not actually doing anything. 2015-03-08 23:43:02 -07:00
Bradley M. Kuhn
ab2239009a Rework again to see if I can get this corrected. 2015-03-08 23:40:47 -07:00
Bradley M. Kuhn
f64ff43450 Rework to simply call with new kwargs.
Redo call so that I just get my own at call time.
2015-03-08 23:36:38 -07:00
Bradley M. Kuhn
f8f37dd39c Must move import as well. 2015-03-08 23:31:44 -07:00
Bradley M. Kuhn
b3f019265b Rework fundgoal lookup urls data.
The urls.py is of course only evaluated once: at Apache load time, which
means the data in the template became stale and is not dynamic.

This change should cause the lookup to happen at each page view.
2015-03-08 23:28:42 -07:00
Bradley M. Kuhn
902999b657 Update to match when we are right now. 2015-03-08 22:34:38 -07:00
Bradley M. Kuhn
a8bd5a2129 Leave text w/ percentage when no progressbar
The progressbar is generated by Javascript.  As such, the text here
won't have a progressbar formatted around it when the browser doesn't
support Javascript.

However, since the Javascript does update the text, we can format the
Django template to put in place text that we wish will appear when no
Javascript is turned on, and then allow the Javascript to make it right
when it's available.

Graceful degradation: I may be its last proponent.
2015-03-08 22:08:14 -07:00
Bradley M. Kuhn
732bf3b4c8 Not so high. 2015-03-08 21:51:37 -07:00
Bradley M. Kuhn
e631dd41ef Top and bottom margin might help. 2015-03-08 21:51:06 -07:00
Bradley M. Kuhn
d17dcf145e Go back to float right. 2015-03-08 21:50:19 -07:00
Bradley M. Kuhn
cd6ba9e352 Go back to this version, it seems better. 2015-03-08 21:49:26 -07:00
Bradley M. Kuhn
e664a104a7 See if this places the percentage better. 2015-03-08 21:48:29 -07:00
Bradley M. Kuhn
df9976598c Better formatting on fundraising-percentage. 2015-03-08 21:46:48 -07:00
Bradley M. Kuhn
ad787ca5a9 fundraising percentage goes with progressbar. 2015-03-08 21:43:49 -07:00
Bradley M. Kuhn
54118f965d fundraiser-percentage should be in bold. 2015-03-08 21:42:53 -07:00
Bradley M. Kuhn
51ab3f365c Possibly need a span# here. 2015-03-08 21:41:53 -07:00
Bradley M. Kuhn
157c438899 CSS for the fundraising percentage text. 2015-03-08 21:38:38 -07:00
Bradley M. Kuhn
c438b40621 Add heading. 2015-03-08 21:35:16 -07:00
Bradley M. Kuhn
1327b684d6 Use supporter-page.js & its formatting conventions
The npoacct campaign was launched before the Supporter program, and
parts of its functionality were incorporated into supporter-page.js
ultimately.  This commit hopefully now backports that functionality to
npoacct campaign.
2015-03-08 21:31:42 -07:00
Bradley M. Kuhn
027964192a Function to compute how far to the goal we are.
This is also inserted by the Javascript code as well, but no reason we
can't compute it server side, too.
2015-03-08 21:21:58 -07:00
Bradley M. Kuhn
eb18c15f66 I didn't realize extend is first 2015-03-08 21:17:06 -07:00
Bradley M. Kuhn
4a5af8324a Use humanize to format dollar amounts 2015-03-08 21:12:36 -07:00
Bradley M. Kuhn
3442c1bd1d Variables don't go in {% in Django templates. 2015-03-08 21:03:36 -07:00
Bradley M. Kuhn
e0cb1621b1 Convert npoacct fundraiser to use dynamic content
If this new model works, we should be able to update the fundraiser
amounts in the Django database instead of the HTML.
2015-03-08 20:57:22 -07:00
Bradley M. Kuhn
09654a5eac Fundraising goal lookup for template: 1st attempt
This seems to be the best approach to pass a fundraising goal record to
a template.  While the static hack that tmarble implemented probably
needs work anyway, this is probably the best way currently to interface
certain general data that we seek to place on many different pages
through the templates.

I looked into a templatetags solution, but this seemed more
straightforward and more fitting with Django principles (I think :).
2015-03-08 20:46:37 -07:00
Bradley M. Kuhn
a26af07ea5 Tie sentence in better. 2015-03-08 11:57:15 -07:00
Bradley M. Kuhn
7d22c563c4 More detail about copyleft.org 2015-03-08 11:20:31 -07:00
Bradley M. Kuhn
fee584578d Wording fix and expand on fact. 2015-03-07 23:12:06 -08:00
Bradley M. Kuhn
098f7cc276 Correct compliance menu selector. 2015-03-07 14:09:56 -08:00
Bradley M. Kuhn
30cbfd72f1 Add note about copyleft.org on GPL Compliance page 2015-03-07 14:05:52 -08:00
Bradley M. Kuhn
bfda95d191 Wordsmith this FAQ answer. 2015-03-06 17:43:18 -08:00
Bradley M. Kuhn
54119bba74 Add list of those who support the action to FAQ.
Also, note that when people donate, they may also want to make public
statements of support.
2015-03-06 16:37:30 -08:00
Martin Michlmayr
bf71135f75 Update number of member projects 2015-03-05 18:51:26 -05:00
Bradley M. Kuhn
9f8a5100bc Scale only by 75%, not 50%. 2015-03-05 15:31:38 -08:00
Bradley M. Kuhn
7694d3b1f8 Image inside FAQ should scale to size.
Some have complained that the image inside the FAQ does not scale to
size.  This corrects that problem.
2015-03-05 15:20:26 -08:00
Bradley M. Kuhn
097c82ea26 Move progressbar CSS to CSS file, not hard code.
Also, increase size of progress bar (HT tmarble)
2015-03-05 13:32:49 -08:00
Bradley M. Kuhn
32e9164d48 Don't hard code style; use class and improve CSS
This changes the hard-coded style for what I'm calling the
content-with-donate-sidebar.  The advantage of not hard-coding style are
obvious, but I'm doing this now rather than later so that I can add
changes to the CSS that causes the width to extend to 100% on smaller
screen media when the donate bar disappears (the latter of which is
already implemented).
2015-03-05 13:25:08 -08:00
Bradley M. Kuhn
44491e67fc Require browser even a bit bigger before left dt.
(HT jgay)
2015-03-05 13:18:55 -08:00
Bradley M. Kuhn
726b29e9f2 Link to the larger one. 2015-03-05 13:00:53 -08:00
Bradley M. Kuhn
336b089791 Remove unnecessary clear: left. (HT hallabro) 2015-03-05 12:58:10 -08:00
Bradley M. Kuhn
ee18acf708 Align dd's properly on right. 2015-03-05 12:57:03 -08:00
Bradley M. Kuhn
4b2bb32811 Adjust widths slightly when these are combined.
When we have both dt's and the donate-sidebar floating around, things
get tight.  Perhaps there is a better solution than this (e.g., can you
set the @media conditional on there being a donate-sidebar at all?), but
this should be a reasonable hack to fix the problem.
2015-03-05 12:00:42 -08:00
Bradley M. Kuhn
ba453a80c2 Avoid left floating dt's on small screens.
Set the min-width for the left-floating dt's to 550px, so that small
screens just get everything in one column.

Note that the formatting previously used is now moved purely to @media,
which I don't know how that will impact browsers that don't support
@media in CSS, but OTOH, I believe the graceful degradation is done
correctly here.
2015-03-05 11:56:22 -08:00
Bradley M. Kuhn
11af508b99 Merge branch 'master' from gitorious.
I made some changes before a pull which are herein merged.
2015-03-05 11:36:53 -08:00
Bradley M. Kuhn
05198edf82 Make FAQ entry done in dt look better with CSS.
This is accomplished by three key changes:

  * use em rather than px sizes, so that font changes are accomodated.

  * Add a margin to the dt.

  * center the text in the dt's rather than right align.
2015-03-05 11:35:15 -08:00
Martin Michlmayr
49c5bca743 Remove footnote about t-shirt shipment
Remove footnote since t-shirts are being shipped already.
2015-03-05 14:26:41 -05:00
Martin Michlmayr
987fd3c102 Remove stale news about match 2015-03-05 14:25:42 -05:00
Martin Michlmayr
2f44797992 A missing word 2015-03-05 14:19:37 -05:00
Martin Michlmayr
9cd9c2b5d0 Fix HTML syntax errors 2015-03-05 14:18:39 -05:00
Bradley M. Kuhn
5eb028235f Shorten questions. 2015-03-05 10:40:26 -08:00
Bradley M. Kuhn
90cf11f1c2 Sure up wording for ambiguous modifier
HT jackhill for this suggestion.
2015-03-05 10:39:57 -08:00
Bradley M. Kuhn
bc8ef68559 Correct this: it read the opposite of intended. 2015-03-05 09:51:05 -08:00
Bradley M. Kuhn
a6aad36677 Fix typo in CSS. 2015-03-05 09:41:23 -08:00
Bradley M. Kuhn
5d8db4bcf8 Shorten question. 2015-03-05 09:03:38 -08:00
Bradley M. Kuhn
08dd970a0b Fix donate links. 2015-03-05 08:55:42 -08:00
Bradley M. Kuhn
6b116286d3 Scaled version of image to see if it fits better. 2015-03-05 08:55:38 -08:00
Bradley M. Kuhn
5fec724d62 missing close anchor. 2015-03-05 08:40:20 -08:00
Bradley M. Kuhn
ae329f742d Use PNG for now. 2015-03-05 08:35:28 -08:00
Bradley M. Kuhn
e1d34f476f Fix VMware spelling. 2015-03-05 08:32:26 -08:00
Bradley M. Kuhn
c000d6ae6c Make this string not so long. 2015-03-05 08:31:23 -08:00
Bradley M. Kuhn
26561835da Supporting docs for announcement of VMware lawsuit
The VMware lawsuit will be announced publicly momentarily.
2015-03-05 08:24:45 -08:00
Bradley M. Kuhn
f3b930579f Automatically generate fundraiser percentage text.
Using this span, we can update the number in the fundraising percentage
text automatically.  The downside is that non-javascript browsers will
not receive a fundraising percentage, but the upside is that fewer
things need to be calculated by hand, and now only the amount raised so
far needs updated.
2015-03-05 08:00:14 -08:00
Bradley M. Kuhn
3d027ae13c Fix cut-and-paste error in menu selection CSS. 2015-03-05 07:57:17 -08:00
Bradley M. Kuhn
181d39ac91 This page now has a submenuselection. 2015-03-05 07:54:41 -08:00
Bradley M. Kuhn
47aa505e07 Overview: top level menu -> incorporated in about
The overview is now incorporated into the About section of the website,
primarily to make more space on the toplevel menubar.
2015-03-05 07:53:04 -08:00
Bradley M. Kuhn
f635fba970 Properly match category name. 2015-03-05 07:47:41 -08:00
Bradley M. Kuhn
c15ed233cf Begin work to highlight sidebar menu correctly.
The sidebar menu, and its related top menu item should match setups used
with other sidebar based pages on the site.
2015-03-05 07:43:41 -08:00