Skip to content

Commit

Permalink
add new donations box
Browse files Browse the repository at this point in the history
  • Loading branch information
arturoc committed May 7, 2018
1 parent 20c0727 commit c9052bf
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 61 deletions.
33 changes: 4 additions & 29 deletions content/donations.ko.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 28,7 @@ $(document).ready(function(){
ltr = coded.charAt(i)
link = (ltr)
}
else {
else {
ltr = (key.indexOf(coded.charAt(i))-shift key.length) % key.length
link = (key.charAt(ltr))
}
Expand All @@ -47,34 47,9 @@ $(document).ready(function(){
<div class="page-right-narrow">
<div class="home-links">

<div class="donations"><strong>일시적으로 기부하기</strong><br>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_blank">
<input name="business" value="[email protected]" type="hidden">
<input name="cmd" value="_donations" type="hidden">
<input name="item_name" value="openFrameworks one time donation" type="hidden">
<input name="item_number" value="One Time Donation" type="hidden">
<input name="amount" value="" type="text"><br/>
<em> 최소 €1 </em><p></p>
<input name="lc" value="US" type="hidden">
<input name="currency_code" value="EUR" type="hidden">
<input class="buyButton" alt="PayPal – The safer, easier way to pay online." name="submit" value="Donate" type="submit">
</form>
<p>&nbsp;</p>
<p style="font-size: 1.0em; margin-bottom: 0;"><strong>매달 기부하기</strong><br></p>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_blank">
<input name="business" value="[email protected]" type="hidden">
<input name="cmd" value="_xclick-subscriptions" type="hidden">
<input name="item_name" value="openFrameworks monthly donation" type="hidden">
<input name="item_number" value="Monthly Donation" type="hidden">
<input name="a3" value="" value="1" type="text"><br/>
<em> 최소 €1 </em><p></p>
<input name="p3" value="1" type="hidden">
<input name="t3" value="M" type="hidden">
<input name="lc" value="US" type="hidden">
<input name="currency_code" value="EUR" type="hidden">
<input name="src" value="1" type="hidden">
<input class="buyButton" alt="PayPal – The safer, easier way to pay online." name="submit" value="Subscribe" type="submit">
</form>
<div class="donations">
<script src="https://donorbox.org/widget.js" paypalExpress="false"></script><iframe src="https://donorbox.org/embed/openframeworks-donations" height="685px" width="100%"
style="max-width:500px; min-width:310px; max-height:none!important" seamless="seamless" name="donorbox" frameborder="0" scrolling="no" allowpaymentrequest></iframe>
</div>
</div>
</div>
34 changes: 5 additions & 29 deletions content/donations.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 28,7 @@ $(document).ready(function(){
ltr = coded.charAt(i)
link = (ltr)
}
else {
else {
ltr = (key.indexOf(coded.charAt(i))-shift key.length) % key.length
link = (key.charAt(ltr))
}
Expand All @@ -47,34 47,10 @@ $(document).ready(function(){
<div class="page-right-narrow">
<div class="home-links">

<div class="donations"><strong>One-time Donation</strong><br>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_blank">
<input name="business" value="[email protected]" type="hidden">
<input name="cmd" value="_donations" type="hidden">
<input name="item_name" value="openFrameworks one time donation" type="hidden">
<input name="item_number" value="One Time Donation" type="hidden">
<input name="amount" value="" type="text"><br/>
<em> €1 minimum</em><p></p>
<input name="lc" value="US" type="hidden">
<input name="currency_code" value="EUR" type="hidden">
<input class="buyButton" alt="PayPal – The safer, easier way to pay online." name="submit" value="Donate" type="submit">
</form>
<p>&nbsp;</p>
<p style="font-size: 1.0em; margin-bottom: 0;"><strong>Monthly Subscription</strong><br></p>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_blank">
<input name="business" value="[email protected]" type="hidden">
<input name="cmd" value="_xclick-subscriptions" type="hidden">
<input name="item_name" value="openFrameworks monthly donation" type="hidden">
<input name="item_number" value="Monthly Donation" type="hidden">
<input name="a3" value="" value="1" type="text"><br/>
<em> €1 minimum</em><p></p>
<input name="p3" value="1" type="hidden">
<input name="t3" value="M" type="hidden">
<input name="lc" value="US" type="hidden">
<input name="currency_code" value="EUR" type="hidden">
<input name="src" value="1" type="hidden">
<input class="buyButton" alt="PayPal – The safer, easier way to pay online." name="submit" value="Subscribe" type="submit">
</form>
<div class="donations">
<script src="https://donorbox.org/widget.js" paypalExpress="false"></script><iframe src="https://donorbox.org/embed/openframeworks-donations" height="685px" width="100%"
style="max-width:500px; min-width:310px; max-height:none!important" seamless="seamless" name="donorbox" frameborder="0" scrolling="no" allowpaymentrequest></iframe>

</div>
</div>
</div>
6 changes: 3 additions & 3 deletions themes/openframeworks/assets/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -1522,9 1522,9 @@ table.tableblock #preamble>.sectionbody>.paragraph:first-of-type p{font-size:inh
}

.donations{
padding: 1.8em;
background-color: #dedede;
border-radius: 0.2em;
padding: 0;/*1.8em;*/
/*background-color: #dedede;
border-radius: 0.2em;*/
}

.donations input[type=submit]{
Expand Down

0 comments on commit c9052bf

Please sign in to comment.