This repository has been archived on 2022-11-26. You can view files and clone it, but cannot push or open issues or pull requests.
IcyNet.eu/views/donate.pug

46 lines
1.7 KiB
Plaintext
Raw Normal View History

extends layout.pug
block title
|Icy Network - Donate
block body
2018-01-28 19:15:53 +00:00
.container.mb-4.mt-4
h1 Donate
p Donations help us pay for the servers required to keep Icy Network running. Donating any amount would be highly appreciated!
- var formurl = "https://www.paypal.com/cgi-bin/webscr"
if sandbox
- formurl = "https://www.sandbox.paypal.com/cgi-bin/webscr"
form(action=formurl, method="post")
input(type="hidden" name="cmd" value="_xclick")
input(type="hidden" name="business" value=business)
input(type="hidden" name="item_name" value=name)
input(type="hidden" name="item_number" value="1")
input(type="hidden" name="no_shipping" value="1")
input(type="hidden" name="quantity" value="1")
input(type="hidden" name="tax" value="0")
input(type="hidden" name="notify_url" value=ipn_url)
label(for="amount") Amount
.row.form-group
.col-10
input.form-control(type="number", name="amount" value="1.00")
.col
select.form-control(name="currency_code")
option(value="EUR") EUR
option(value="USD") USD
2018-01-28 19:15:53 +00:00
if user
input#custominfo(type="hidden", name="custom", value="userid:" + user.id)
else
input#custominfo(type="hidden", name="custom", value="")
if minecraft
.form-check.form-check-inline
input.form-check-input(id="mcinclude" type="checkbox" checked="false")
label.form-check-label(for="mcinclude") Include Minecraft Username
.mcuname.form-group(style="display: none;")
label(for="mcusername") Minecraft Username
input.form-control(id="mcusername", autocomplete="off")
.buttoncont
a.btn.btn-primary.text-light(name="submit", onclick="$(this).closest('form').submit()")
i.fa.fa-fw.fa-paypal
| Donate