summaryrefslogtreecommitdiff
path: root/templates/themes/donate
diff options
context:
space:
mode:
authorAppleman1234 <applemansigloo@gmail.com>2016-12-15 18:25:42 +0900
committerGitHub <noreply@github.com>2016-12-15 18:25:42 +0900
commitcae526e65a20f3da2d8884c4d8e8978c54120000 (patch)
tree2954153dd49f616f5018490058ff4bfbd17300d3 /templates/themes/donate
parentb58fab98147a92c8e6d22f15d23684508b6bb811 (diff)
parent5feae402cb55d49963bfd2c6f5a33d10690ecbc1 (diff)
Merge pull request #79 from lainchan/clean_prod_vichan_update
Merge vichan changes from upstream and changes directly applied to the site.
Diffstat (limited to 'templates/themes/donate')
-rw-r--r--templates/themes/donate/donate.html36
-rw-r--r--templates/themes/donate/info.php45
2 files changed, 64 insertions, 17 deletions
diff --git a/templates/themes/donate/donate.html b/templates/themes/donate/donate.html
index 73c06cb4..1047cf56 100644
--- a/templates/themes/donate/donate.html
+++ b/templates/themes/donate/donate.html
@@ -7,6 +7,7 @@
<link rel="shortcut icon" href="/favicon.png">
<link rel="stylesheet" media="screen" href="/stylesheets/style.css"/>
<link rel="stylesheet" media="screen" href="/stylesheets/dark.css"/>
+ <link rel="stylesheet" media="screen" href="/stylesheets/progressbar.css"/>
{% if config.font_awesome %}<link rel="stylesheet" href="{{ config.root }}{{ config.font_awesome_css }}">{% endif %}
</head>
<body>
@@ -16,32 +17,35 @@
<h1>{{ settings.title }}</h1>
<div class="subtitle">{{ settings.subtitle }}</div>
</header>
-
+<center>
<img alt="mascot" src="/static/lain_is_cute_datass_small.png"/>
-
- <div class="ban">
+</center>
+ <div class="ban">
<h2>Thanks for donating</h2>
- <p>The server costs $55 per month. If you buy stickers we get about 45-55% of whatever you spend. I have to pay my phone bill to keep two-factor authentication working thats $45 (I pay this myself if im not homeless for the month). I just purchased a few lainchan related domains with whatever BTC we had. $50 or so of donations needs to go to darkengine soon to reimburse him for stickers. I have to pay the bill for my Macbook too sometimes. I want to spend a bunch of donation money on a bulk order of stickers and give em away as prizes or just spam shit in the city. FOOFDOOF is the top donator, hes given us like almost $1000. Sometimes I spend the donation money on food when i'm starving. I transfer all donations into, and keep them as cash.
-
+ <p>The server costs {{ settings.monthlyamount }} per month. If you buy stickers we get about 45-55% of whatever you spend. Historical donation records to the former owner are ForeverN2Dust is the top donator, giving about $3000. FOOFDOOF is #2 with $1000 and lots of cheap Chinese shit. Please specify what you'd like your money to go towards. If you don't want to buy stickers, but want to donate something else please either ask in /q/ or contact the Lainchan administration on IRC at #lainchan on Freenode.
</p>
-<p> The most secure and private way to donate is probably to send cash in the mail to me, but this option is only available to select people until I set up a PO box or something.</p>
- <p>https://www.stickermule.com/marketplace/tags/lainchan</p>
+ <p><a href="https://www.stickermule.com/marketplace/tags/lainchan"> Buy stickers here</a>
+</p>
- <p> Localbitcoins.com is a good place to buy BTC. You can donate BTC to this address: 18CshTkxW6HRFoBhXo9mLJcjkReMmjvuq9</p>
- <img src="https://www.lainchan.org/static/btc.jpg" alt="buttcoin qr">
+<p>Monthly Funding Progress Bar</p>
- <p> The absolute fastest way for me to receive and process the money is with a Credit/Debit/Prepaid card via paypal here:</p>
+<p>Cost per month {{ settings.monthlyamount }}</p>
- <form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
-<input type="hidden" name="cmd" value="_s-xclick">
-<input type="hidden" name="hosted_button_id" value="95LE9PHD8P5NU">
-<input type="image" src="https://www.paypalobjects.com/en_US/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_US/i/scr/pixel.gif" width="1" height="1">
-</form>
+<p>Funds from stickers {{ settings.stickeramount }} </p>
+<p>Funds from other donations {{ settings.otheramount }} </p>
+
+<div class="container">
+ <div class="{{ settings.progressbarcssclass }}">
+ <span style="width:{{ settings.progressbarcsswidth }};position:relative;left:{{ settings.progressbarcssleft }}%;
+ "> </span>
+</div>
+<div id="value" style="position:relative;left:{{ settings.progressbartextcssleft }}px;top:-45px;color:#0000ff;">{{ settings.currentprogress }}</div>
+</div>
</div>
+
</body>
</html>
{% endfilter %}
diff --git a/templates/themes/donate/info.php b/templates/themes/donate/info.php
index fa3f649b..751f8a23 100644
--- a/templates/themes/donate/info.php
+++ b/templates/themes/donate/info.php
@@ -17,7 +17,50 @@ $theme = array(
array('title' => 'File',
'name' => 'file',
'type' => 'text',
- 'default' => 'donate.html')),
+ 'default' => 'donate.html'),
+
+ array('title' => 'Monthly Amount',
+ 'name' => 'monthlyamount',
+ 'type' => 'text',
+ 'default' => '$0'),
+
+
+ array('title' => 'Current Sticker Amount',
+ 'name' => 'stickeramount',
+ 'type' => 'text',
+ 'default' => '$0'),
+
+ array('title' => 'Current Other Donations Amount',
+ 'name' => 'otheramount',
+ 'type' => 'text',
+ 'default' => '$0'),
+
+ array('title' => 'Current Progress',
+ 'name' => 'currentprogress',
+ 'type' => 'text',
+ 'default' => '$0'),
+
+ array('title' => 'Progress Bar CSS class',
+ 'name' => 'progressbarcssclass',
+ 'type' => 'text',
+ 'default' => 'progress-bar green glow'),
+
+
+ array('title' => 'Progress Bar CSS width',
+ 'name' => 'progressbarcsswidth',
+ 'type' => 'text',
+ 'default' => '15%'),
+
+ array('title' => 'Progress Bar CSS left',
+ 'name' => 'progressbarcssleft',
+ 'type' => 'text',
+ 'default' => '51'),
+
+ array('title' => 'Progress Bar Text CSS left',
+ 'name' => 'progressbartextcssleft',
+ 'type' => 'text',
+ 'default' => '195'),
+ ),
'build_function' => 'donate_build');
?>