-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Copies over approach from mysociety.org - Requires new recapacha keys in config - Create new stub pages for thanks/failed in twfy.
- Loading branch information
Showing
14 changed files
with
682 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Something went wrong with your donation | ||
|
||
If you’d like to carry on with your donation, [please try again](/support-us/). | ||
|
||
Or [return to TheyWorkForYou](/). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Thank you for supporting TheyWorkForYou and mySociety | ||
|
||
Working with people across the country, we can make how British politics works more understandable and transparent, and empower people working to make better decisions. We want to be a lever, that we operate on behalf of our fellow citizens, to shift how politics works. | ||
|
||
Your support is about helping us rise to meet the challenges we face, to make TheyWorkForYou and our other services equal to the challenges of the next twenty years. | ||
|
||
We’ll [put your donation to good use](/support-us/#why-does-mysociety-need-donations-for-these-sites)- thank you for your help. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
.donate-form { | ||
label { | ||
font-size: 1em; | ||
color: inherit; | ||
} | ||
|
||
input#full-name { | ||
max-width: 25em; | ||
margin-top: 1em; | ||
} | ||
} | ||
|
||
.donate-form__error-wrapper { | ||
color: #e04b4b; | ||
} | ||
|
||
.donate-form .fat-radio-buttons, | ||
.how-much-other-value, | ||
.donate-giftaid__label, | ||
.donate-fullname { | ||
margin: 1em 0 1.5em 0; | ||
} | ||
|
||
.fat-radio-buttons { | ||
display: flex; | ||
flex-wrap: wrap; | ||
gap: 1em; | ||
|
||
.inline-radio-label { | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
margin: 0; | ||
padding: 0.75em 1em; | ||
border: 1px solid #ccc; | ||
border-radius: 3px; | ||
|
||
input { | ||
margin-bottom: 0; | ||
margin-right: 0.5em; | ||
} | ||
} | ||
|
||
.radio-label-large { | ||
font-size: 1.75rem; | ||
font-weight: 600; | ||
} | ||
} | ||
|
||
.how-much-other-value { | ||
.row.collapse { | ||
max-width: 10em; | ||
margin: 1em 0 0 0; | ||
} | ||
|
||
input { | ||
margin-bottom: 0; | ||
} | ||
} | ||
|
||
.donate-giftaid__label { | ||
position: relative; | ||
padding: 1em 1em 1em 2.5em; | ||
border: 1px solid #ccc; | ||
border-radius: 3px; | ||
|
||
input { | ||
position: absolute; | ||
top: 1.2em; | ||
left: 1.2em; | ||
} | ||
|
||
small { | ||
display: block; | ||
line-height: 1.3; | ||
margin-top: 0.5em; | ||
font-size: 0.75em; | ||
text-transform: none; | ||
} | ||
} | ||
|
||
.donate-submit { | ||
p small { | ||
color: #666; | ||
font-size: 0.75em; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?php | ||
include_once '../../includes/easyparliament/init.php'; | ||
|
||
use MySociety\TheyWorkForYou\Renderer\Markdown; | ||
|
||
$markdown = new Markdown; | ||
$markdown->markdown_document('support-us-failed', false); | ||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?php | ||
include_once '../../includes/easyparliament/init.php'; | ||
|
||
use MySociety\TheyWorkForYou\Renderer\Markdown; | ||
|
||
$markdown = new Markdown; | ||
$markdown->markdown_document('support-us-thanks', false); | ||
?> |
Oops, something went wrong.