Changeset - e0cb1621b1ac
[Not reviewed]
0 1 0
Bradley Kuhn (bkuhn) - 9 years ago 2015-03-09 03:57:22
bkuhn@ebb.org
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.
1 file changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
www/conservancy/static/npoacct/index.html
Show inline comments
...
 
@@ -125,26 +125,26 @@ el.attachEvent('on'+ev, function() {handler.apply(el);});
 
            account_number: $form.find('.ba-an').val(),
 
            bank_code: $form.find('.ba-rn').val(),
 
            type: $form.find('select').val()
 
        };
 
 
 
 
 
        balanced.bankAccount.create(bankAccountData, responseCallbackHandler);
 
    };
 
   $('#bank-account-form').submit(tokenizeInstrument);
 
*/
 
</script>
 
-->
 
$66,275 raised toward<br/>
 
our $75,000 goal.<br/>
 
{% fundgoal.fundraiser_so_far_amount %} raised toward<br/>
 
our {% fundgoal.fundraiser_goal_amount %} goal.<br/>
 
<div id="progressbar"><span style="float:right; align:center; margin-right:40%">88.4%</span></div>
 
<p style="font-size: 75%">(Progress bar updated monthly.)</p>
 
<a id="donate" style="text-decoration:none"></a>
 
<h3>Help us reach our goal:</h3>
 

	
 
<!-- PayPal start -->
 
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
 
<input type="hidden" name="cmd" value="_s-xclick">
 
<input type="hidden" name="hosted_button_id" value="3VRTJALJ5PQRW">
 
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif" style="border:0" name="submit" alt="Donate Now!">
 
<img alt="" style="border:0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
 
</form>
0 comments (0 inline, 0 general)