summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2015-11-04 16:58:42 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-11-04 16:59:24 -0500
commit01d913ea187712884297b2ee684550697e124827 (patch)
tree932e8a13236100069b53b14fbaa576b3e64cd9b5
parentf54f55ae34793b23aca0fc76acd70d459f29c95b (diff)
add paypal donate buttonparabolaweb-2015-11-04
-rw-r--r--Makefile4
-rw-r--r--templates/public/index.html8
2 files changed, 9 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 925329ed..a43da420 100644
--- a/Makefile
+++ b/Makefile
@@ -24,6 +24,7 @@ targets = \
sitestatic/.gitignore visualize/.gitignore \
sitestatic/rss.png \
sitestatic/rss@2x.png \
+ sitestatic/paypal-donate.gif \
sitestatic/bootstrap-typeahead.js \
sitestatic/homepage.js \
sitestatic/jquery-$(jquery-ver).min.js \
@@ -96,6 +97,9 @@ sitestatic/rss.png: $(dl-cache)/unzip/Feedicons_v.2/RSS_16.png
sitestatic/rss@2x.png: $(dl-cache)/unzip/Feedicons_v.2/RSS_32.png
pngcrush $< $@
+sitestatic/paypal-donate.gif: $(www)/https/www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif
+ cp $< $@
+
$(dl-cache)/unzip/parabola-artwork: $(www)/git/projects.parabola.nu/artwork.git\#branch=official/2013 | $(dl-cache)/unzip
cp -rT '$<' '$@'
make -C '$@'
diff --git a/templates/public/index.html b/templates/public/index.html
index 68020aeb..0af8c25b 100644
--- a/templates/public/index.html
+++ b/templates/public/index.html
@@ -188,11 +188,13 @@
</ul>
</div>
-{% comment %}
<div id="home-donate-button" class="widget">
-donate button would go here
+ <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=8WJTKB86BR7MA">
+ <img src="{% static "paypal-donate.gif" %}"
+ alt="Donate via PayPal - The safer, easier way to pay online!"
+ title="Donate via PayPal - The safer, easier way to pay online!" />
+ </a>
</div>
-{% endcomment %}
<div id="arch-sponsors" class="widget">
<a href="https://ceata.org">