Skip to content

Commit 85b4279

Browse files
committed
Adding bitcoin donate button.
1 parent 33d9b24 commit 85b4279

File tree

11 files changed

+108
-53
lines changed

11 files changed

+108
-53
lines changed

_config.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ lsi: false
33
highlighter: rouge
44
repository: accord-net/accord-net.github.io
55

6-
exclude: ['README.md', 'config.rb', '*.sln', '*.suo', '*.config'] #, 'docs']
6+
exclude: ['README.md', 'config.rb', '*.sln', '*.suo', '*.config']
7+
#exclude: ['README.md', 'config.rb', '*.sln', '*.suo', '*.config', 'docs']
78

89
domain: accord-framework.net
910
title: Accord.NET Machine Learning Framework

_includes/right-icon-bar.html

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<a href="http://www.linkedin.com/in/cesarrsouza" target="_blank">
2+
<img id="linkedin" class="icons" src="images/metro/appbar.social.linkedin.color.png" />
3+
</a>
4+
<a href="http://www.youtube.com/playlist?list=PLb8yJtCIm8PQRC0t8re7b5mOCP8s6iBk9"
5+
target="_blank">
6+
<img id="youtube" class="icons" src="images/metro/appbar.youtube.color.png" />
7+
</a>
8+
<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&amp;hosted_button_id=N4Q6YQSPWN8BG"
9+
target="_blank">
10+
<img id="paypal" class="icons" src="images/metro/appbar.paypal.color.png" />
11+
</a>
12+
<a href="bitcoin:1CbVn1zkq1kzm4qF43YS54hJUpcviE7rYQ"
13+
target="_blank">
14+
<img id="bitcoin" class="icons" src="images/misc/bitcoin.png" style="width: 76px; padding: 12px" />
15+
</a>
16+
<a href="https://github.com/accord-net/framework" target="_blank">
17+
<img id="Img1" class="icons" alt="GitHub Project Page" src="images/metro/appbar.social.github.octocat.png" />
18+
</a>

_includes/tooltips-bottom.html

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
<div id="paypal-tooltip" style="display: none">
2+
<p>
3+
Have you found this software useful?
4+
<br />
5+
Consider donating just <strong>US$10</strong>
6+
<br />
7+
so it can get even better!
8+
</p>
9+
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
10+
<input type="hidden" name="cmd" value="_s-xclick">
11+
<input type="hidden" name="hosted_button_id" value="N4Q6YQSPWN8BG">
12+
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif"
13+
border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
14+
<img alt="" border="0" src="https://www.paypalobjects.com/pt_BR/i/scr/pixel.gif"
15+
width="1" height="1">
16+
</form>
17+
<p>
18+
This software is completely free and will<br />
19+
<strong>always stay free</strong>
20+
. Enjoy!
21+
</p>
22+
</div>
23+
24+
25+
<div id="bitcoin-tooltip" style="display: none">
26+
<p>
27+
The project also accepts donations in Bitcoins, Ethereum, and
28+
<br />
29+
Litecoins. Please consider donating so it can be even better!
30+
</p>
31+
<h2>Bitcoin:</h2>
32+
<img src="images/misc/bitcoin-address.png" alt="Bitcoin address" width="50%" head="50%" />
33+
<h2>Other currencies:</h2>
34+
<p>
35+
<ul style="font-family: monospace; text-align: left">
36+
<li>BTC: <a href="bitcoin:16EUrG7AqbhrAbgVA1J3m4udFm3XFUntDE" >16EUrG7AqbhrAbgVA1J3m4udFm3XFUntDE</a></li>
37+
<li>ETH: 0xc152EA8c985984C34C08b54201a632E98AE98e8F</li>
38+
<li>LTC: LPkWpq1ChUXXxpHZwvKFicVeWSXKPtnaYC</li>
39+
<li>XDG: D5UHBDUJtuaYRUYFRRmmPEbBN24E5qPGdZ</li>
40+
</ul>
41+
<p>
42+
All donations are strictly used towards improving the project, such<br/>
43+
as by <strong>hiring more developers to fix issues in the <a href="https://github.com/accord-net/framework/issues">issue tracker</a></strong>.
44+
</p>
45+
<p>
46+
This software is completely free and will <strong>always stay free</strong>. Enjoy!
47+
</p>
48+
</div>

_layouts/default.html

Lines changed: 8 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@
4646
paypal.data('powertip', $('#paypal-tooltip').html());
4747
paypal.powerTip({ placement: 'w', mouseOnToPopup: true });
4848

49+
var bitcoin = $('#bitcoin');
50+
bitcoin.data('powertip', $('#bitcoin-tooltip').html());
51+
bitcoin.powerTip({ placement: 'w', mouseOnToPopup: true });
4952
});
5053

5154
</script>
@@ -70,21 +73,7 @@ <h1>
7073
// Right area: contains the Youtube, LinkedIn and Paypal buttons
7174
// -------------------------------------------------------------------------------->
7275
<aside>
73-
<a href="http://www.linkedin.com/in/cesarrsouza" target="_blank">
74-
<img id="linkedin" class="icons" alt="LinkedIn" src="images/metro/appbar.social.linkedin.color.png" />
75-
</a>
76-
<a href="http://www.youtube.com/playlist?list=PLb8yJtCIm8PQRC0t8re7b5mOCP8s6iBk9"
77-
target="_blank">
78-
<img id="youtube" class="icons" alt="YouTube" src="images/metro/appbar.youtube.color.png" />
79-
</a>
80-
<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&amp;hosted_button_id=N4Q6YQSPWN8BG"
81-
target="_blank">
82-
<img id="paypal" class="icons" alt="PayPal" src="images/metro/appbar.paypal.color.png" />
83-
</a>
84-
<a href="https://github.com/accord-net/framework"
85-
target="_blank">
86-
<img id="Img1" class="icons" alt="GitHub Project Page" src="images/metro/appbar.social.github.octocat.png" />
87-
</a>
76+
{% include right-icon-bar.html %}
8877
</aside>
8978
<!--
9079
@@ -230,28 +219,11 @@ <h3>
230219
on {{site.time}}
231220
</p>
232221
</footer>
222+
233223
<!--
234-
235-
// Hidden area: contains divs which should not be shown in the page
236-
// -------------------------------------------------------------------------------->
237-
<div id="paypal-tooltip" style="display: none">
238-
<p>
239-
Have you found this software useful?
240-
<br />
241-
Consider donating just <strong>US$10</strong>
242-
<br />
243-
so it can get even better!
244-
</p>
245-
<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&amp;hosted_button_id=N4Q6YQSPWN8BG"
246-
rel="nofollow" target="_blank">
247-
<img align="center" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif"
248-
width="92" height="26" alt="Donate!" />
249-
</a>
250-
<p>
251-
This software is completely free and will<br />
252-
<strong>always stay free</strong>
253-
. Enjoy!
254-
</div>
224+
// Hidden area: contains divs which should not be shown in the page
225+
// -------------------------------------------------------------------------------->
226+
{% include tooltips-bottom.html %}
255227
</body>
256228

257229
{% include analytics.html %}

images/misc/bitcoin-address.png

11.9 KB
Loading

images/misc/bitcoin.png

25.9 KB
Loading

images/misc/ethereum-address.png

12.3 KB
Loading

images/misc/ethereum-original.png

3.35 KB
Loading

images/misc/litecoin-address.png

12 KB
Loading

images/misc/litecoin-original.png

36.8 KB
Loading

0 commit comments

Comments
 (0)