Browse Source

donations

pull/1/head
Nicolae Claudius 13 years ago
parent
commit
92235de6cb
  1. 1
      app/assets/stylesheets/application.css
  2. 6
      app/assets/stylesheets/pages/donate.css.scss
  3. 1
      app/views/fragments/_top.html.erb
  4. 63
      app/views/pages/donate.html.erb

1
app/assets/stylesheets/application.css

@ -16,6 +16,7 @@
*= require pages/help
*= require pages/edit_account
*= require pages/contact
*= require pages/donate
*= require active_scaffold
*= require overrides

6
app/assets/stylesheets/pages/donate.css.scss

@ -0,0 +1,6 @@
.donate-table {
width: 100%;
td {
text-align: center;
}
}

1
app/views/fragments/_top.html.erb

@ -28,6 +28,7 @@
:related => "_clyfe:vaijab"
} %>
</li>
<li><%= link_to('Donate', page_path('donate'), :data => {:pjax => '#main'}) %></li>
<% if user_signed_in? %>
<li><%= link_to('Help & Support', page_path('help'), :data => {:pjax => '#main'}) %></li>
<li><%= link_to(current_user.email, edit_user_registration_path, :title => "IP: #{client_remote_ip}", :data => {:pjax => '#main'}) %></li>

63
app/views/pages/donate.html.erb

@ -0,0 +1,63 @@
<div class="block article">
<div class="content">
<div class="inner">
<h1>Donate</h1>
<p>How do I contribute?</p>
<p>
EntryDNS is a free service for everyone, but contribution is more than welcome.
Like every service, it needs some hardware to run on, requires network bandwidth and maintenance.
</p>
<p>
If you wish to contribute, you can send us any amount of money which will help us pay
hosting and network bandwidth bills as well as to expand our name server nodes across
the world for better response times and availability.
</p>
<table class="donate-table">
<tr class="curency">
<td>EUR</td>
<td>USD</td>
<td>GBP</td>
</tr>
<tr>
<td>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="7FQMY358VCKA6">
<input type="image" src="https://www.paypalobjects.com/en_US/GB/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="PayPal — The safer, easier way to pay online.">
<img alt="" border="0" src="https://www.paypalobjects.com/en_GB/i/scr/pixel.gif" width="1" height="1">
</form>
</td>
<td>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="7FQMY358VCKA6">
<input type="image" src="https://www.paypalobjects.com/en_US/GB/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="PayPal — The safer, easier way to pay online.">
<img alt="" border="0" src="https://www.paypalobjects.com/en_GB/i/scr/pixel.gif" width="1" height="1">
</form>
</td>
<td>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="7FQMY358VCKA6">
<input type="image" src="https://www.paypalobjects.com/en_US/GB/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="PayPal — The safer, easier way to pay online.">
<img alt="" border="0" src="https://www.paypalobjects.com/en_GB/i/scr/pixel.gif" width="1" height="1">
</form>
</td>
</tr>
</table>
</div>
</div>
</div>
Loading…
Cancel
Save