-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathinner_donation.html
340 lines (329 loc) · 11.7 KB
/
inner_donation.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>inner-donation</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="inner-donation-styles.css">
</head>
<body>
<section>
<div id="payment-holder">
<h1 class="accessibility">Set up your payment</h1>
<div id="title-payment">
<div id="title-currency">
<h2>Select Currency</h2>
</div>
<div id="title-choose"
style="display: none;"
>
<h2>Choose how to donate below</h2>
</div>
<div id="title-kindlink"
style="display: none;"
>
<p></p>
<img src="https://www.kindlink.com/img/kindlink-logo.svg" alt="Kindlink"/>
</div>
<div id="title-paypal"
style="display: none;"
>
<p></p>
<img src="https://www.paypalobjects.com/webstatic/en_US/i/buttons/PP_logo_h_100x26.png" alt="PayPal"/>
</div>
<div id="title-bank-transfer"
style="display: none;"
>
<h2>Bank Transfer (UK only)</h2>
</div>
<div id="title-cheque"
style="display: none;">
<h2>Cheque (UK only)</h2>
</div>
</div>
<div id="content-selector">
<div id="currency-selector">
<div class="d-inline">
<fieldset class="donation-fieldset">
<legend class="accessibility">Currencies</legend>
<div class="d-inline-selection">
<input type="radio" id="gb-pounds" name="drone" value="gb-pounds" checked>
<label for="gb-pounds">UK Pound (£)</label>
</div>
<div class="d-inline-selection">
<input type="radio" id="au-dollars" name="drone" value="au-dollars">
<label for="au-dollars">Australian Dollar ($)</label>
</div>
<div class="d-inline-selection">
<input type="radio" id="us-dollars" name="drone" value="us-dollars">
<label for="us-dollars">US Dollar ($)</label>
</div>
<div class="d-inline-selection">
<input type="radio" id="c-dollars" name="drone" value="c-dollars">
<label for="c-dollars">Canadian Dollar ($)</label>
</div>
<div class="d-inline-selection">
<input type="radio" id="euro" name="drone" value="euro">
<label for="euro">Euro (€)</label>
</div>
<div class="d-inline-selection">
<input type="radio" id="nz-dollars" name="drone" value="nz-dollars">
<label for="nz-dollars">NZ Dollar ($)</label>
</div>
</fieldset>
</div>
<div><button id="next-button" type="submit">Next</button></div>
</div>
<div
id="gb-pounds-provider-selector"
style="display: none;"
>
<div>
<button
id="kindlink-button"
data-provider="kindlink"
style="margin-bottom: 10px;"
>
Donate by Card
</button>
</div>
<div>
<button data-provider="paypal"
style="margin-bottom: 10px;"
>
PayPal
</button>
</div>
<div>
<button data-provider="bank-transfer"
style="margin-bottom: 10px;"
>
Bank Transfer
</button>
</div>
<div>
<button data-provider="cheque"
style="margin-bottom: 5px;"
>
Cheque
</button>
</div>
</div>
<div
id="us-dollars-provider-selector"
style="display: none;
padding: 15%;"
>
<h3 style="padding-bottom: 2%">US Dollar ($)</h3>
<p>Opens in a new tab</p>
<form action="https://www.paypal.com/donate" method="post" target="_blank">
<input type="hidden" name="hosted_button_id" value="JKB65FJGRATHS" />
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif"
name="submit" title="PayPal - The safer, easier way to pay online!" alt="Donate with PayPal button"
/>
<img alt="paypal" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1" />
</form>
</div>
<div id="c-dollars-provider-selector"
style="display: none;
padding: 15%;"
>
<p>Links open in a new tab</p>
<h3 style="padding-bottom: 2%">Canadian Dollar ($) - English</h3>
<form action="https://www.paypal.com/donate" method="post" target="_blank">
<input type="hidden" name="hosted_button_id" value="3XMXJ8NHXLZR8" />
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif"
name="submit" title="PayPal - The safer, easier way to pay online!" alt="Donate with PayPal button"
/>
<img alt="" src="https://www.paypal.com/en_CA/i/scr/pixel.gif" width="1" height="1" />
</form>
<h3 style="padding-bottom: 2%">Canadian Dollar ($) - French</h3>
<form action="https://www.paypal.com/donate" method="post" target="_blank">
<input type="hidden" name="hosted_button_id" value="G5GD3T86WYPPW" />
<input type="image" src="https://www.paypalobjects.com/fr_CA/i/btn/btn_donateCC_LG.gif" name="submit" title="PayPal - The safer, easier way to pay online!" alt="Donate with PayPal button" />
<img alt="" src="https://www.paypal.com/fr_CA/i/scr/pixel.gif" width="1" height="1" />
</form>
</div>
<div id="au-dollars-provider-selector"
style="display: none;
padding: 15%;"
>
<h3 style="padding-bottom: 2%">Australian Dollar ($)</h3>
<p>Opens in a new tab</p>
<form action="https://www.paypal.com/donate" method="post" target="_blank">
<input type="hidden" name="hosted_button_id" value="VKBJ5SAZRT3HW" />
<input type="image" src="https://www.paypalobjects.com/en_AU/i/btn/btn_donateCC_LG.gif"
name="submit" title="PayPal - The safer, easier way to pay online!" alt="Donate with PayPal button"
/>
<img alt="" src="https://www.paypal.com/en_AU/i/scr/pixel.gif" width="1" height="1" />
</form>
</div>
<div id="nz-dollars-provider-selector"
style="display: none;
padding: 15%;"
>
<h3 style="padding-bottom: 2%">NZ Dollar ($)</h3>
<p>Opens in a new tab</p>
<form action="https://www.paypal.com/donate" method="post" target="_blank">
<input type="hidden" name="hosted_button_id" value="83G6ZDU5V8HZ4" />
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif"
name="submit" title="PayPal - The safer, easier way to pay online!" alt="Donate with PayPal button"
/>
<img alt="" src="https://www.paypal.com/en_NZ/i/scr/pixel.gif" width="1" height="1" />
</form>
</div>
<div id="euro-provider-selector"
style="display: none;
padding: 15%;"
>
<h3 style="padding-bottom: 2%">Euro (€)</h3>
<p>Opens in a new tab</p>
<form action="https://www.paypal.com/donate" method="post" target="_blank">
<input type="hidden" name="hosted_button_id" value="GXWGGPW8QNMLL" />
<input type="image" src="https://www.paypalobjects.com/en_US/FR/i/btn/btn_donateCC_LG.gif"
name="submit" title="PayPal - The safer, easier way to pay online!" alt="Donate with PayPal button"
/>
<img alt="" src="https://www.paypal.com/en_FR/i/scr/pixel.gif" width="1" height="1" />
</form>
</div>
</div>
<div id="content-destination">
<div id="break-container" style="display: none;">
<hr style="width: 90%">
</div>
<div id="content-default">
</div>
<div
id="content-kindlink"
style="display: none;"
>
<div class="offsite">
<div>
<p>Donate by Card via</p>
<a href="https://donate.kindlink.com/free-uk-genealogy/3553" target="_blank">
<button id="kindlink-offsite-button" tabindex="-1">
<img src="https://www.kindlink.com/img/kindlink-logo.svg" alt="kindlink button">
</button>
</a>
</div>
</div>
</div>
<div
id="content-paypal"
style="display: none;"
>
<div class="offsite">
<p style="margin-bottom: 10%">Donate via PayPal</p>
<form action="https://www.paypal.com/donate" method="post" target="_blank">
<input type="hidden" name="hosted_button_id" value="MBP798XKMCCP4" />
<input
type="image"
src="https://www.paypalobjects.com/en_US/GB/i/btn/btn_donateCC_LG.gif"
name="submit" title="PayPal - The safer, easier way to pay online!"
alt="Donate with PayPal button"
/>
<img alt="paypal" src="https://www.paypal.com/en_GB/i/scr/pixel.gif" width="1" height="1" />
</form>
</div>
</div>
<div
id="content-bank-transfer"
style="display: none;"
>
<div>
<p>
Funds can be transferred directly to Free UK Genealogy's bank account using internet banking.
</p>
<h2>
Account Details
</h2>
<div class="transfer-list">
<ul style="list-style: none">
<li>Sort Code: 40-52-40</li>
<li>Account Number: 00025629</li>
<li>Account Name: Free UK Genealogy</li>
</ul>
</div>
</div>
</div>
<div
id="content-cheque"
style="display: none;"
>
<div>
<p>Cheques made payable to Free UK Genealogy can be sent to: </p>
<div class="address-list">
<ul
style="list-style-type: none;
padding-left: 25%;
">
<li>Free UK Genealogy</li>
<li>Erw Wen, Harford,</li>
<li>Llanwrda,</li>
<li>Carmarthenshire</li>
<li>SA19 8DT,</li>
<li>United Kingdom</li>
</ul>
</div>
</div>
</div>
<div
id="giftaid-eligible"
style="display: none;
line-height: 0.5;"
>
<p>Increase your donation by 25%.</p>
<p><a
href="https://www.gov.uk/donating-to-charity/gift-aid"
target="_blank"
>Find out</a> if you can Gift Aid your</p>
<p>donation.</p>
</div>
<div id="giftaid-option"
style="display: none;
padding: 5px;">
<div class="d-inline">
<fieldset class="donation-fieldset">
<div>
<input type="radio" id="with-giftaid-transfer" name="ga-selector" value="giftaid" checked>
<label for="with-giftaid-transfer">Donate with Gift Aid</label>
</div>
<div>
<input type="radio" id="without-giftaid-transfer" name="ga-selector" value="without">
<label for="without-giftaid-transfer">Donate without Gift Aid</label>
</div>
</fieldset>
</div>
</div>
<div id="giftaid-form"
style="display: none;"
>
<iframe
id="form-iframe"
src="https://docs.google.com/forms/d/e/1FAIpQLSdNF3GT1vXZjwNocEDbiWUpvtsVAhxzWNbbDLQ9LreH5DiA1g/viewform?embedded=true"
width="280"
height="400"
>Loading…</iframe>
</div>
</div>
<div id="redirect-next"
style="display: none;"
>
<a href="https://wp1.freeukgen.org.uk/thank-you" target="_blank"><button class="next-redirect-button">Next</button></a>
</div>
<div id="giftaid-next"
style="display: none;"
>
<button class="next-giftaid-button">Next</button>
</div>
<div id="prev-container"
style="display: none;">
<div>
<button class="previous">Previous</button>
</div>
</div>
</div>
</section>
<script src="./inner-donation.js"></script>
</body>
</html>