From a884997364db1c539b5d16cff03d153463fb405d Mon Sep 17 00:00:00 2001 From: Andromeda Yelton Date: Wed, 28 Mar 2012 12:50:42 -0400 Subject: [PATCH] making slideshow work on pledge_complete --- frontend/templates/pledge_complete.html | 19 +++++++++++++++---- frontend/templates/press.html | 4 ++-- static/css/campaign.css | 1 + static/css/documentation.css | 5 ++++- static/css/pledge.css | 3 +++ static/less/campaign.less | 1 + static/less/documentation.less | 6 +++++- static/less/pledge.less | 4 ++++ 8 files changed, 35 insertions(+), 8 deletions(-) diff --git a/frontend/templates/pledge_complete.html b/frontend/templates/pledge_complete.html index 625f2b37..a51ed3c4 100644 --- a/frontend/templates/pledge_complete.html +++ b/frontend/templates/pledge_complete.html @@ -5,9 +5,20 @@ {% block extra_extra_head %} + + + + + + + {% endblock %} {% comment %} @@ -20,11 +31,11 @@ we need the share options and also something like the home page slide show to gi

Thank you!

-

You just pledged ${{transaction.amount}} to {{work.title}}.

-

If the campaign reaches its target of ${{campaign.target}} by {{campaign.deadline|date:"F d, Y"}}, +

You just pledged ${{transaction.amount}} to {{work.title}}.

+

If the campaign reaches its target of ${{campaign.target}} by {{campaign.deadline|date:"F d, Y"}}, your PayPal account will be charged ${{transaction.amount}}.

-

Please help {{work.title}} again by telling your friends!

-

Looking for another campaign? Try one of these.

+

Please help {{work.title}} again by telling your friends!

+

Looking for another campaign? Try one of these.

diff --git a/frontend/templates/press.html b/frontend/templates/press.html index 2f1c98d6..667c2760 100644 --- a/frontend/templates/press.html +++ b/frontend/templates/press.html @@ -21,7 +21,7 @@
Additional press questions? Please email press@gluejar.com.
-
+
Thanks for your interest! As of January 2011 Unglue.It is in alpha release. Things are mostly working but they're rough around the edges and may change without notice. Please do kick the tires and forgive us any mess.
@@ -180,7 +180,7 @@ For more background, read our president Eric Hellman's thoughts on LOD-LAM 2011.
-
+

Newsletters

diff --git a/static/css/campaign.css b/static/css/campaign.css index 1dae3569..4dd4e31a 100755 --- a/static/css/campaign.css +++ b/static/css/campaign.css @@ -548,6 +548,7 @@ a { .thank-you { font-size: 18px; font-weight: bold; + margin: 20px auto; } .work_supporter { height: auto; diff --git a/static/css/documentation.css b/static/css/documentation.css index 6de41072..3a2d4d27 100644 --- a/static/css/documentation.css +++ b/static/css/documentation.css @@ -453,7 +453,7 @@ dd { text-decoration: underline; } /* items on press page */ -.spacer { +.press_spacer { clear: both; height: 0px; } @@ -520,3 +520,6 @@ dd { padding: 5px; border: solid 5px #EDF3F4; } +p.pledge_complete { + margin: 7px auto; +} diff --git a/static/css/pledge.css b/static/css/pledge.css index 15017a88..f2c1fb7c 100644 --- a/static/css/pledge.css +++ b/static/css/pledge.css @@ -116,3 +116,6 @@ form.pledgeform { ul.support li, ul.support li:hover { background-image: none; } +p { + margin: 7px auto; +} diff --git a/static/less/campaign.less b/static/less/campaign.less index 7eefaf75..dea3c1a4 100644 --- a/static/less/campaign.less +++ b/static/less/campaign.less @@ -478,6 +478,7 @@ a{ color:#3d4e53; font-size:12px;} .thank-you { font-size: 18px; font-weight: bold; + margin: 20px auto; } .work_supporter { diff --git a/static/less/documentation.less b/static/less/documentation.less index 996df7ab..9553502b 100644 --- a/static/less/documentation.less +++ b/static/less/documentation.less @@ -172,7 +172,7 @@ dd { } /* items on press page */ -.spacer { +.press_spacer { clear:both; height:0px; } @@ -239,4 +239,8 @@ dd { width: 150px; .mediaborder; } +} + +p.pledge_complete { + margin: 7px auto; } \ No newline at end of file diff --git a/static/less/pledge.less b/static/less/pledge.less index f0d27596..7a34faab 100644 --- a/static/less/pledge.less +++ b/static/less/pledge.less @@ -31,4 +31,8 @@ form.pledgeform { ul.support li, ul.support li:hover { background-image: none; +} + +p { + margin: 7px auto; } \ No newline at end of file