Source

namethatanime / templates / donate.html

Full commit
{% extends "base.html" %}
 
{% block headmore %}
<script type="text/javascript" src="/static/js/bootstrap-twipsy.js"></script>
<script type="text/javascript" src="/static/js/jquery.zclip.min.js"></script>
{% end %}   
        
{% block nav %}
            <li><a href="/">Home</a></li>
            <li><a href="/about">About</a></li>
            <li><a href="/help">Help</a></li>
			<li><a href="/data">Data</a></li>
            <li><a href="/contact">Contact</a></li>
				{% if not user %}
				<li><a href="/register">Register</a></li>
				{% end %}
				<li class="active"><a href="/donate">Donate</a></li>
            {% end %}

{% block container %}
<div class="content">
        <div class="page-header">
         <h1>Donate</h1>
        </div>
        <div class="row">
          <div class="span14 offset1">
			<h2>Why Donate?</h2>
			<br/>
			<ul>
				<li>Server and transfer cost a bit. Current server balance: <span style="color: red;">-20$</span></li>
				<li>It allows me to buy original CDs and make high quality songs. All CDs bought this way will be posted here</li>
				<li>Feauture request and song requests from donators have priority</li>				
			</ul>
			<h2>How I can donate?</h2>
			<br/>
			<h3>1. BitCoin</h3>
			<span id="bckey">14cbS9smabb3J1yD3pJoPjiN5JkR2cATUy</span> <a href="#" id="copytip" data-placement="above" rel='twipsy' title='Copied!'><button id="copy-button" class="btn">Copy</button></a>
			<br/><br/>
			
			<h3>2. Moneybookers</h3>
			<form action="https://www.moneybookers.com/app/payment.pl" method="post" target="_blank">
				<input type="hidden" name="pay_to_email" value="admin@namethatanime.net">
				<input type="hidden" name="status_url" value="admin@namethatanime.net"> 
				<input type="hidden" name="language" value="EN">
				<input name="amount" value="6.66" style="width: 50px;">
				<input type="hidden" name="currency" value="USD">
				<input type="hidden" name="detail1_description" value="NameThatAnime Donation">
				<input type="hidden" name="detail1_text" value="NameThatAnime Donation">
				<input type="submit" value="Donate" class="btn primary">
			</form>
			
			<h3>3. PayPal</h3>
			<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="margin-bottom: 0px;">
				<input type="hidden" name="cmd" value="_s-xclick">
				<input type="hidden" name="hosted_button_id" value="6WU7KUWF5DH74">
				<input type="image" src="/static/images/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!" style="width: 92px; height: 26px; border: none; -webkit-transition: none; box-shadow: none;">
				<img alt="" border="0" src="https://www.paypalobjects.com/pl_PL/i/scr/pixel.gif" width="1" height="1"> 
			</form>
			You can choose amount on their website.
          </div>          
        </div>
      </div>

{% end %}


{% block scripts %}
<script>
$(function() {   
	$('#copytip').twipsy({trigger: 'manual'});
	
	$("#copy-button").zclip({
		path: "/static/ZeroClipboard.swf",
		copy: function(){
		return $('#bckey').html();
		},
		afterCopy: function(){
			$('#copytip').twipsy('show');
			setTimeout("$('#copytip').twipsy('hide');",1250);
		}
	});	
});
</script>
{% end %}