Add flattr button to page tail.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Tue, 9 Nov 2010 09:23:11 +0000 (10:23 +0100)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 10 Nov 2010 19:50:12 +0000 (20:50 +0100)
src/main/resources/static/css/sone.css
src/main/resources/static/images/flattr-badge-large.png [new file with mode: 0644]
src/main/resources/templates/about.html
src/main/resources/templates/include/tail.html

index 2883b2b..c23047e 100644 (file)
@@ -383,7 +383,7 @@ textarea {
 #sone #tail {
        margin-top: 1em;
        border-top: solid 1px #ccc;
-       padding-top: 1em;
+       padding-top: 2em;
        text-align: center;
        font-size: 75%;
        color: #888;
diff --git a/src/main/resources/static/images/flattr-badge-large.png b/src/main/resources/static/images/flattr-badge-large.png
new file mode 100644 (file)
index 0000000..c03a4fa
Binary files /dev/null and b/src/main/resources/static/images/flattr-badge-large.png differ
index c572a57..b4ad622 100644 (file)
@@ -5,6 +5,15 @@
        <p>Sone – The Freenet Social Network Plugin, Version <% version|html>, © 2010 by David ‘Bombe’ Roden.</p>
 
        <p>
+               If you like Sone and you would like to reward me, you can use the
+               Flattr button at the bottom of each page. Flattr is a non-anonymous
+               micro payment that acts like an internet tip jar where the amount
+               each user spends is limited (lowest being 2 € per month). More
+               information can be found on <a href="https://www.flattr.com/"
+               title="Flattr Homepage" target="_blank">flattr.com</a>.
+       </p>
+
+       <p>
                This program is free software: you can redistribute it and/or modify
        it under the terms of the GNU General Public License as published by
        the Free Software Foundation, either version 3 of the License, or
index 4d064e4..6666c58 100644 (file)
@@ -2,6 +2,11 @@
        </div>
 
        <div id="tail">
+               <div class="flattr-button">
+                       <a href="http://flattr.com/thing/81996/Sone-The-Freenet-Social-Network-Plugin" target="_blank">
+                               <img src="images/flattr-badge-large.png" alt="Flattr Sone" title="Flattr Sone" />
+                       </a>
+               </div>
        </div>
 
 </div>