From 0ba47b0fe1cb01df32489ddb5623b1cafd45b4eb Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Tue, 20 Nov 2018 14:55:23 +0000 Subject: [PATCH] donate: Make help texts narrow as the rest of the page Signed-off-by: Michael Tremer --- src/templates/donate/donate.html | 204 ++++++++++++++++--------------- src/web/donate.py | 2 +- 2 files changed, 105 insertions(+), 101 deletions(-) diff --git a/src/templates/donate/donate.html b/src/templates/donate/donate.html index d0271b2e..37eacff8 100644 --- a/src/templates/donate/donate.html +++ b/src/templates/donate/donate.html @@ -246,130 +246,134 @@
-
Why should I donate?
+
+
+
Why should I donate?
-

- At IPFire, we are working hard to provide you with a free firewall distribution - that is like no other. We release updates regularly and enhance functionality - to make IPFire more secure, faster and easier to use. -

+

+ At IPFire, we are working hard to provide you with a free firewall distribution + that is like no other. We release updates regularly and enhance functionality + to make IPFire more secure, faster and easier to use. +

-

- To achieve our high standards that we have set for ourselves, we need your help. +

+ To achieve our high standards that we have set for ourselves, we need your help. - Only with your donation, we can get the right tools, people and utilities that - we need to make our work most efficient and reach our maximum potential. + Only with your donation, we can get the right tools, people and utilities that + we need to make our work most efficient and reach our maximum potential. - Only with your donation, we can achieve our vision to make the Internet a safer - place that is fair for everyone and giving equal opportunities. -

+ Only with your donation, we can achieve our vision to make the Internet a safer + place that is fair for everyone and giving equal opportunities. +

-
How much should I give?
+
How much should I give?
-

- We are grateful for every single donation, but of course, we appreciate - if you help us as much as you can. -

+

+ We are grateful for every single donation, but of course, we appreciate + if you help us as much as you can. +

-

- We rely on steady contributions from companies to keep the project healthy - and encourage them to set up a monthly donation. -

+

+ We rely on steady contributions from companies to keep the project healthy + and encourage them to set up a monthly donation. +

-
-
Frequently Asked Questions
+
+
Frequently Asked Questions
-

- - Do you accept bank transfer via SEPA? - -

+

+ + Do you accept bank transfer via SEPA? + +

-
-

- We do accept direct transfers through SEPA. These are our bank details: -

+
+

+ We do accept direct transfers through SEPA. These are our bank details: +

-
-
IBAN
-
DE76 3605 0105 1010 8206 84
+
+
IBAN
+
DE76 3605 0105 1010 8206 84
-
BIC
-
SPESDE3EXXX
-
-
+
BIC
+
SPESDE3EXXX
+ +
-

- - Why do you need my address in order to process a donation? - -

+

+ + Why do you need my address in order to process a donation? + +

-
-

- We understand that your privacy is very important. -

+
+

+ We understand that your privacy is very important. +

-

- We ask for a minimum amount of information required to process - credit card donations, including billing addresses. - This allows our payment processor to verify your identity, - process your payment, and prevent fraudulent charges to your credit card. -

+

+ We ask for a minimum amount of information required to process + credit card donations, including billing addresses. + This allows our payment processor to verify your identity, + process your payment, and prevent fraudulent charges to your credit card. +

-

- We keep your information private - if you have questions, please refer to - Lightning Wire Labs' Privacy Policy. -

+

+ We keep your information private - if you have questions, please refer to + Lightning Wire Labs' Privacy Policy. +

-

- If you would rather not fill in your information on our online donation form, - you can send your donation via SEPA bank transfer. -

-
+

+ If you would rather not fill in your information on our online donation form, + you can send your donation via SEPA bank transfer. +

+
-

- - Is my donation tax deductible? - -

+

+ + Is my donation tax deductible? + +

-
-

- IPFire is not registered as a charitable organization and therefore donations - are not tax deductible in Germany or the European Union. -

+
+

+ IPFire is not registered as a charitable organization and therefore donations + are not tax deductible in Germany or the European Union. +

-

- For donors outside of the European Union, please consult your tax advisor - about whether your donation is tax deductible. -

-
+

+ For donors outside of the European Union, please consult your tax advisor + about whether your donation is tax deductible. +

+
-

- - How do I cancel or change my recurring donation? - -

+

+ + How do I cancel or change my recurring donation? + +

-
-

- Your credit card statements or bank statements will contain a link - that you can follow to cancel your donation at any time. -

-
+
+

+ Your credit card statements or bank statements will contain a link + that you can follow to cancel your donation at any time. +

+
-

- - Who can I email directly with questions about donating? - -

+

+ + Who can I email directly with questions about donating? + +

-
-

- If you have a question about donating to the IPFire Project, - please contact us at donate@ipfire.org. -

+
+

+ If you have a question about donating to the IPFire Project, + please contact us at donate@ipfire.org. +

+
+
diff --git a/src/web/donate.py b/src/web/donate.py index 0da90709..22536104 100644 --- a/src/web/donate.py +++ b/src/web/donate.py @@ -37,7 +37,7 @@ class DonateHandler(base.BaseHandler): if not frequency in ("one-time", "monthly"): frequency = "one-time" - self.render("donate.html", countries=iso3166.countries, + self.render("donate/donate.html", countries=iso3166.countries, country=country, amount=amount, currency=currency, frequency=frequency) @tornado.gen.coroutine -- 2.39.2