summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjomo <github@jomo.tv>2015-04-14 22:05:00 +0200
committerjomo <github@jomo.tv>2015-04-14 22:05:00 +0200
commit9c9d55bfe4d44616ef0af730815b5c7835085e66 (patch)
tree636f6d8351e63388aabf5ee58bee1c096a0fff00
parent1ca17d9931a733989da47821f1ccdbb1226726bb (diff)
add donation option for @Dico200
-rw-r--r--app/assets/stylesheets/style.css.scss4
-rw-r--r--app/views/statics/donate.html.erb21
2 files changed, 23 insertions, 2 deletions
diff --git a/app/assets/stylesheets/style.css.scss b/app/assets/stylesheets/style.css.scss
index bbabc50..c86d9a7 100644
--- a/app/assets/stylesheets/style.css.scss
+++ b/app/assets/stylesheets/style.css.scss
@@ -876,6 +876,10 @@ tr.spacer {
float: left;
margin-right: 20px;
}
+
+ input[name="custom"] {
+ width: auto;
+ }
}
.bold {
diff --git a/app/views/statics/donate.html.erb b/app/views/statics/donate.html.erb
index bd013db..1fb4143 100644
--- a/app/views/statics/donate.html.erb
+++ b/app/views/statics/donate.html.erb
@@ -4,7 +4,7 @@
Donating keeps us motivated to do all the work, pay eventual bills, etc.</p>
<p>Donations are made via <a href="https://www.paypal.com" target="_blank">PayPal</a>. We will eventually add more payment methods if we get many requests. (Use the forums)</p>
<p>If you cannot, or do not want to donate, that's totally fine!<br>
- Just thank us for running the server, it really makes us happy :)</p>
+ Just thank us for running the server, it barely happens but really makes us happy :)</p>
<p>While we do appreciate every amount of donation, we have decided to create two special ranks:</p>
<ul>
<li>Donator ($5 or more)
@@ -21,7 +21,7 @@
<hr>
<div class="donations">
<div class="donation">
- <img src="https://crafatar.com/renders/body/ae795aa86327408e92ab25c8a59f3ba1?scale=3" alt="jomo's skin" class="body">
+ <img src="https://crafatar.com/renders/body/ae795aa86327408e92ab25c8a59f3ba1?scale=3&amp;helm" alt="jomo's skin" class="body">
<h1>Donate to jomo</h1>
<h4>jomo is our admin. He solves problems &amp; keeps the server running.</h4>
@@ -37,6 +37,23 @@
</form>
<div class="clear"></div>
</div>
+ <div class="donation">
+ <img src="https://crafatar.com/renders/body/51f2ad3c6cc840eaaa2bf25970316921?scale=3&amp;helm" alt="Dico's skin" class="body">
+ <h1>Donate to Dico</h1>
+ <h4>Dico spends a lot of his time developing custom features for the server.</h4>
+
+ <form target="_blank" method="post" action="https://www.paypal.com/cgi-bin/webscr">
+ <% if current_user %>
+ <input name="custom" type="hidden" placeholder="Your Minecraft name" value="<%= current_user.ign %>">
+ <% else %>
+ <input name="custom" type="text" placeholder="Your Minecraft name">
+ <% end %>
+ <input value="_s-xclick" name="cmd" type="hidden">
+ <input value="UVUF9SJRWYU4C" name="hosted_button_id" type="hidden">
+ <input value="Donate" name="Donate" type="submit" class="btn dark donate paypal">
+ </form>
+ <div class="clear"></div>
+ </div>
</div>
<hr>