forked from anuragverma108/WildGuard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
donate.html
214 lines (209 loc) · 6.89 KB
/
donate.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Donation Form - Wildguard</title>
<link
rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css"
crossorigin="anonymous"
/>
<link rel="stylesheet" href="../assets/css/donate-form.css" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Oswald:[email protected]&family=Inter:[email protected]&display=swap"
rel="stylesheet"
/>
<script src="https://cdnjs.cloudflare.com/ajax/libs/html2pdf.js/0.9.3/html2pdf.bundle.min.js"></script>
</head>
<body>
<!-- Header -->
<header>
<div class="container">
<nav class="navbar navbar-expand-lg navbar-light">
<a class="navbar-brand" href="#">
<img src="logo.png" alt="" width="50" />
WILDGUARD
</a>
<button
class="navbar-toggler"
type="button"
data-toggle="collapse"
data-target="#navbarNav"
aria-controls="navbarNav"
aria-expanded="false"
aria-label="Toggle navigation"
>
<span class="navbar-toggler-icon"></span>
</button>
<div
class="collapse navbar-collapse justify-content-end"
id="navbarNav"
>
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link" href="index.html">Home</a>
</li>
<li class="nav-item">
<a class="nav-link" href="about.html">About</a>
</li>
<li class="nav-item">
<a class="nav-link active" href="donate.html">Donate</a>
</li>
<li class="nav-item">
<a class="nav-link" href="login.html">Login</a>
</li>
<li class="nav-item">
<a class="nav-link" href="contact.html">Contact</a>
</li>
</ul>
</div>
</nav>
</div>
</header>
<main class="container mt-4">
<div class="form-container shadow-lg">
<h2>Support Wildguard - Donate Today!</h2>
<form id="donationForm">
<div class="form-group">
<label for="donationType">Donation Type:</label>
<select
class="form-control"
id="donationType"
name="donationType"
required
>
<option value="one-time">One-Time Donation</option>
<option value="recurring">Recurring Donation</option>
</select>
</div>
<div class="form-group">
<label for="amount">Donation Amount (USD):</label>
<input
type="number"
class="form-control"
id="amount"
name="amount"
min="1"
placeholder="Enter amount"
required
/>
</div>
<div class="form-group" id="recurringOptions" style="display: none">
<label for="frequency">Choose Frequency:</label>
<select class="form-control" id="frequency" name="frequency">
<option value="monthly">Monthly</option>
<option value="quarterly">Quarterly</option>
<option value="yearly">Yearly</option>
</select>
</div>
<div class="form-group">
<label for="paymentMethod">Payment Method:</label>
<select
class="form-control"
id="paymentMethod"
name="paymentMethod"
required
>
<option value="credit-card">Credit Card</option>
<option value="paypal">PayPal</option>
<option value="bank-transfer">Bank Transfer</option>
</select>
</div>
<div class="form-group">
<label for="name">Full Name:</label>
<input
type="text"
class="form-control"
id="name"
name="name"
placeholder="Enter your full name"
required
/>
</div>
<div class="form-group">
<label for="email">Email Address:</label>
<input
type="email"
class="form-control"
id="email"
name="email"
placeholder="Enter your email"
required
/>
</div>
<div class="form-check">
<input
class="form-check-input"
type="checkbox"
id="anonymous"
name="anonymous"
/>
<label class="form-check-label" for="anonymous">
Donate anonymously
</label>
</div>
<button type="submit" class="btn btn-primary mt-3">
Submit Donation
</button>
</form>
<div
class="donation-summary mt-4"
id="donationSummary"
style="display: none"
>
<h4 class="text-center">Thank You for Your Support!</h4>
<div id="summaryContent" class="card p-4">
<p>
<strong>Type:</strong>
<span id="summary-type"></span>
</p>
<p>
<strong>Amount:</strong>
$
<span id="summary-amount"></span>
</p>
<p id="summaryFrequencyContainer" style="display: none">
<strong>Frequency:</strong>
<span id="summary-frequency"></span>
</p>
<p>
<strong>Payment Method:</strong>
<span id="summary-payment-method"></span>
</p>
<p>
<strong>Name:</strong>
<span id="summary-name"></span>
</p>
<p>
<strong>Email:</strong>
<span id="summary-email"></span>
</p>
<p>
<strong>Anonymous:</strong>
<span id="summary-anonymous"></span>
</p>
</div>
<div class="text-center mt-3">
<button type="button" id="print-button" class="btn btn-success">
Download Receipt
</button>
</div>
</div>
</div>
</main>
<!-- Footer -->
<footer>
<div class="container text-center py-3 footer-content">
<p>© 2024 Wildguard. All rights reserved.</p>
<div class="footer-links">
<a href="privacy.html">Privacy Policy</a>
<a href="terms.html">Terms of Service</a>
</div>
</div>
</footer>
<script src="./assets/js/donate-form.js"></script>
</body>
</html>