Permalink
Browse files

allow for donations or etc code.

  • Loading branch information...
1 parent dd99b2f commit 204e538c524238ace8577c81de7b469dd618a057 @gleuch committed Oct 4, 2009
Showing with 9 additions and 1 deletion.
  1. +4 −1 public/stylesheets/screen.css
  2. +2 −0 settings.yml.default
  3. +3 −0 views/layout.haml
View
5 public/stylesheets/screen.css
@@ -27,7 +27,10 @@ p.button a.button:hover {background: #d800d8; border-color: #d800d8;}
.results_box {padding: 16px 0 0 0; margin: 6px 0 0 0; border-top: 1px solid #e0e0e0;}
-#footer {padding: 80px 0 30px 0; text-align: center; font-size: 16px; letter-spacing: -.02em;}
+#donation_box {padding: 40px 0 0 0; text-align: center;}
+
+
+#footer {padding: 60px 0 30px 0; text-align: center; font-size: 16px; letter-spacing: -.02em;}
#footer a.bold {font-weight: bold;}
#footer a {color: #c900b7; text-decoration: underline;}
#footer a:hover {color: #c900b7; text-decoration: none;}
View
2 settings.yml.default
@@ -21,6 +21,8 @@ development: &local
use_g_analytics: false
g_analytics_code: UA-#######-##
+ use_donation: false
+ donation_code: ''
db_type: sqlite
db_connection: sqlite3:///ROOT/rtgame_dev.db
View
3 views/layout.haml
@@ -41,6 +41,9 @@
#bubble_bottom
#bubble_pointer
+ - if configatron.use_donation
+ #donation_box= configatron.donation_code
+
#footer a <a class="bold" href="http://www.fffff.at">F.A.T. Lab production</a> by <a class="bold" href="http://gleuch.com">Greg Leuch</a>. no rights reserved. <a href="http://github.com/gleuch/retweet-fucker">grab the code</a>
- if configatron.use_g_analytics == true && !configatron.g_analytics_code.blank? && configatron.g_analytics_code != 'UA-#######-##'

0 comments on commit 204e538

Please sign in to comment.