Bradley M. Kuhn
ba50cd0232
SVG bullet list of supporters on sponsors page.
...
This CSS, which I discovered from extensive research online, should work
to create a bulleted list with the bullets being the heart-shaped
Conservancy logo.
2014-12-03 12:29:24 -05:00
Bradley M. Kuhn
ece5b2581b
Add missing close brace.
2014-12-03 12:27:32 -05:00
Bradley M. Kuhn
04d927961d
Rework page so that it can include supporters too.
2014-12-03 10:57:10 -05:00
Bradley M. Kuhn
8ce79c7efd
Put hr tag inside this div to inherit properties.
2014-12-03 09:58:52 -05:00
Bradley M. Kuhn
b9b4695f97
Match width and alignment to donate-content class.
2014-12-03 09:58:07 -05:00
Bradley M. Kuhn
5014455930
Remove http://sfconservancy.org ; this is that site
2014-12-03 08:46:58 -05:00
Bradley M. Kuhn
c24285c461
Links to project websites.
2014-12-03 08:45:01 -05:00
Bradley M. Kuhn
81a73acec4
Shorten text.
2014-12-02 20:57:46 -05:00
Bradley M. Kuhn
ee7125fd31
Full name of this project, and a link.
2014-12-02 18:31:13 -05:00
Bradley M. Kuhn
f042c375be
Use em padding here, and a little less of it.
2014-12-02 18:30:15 -05:00
Bradley M. Kuhn
8291c3db2e
Reword text again.
2014-12-02 18:29:06 -05:00
Bradley M. Kuhn
b6b94e3206
Clarify no benefits received until 12 months.
2014-12-02 18:27:22 -05:00
Bradley M. Kuhn
44301d386b
Correct Markdown-style footnote w/ HTML style one.
...
This footnote is now correctly formatted in HTML, with links back and
forth, as well as a jQuery UI tooltip popup for the footnote.
2014-12-02 18:25:42 -05:00
Bradley M. Kuhn
c41a897be2
Simply clear error for monthly donation.
...
Since the error messages relate only to the amount entered, the error
message should be cleared when switching to the monthly giving option.
2014-12-02 18:02:32 -05:00
Bradley M. Kuhn
c546833984
Amount starts class "valid", when default accepted
...
The default amount of $120 appears in the amount field, but the class
"valid" was usually only added when the user changes the amount.
The valid class must be added at the start to ensure someone simply
clicking with the default still can donate.
2014-12-02 17:58:39 -05:00
Bradley M. Kuhn
9aa9e73a91
600px seems better here than 500px.
2014-12-02 17:55:06 -05:00
Bradley M. Kuhn
009cc20555
Avoid donate-sidebar on small screens.
...
The donate-sidebar overlaps with text on small screens. This problem is
corrected herein by using @media for 500px screens to remove display of
the sidebar.
2014-12-02 17:51:32 -05:00
Bradley M. Kuhn
dbe8d4f238
Remove hard-coded style= for donate-sidebar div
...
Move the CSS for the donate-sidebar into the conservancy.css file
instead of hard-coding in the HTML.
2014-12-02 17:51:10 -05:00
Bradley M. Kuhn
19ef9d196b
Fix missing trailing newline.
2014-12-02 17:49:20 -05:00
Bradley M. Kuhn
1b96df2224
Use em here so that the button is a bit closer.
2014-12-02 17:49:10 -05:00
Bradley M. Kuhn
3dd381cddb
Make error text even shorter.
2014-12-02 17:35:31 -05:00
Bradley M. Kuhn
8fbf7ba2b0
Reword text.
2014-12-02 17:34:08 -05:00
Bradley M. Kuhn
0d0f7707e9
This must be below the second div.
2014-12-02 17:32:39 -05:00
Bradley M. Kuhn
090fb9f268
Larger error message when submitting bad amount.
...
This addition to the Javascript and text ensures a clear message to the
user of a Javascript-enabled browser that there is an issue with the
amount. Also, it prevents submission of the form until the amount is
correct.
A user with Javascript disabled can circumvent these validation steps;
however, the worst-case scenario is that they make a donation for less
than $120 that is categorized in Conservancy's internal system as a
Supporter donation, and we'll be adding internal checks to find that.
2014-12-02 17:26:55 -05:00
Bradley M. Kuhn
b2c18cc59e
Correct regular expression and comma thing fully.
...
parseInt() likely wants no commas, so we use a value without it, and the
regular expression now seems to properly match was PayPal will take as
valid.
2014-12-02 17:04:05 -05:00
Bradley M. Kuhn
3438812e00
Maybe comma need not be escaped?
2014-12-02 16:28:46 -05:00
Bradley M. Kuhn
8b16abf981
PayPal seems to be ok with commas.
2014-12-02 16:27:37 -05:00
Bradley M. Kuhn
403c884489
Add alt text.
2014-12-02 16:21:16 -05:00
Bradley M. Kuhn
6e3468bc98
Modify CSS, image & related so img of heart works.
...
Putting the heart on the floated right corner should work pretty well
now with this CSS.
2014-12-02 16:20:10 -05:00
Bradley M. Kuhn
34648758b0
Allow scaling of photo.
2014-12-02 16:15:03 -05:00
Bradley M. Kuhn
870d25d9e3
Force scaling of width for banner.
...
The banner should scale with the width of the window.
2014-12-02 16:11:36 -05:00
Bradley M. Kuhn
aa0f8b1c74
Apparently, we aren't using this now.
...
<tony> bkuhn, karen: so, let's not bother using the logo-heart. The pic adds
enough visual interest. Now, what about the the text header. Do you
want it to be a smidgen smaller?
2014-12-02 15:57:49 -05:00
Bradley M. Kuhn
d78052f25e
Correct img tag.
2014-12-02 15:41:54 -05:00
Bradley M. Kuhn
fca6ed8229
Conservancy Supporter headers & their placement.
2014-12-02 15:40:46 -05:00
Bradley M. Kuhn
8c653e884f
URL changes for successful supporter redirection.
2014-12-02 15:31:07 -05:00
Bradley M. Kuhn
667118755c
Thank-you page to redirect supporters post-payment
...
This page is now set as part of the PayPal giving forms to redirect
supporters to after they've paid.
2014-12-02 15:30:02 -05:00
Bradley M. Kuhn
627befe0b3
Another adjustment to the forms CSS.
...
This is working on my test site but not on the main website. I can't
figure out why.
2014-12-02 14:14:31 -05:00
Bradley M. Kuhn
1328b725b1
Attempt to correct image CSS.
2014-12-02 14:13:12 -05:00
Bradley M. Kuhn
8bfe2e16f4
Add image from Karen of t-shirt.
2014-12-02 14:08:26 -05:00
Bradley M. Kuhn
fa29e1b8f3
Customized buttons for annual/monthly supporter.
...
These buttons were drawn by Tony and replace the default PayPal buttons.
2014-12-02 13:41:04 -05:00
Bradley M. Kuhn
b90413809f
Subscriptions for monthly supporters.
...
There are now two options at the bottom of the page, annual and monthly
supporters.
In addition, there is Javascript code to cause the annual and monthly
items disappear and reappear upon selection either in the donate box or
the selector above the items.
I tested this in links and it seems to degrade reasonably well.
2014-12-02 13:35:53 -05:00
Bradley M. Kuhn
15b3cbb273
Better alt text and incorrectly placed </div>
2014-12-02 12:11:36 -05:00
Bradley M. Kuhn
194f95d016
Float Donate button to the center beside questions
...
The donate button is now centered beside the questions that relate to
the supporter program.
2014-12-02 12:09:43 -05:00
Bradley M. Kuhn
4003c1b8c9
Better formatting for submit button.
...
The needed CSS is already in forms.css
2014-12-02 12:00:18 -05:00
Bradley M. Kuhn
6aff0260a0
Correct various HTML formatting issues.
2014-12-02 11:57:42 -05:00
Bradley M. Kuhn
83dd8a3fbd
Remove stray end tag.
2014-12-02 11:55:06 -05:00
Bradley M. Kuhn
6d365d77ed
Make this text a bit shorter.
2014-12-02 11:53:49 -05:00
Bradley M. Kuhn
9bfb5e10de
Rework form with error messages & basic validation
...
Since PayPal cannot seem to be cajoled into verifying a minimum amount,
we have to do it here with Javascript. This isn't perfect validation:
the form can currently still be submitted with an amount less than $120,
but at least this way Javascript-enabled browsers might prevent some
folks from doing that.
2014-12-02 11:31:43 -05:00
Bradley M. Kuhn
01eb8c80c8
Move javascript code from HTML files to a .js file
2014-12-02 11:28:37 -05:00
Bradley M. Kuhn
a9d63616d3
Updated jQuery to 1.11.1 and jQuery UI to 1.11.2
2014-12-02 11:22:39 -05:00