Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Update to new spiffy donation buttons

  • Loading branch information...
commit 9448dc1b47b4971b8b86864a72ea1a8715128db9 1 parent c603fad
@leto authored
Showing with 21 additions and 16 deletions.
  1. +18 −15 _includes/donation_buttons.html
  2. +3 −1 _includes/main.html
View
33 _includes/donation_buttons.html
@@ -1,32 +1,35 @@
-If you want to support the development of any of these projects, then I would greatly appreciate a donation:
-
-<h1>Ways To Donate</h1>
-
-<br />
+{% if site.bitcoin_address %}
+<div id="bitcoin" style="float:left">
+<a href="bitcoin.html">
+<img src="images/bitcoin_logo_small.png" alt="Bitcoin" border="0">
+</a>
+</div>
+{% endif %}
{% if site.dwolla_account_id %}
-<a href="http://www.dwolla.com/u/{{ site.dwolla_account_id }}?amount={{ site.default_donation }}&repeats={{ site.dwolla_repeat_donation }}&repeat=3&action=send&memo={{ site.dwolla_memo }}"> <img title="Dwolla" src="images/dwolla.png" width="170" height="59" border="0" /></a>
+<div id="dwolla" style="float:left">
+<a href="http://www.dwolla.com/u/{{ site.dwolla_account_id }}?amount={{ site.default_donation }}&repeats={{ site.dwolla_repeat_donation }}&repeat=3&action=send&memo={{ site.dwolla_memo }}"> <img title="Dwolla" src="images/dwolla.png" width="85" height="30" border="0" /></a>
+</div>
{% endif %}
{% if site.pledgie_campaign_id %}
+<div id="pledgie" style="float:left">
<a href='http://www.pledgie.com/campaigns/{{ site.pledgie_campaign_id }}'>
<img alt="Click here to donate to {{ site.name | escape }}" src='http://www.pledgie.com/campaigns/{{ site.pledgie_campaign_id }}.png?skin_name=chrome' border='0' /></a>
+</div>
{% endif %}
{% if site.flattr_username %}
-
+<div id="flattr" style="float:left">
<a href="https://flattr.com/submit/auto?user_id={{ site.flattr_username | cgi_escape }}&url={{ site.flattr_url | cgi_escape }}&tags={{ site.flattr_tags | cgi_escape }}&category={{ site.flattr_category | cgi_escape }}&title={{ site.flattr_title | cgi_escape }}&description={{ site.flattr_description | cgi_escape }}">
<img style="" alt="Flattr Me" src="{{ site.flattr_image }}" border="0"></a>
-{% endif %}
-
-{% if site.bitcoin_address %}
-Bitcoin <b>{{ site.bitcoin_address }}</b>
-<br/>
+</div>
{% endif %}
{% if site.paypal_email %}
+<div id="paypal" style="float:left">
<!-- PayPal -->
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_donations">
@@ -39,11 +42,11 @@
<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHostedGuest">
<input type="image" src="https://www.paypal.com/en_US/i/logo/PayPal_mark_60x38.gif" border="0" name="submit" alt="PayPal">
</form>
-<br/>
+</div>
{% endif %}
-
{% if site.amazon_payments_account_id %}
+<div id="amazon" style="float:left">
<!-- Amazon Payments -->
<form action="https://authorize.payments.amazon.com/pba/paypipeline" method="post">
<input type="text" name="amount" size="6" value="{{ site.default_donation }}">
@@ -61,5 +64,5 @@
<input type="hidden" name="cobrandingStyle" value="logo">
<input type="hidden" name="abandonUrl" value="{{ site.donation_url }}">
</form>
-<br/>
+</div>
{% endif %}
View
4 _includes/main.html
@@ -37,6 +37,8 @@
I am always interested in giving <a href="talks.html">talks and presentations</a> about the various things that I hack on. If you would like me to talk about something at your user group, meetup, unconference, or whatever, please feel free to contact me.
</p>
-
+<p>
+If you want to support the development of any of these projects, then I would greatly appreciate a donation:
+</p>
{% include donation_buttons.html %}
Please sign in to comment.
Something went wrong with that request. Please try again.