-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdonate-type.html
More file actions
281 lines (251 loc) · 9.25 KB
/
Copy pathdonate-type.html
File metadata and controls
281 lines (251 loc) · 9.25 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
<meta name="description" content="" />
<meta name="author" content="" />
<title>FoodFerry - Donate</title>
<!-- Favicon-->
<link rel="icon" type="image/x-icon" href="assets/favicon.ico" />
<!-- Bootstrap icons-->
<link href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.4.1/font/bootstrap-icons.css" rel="stylesheet" />
<!-- Font Awesome -->
<script src="https://kit.fontawesome.com/f20ebef500.js" crossorigin="anonymous"></script>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
<!-- Core theme CSS (includes Bootstrap)-->
<link href="css/home-nav.css" rel="stylesheet" />
<link href="css/donate.css" rel="stylesheet" />
</head>
<!-- Responsive navbar and header-->
<header>
<nav class="navbar navbar-expand-md navbar-dark fixed-top">
<div class="container-fluid">
<a class="navbar-brand px-3 fw-bolder fs-2" href="./index.html" style="color:#7ED7D3">FoodFerry</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarCollapse"
aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse fs-5 fw-bold px-3" id="navbarCollapse">
<ul class="navbar-nav me-auto mb-2 mb-md-0">
<li class="nav-item">
<a class="nav-link" aria-current="page" href="./dashboard.html">Dashboard</a>
</li>
<li class="nav-item">
<a class="nav-link active" href="donate-details.html">Donate</a>
</li>
<li class="nav-item">
<a class="nav-link" href="history.html">History</a>
</li>
<li class="nav-item">
<a class="nav-link" href="./partners.html">Our Partners</a>
</li>
<!-- <li>
<input type="text" class="form-control mx-3" placeholder="Search">
</li> -->
</ul>
<ul class="navbar-nav mb-2 mb-md-0">
<!-- Notifications-->
<li>
<!-- Notifications button -->
<button id="notifDropdownBtn" class="btn dropdown-toggle navIcon" type="button"
data-bs-toggle="dropdown" aria-expanded="false">
<i class="bi bi-bell-fill fs-4"></i>
</button>
<!-- Notification dropdown -->
<ul class="dropdown-menu" id="notifDropdownList">
<li><a href="./dashboard.html" id="navDropdownItemEmpty">
<div class="mb-0 mx-3 my-0 text-left text-muted">
You have no new notifications.
</div>
</a></li>
</ul>
</li>
<!-- User settings -->
<li>
<!-- User button-->
<button id="userDropdownBtn" class="btn dropdown-toggle navIcon" type="button"
data-bs-toggle="dropdown" aria-expanded="false">
<i class="bi bi-person-fill fs-4"></i>
</button>
<!-- User dropdown -->
<ul class="dropdown-menu" id="userDropdownList">
<li class="navDropdownListItem"><a href="./profile.html" class="navDropdownItem">
User Profile</a></li>
<li class="navDropdownListItem"><a href="./settings.html" class="navDropdownItem">
Settings</a></li>
<li>
<hr class="dropdown-divider">
</li>
<li class="navDropdownListItem"><a href="./index.html" class="navDropdownItem">
Log Out</a></li>
</ul>
</li>
</ul>
</div>
</div>
</nav>
</header>
<div class="container-md mt-5">
<div class="row ">
<!-- Form page 1 food category selection -->
<div class="col-sm-12 text-center p-0 mt-3 mb-2">
<div class="card px-0 pt-4 pb-0 my-3">
<!-- Form Title [remain constant] -->
<h2 class="mb-4 fs-1"><strong>Donate Food Waste</strong></h2>
<div class="row">
<div class="col-md-12">
<form class="needs-validation" id="pickUpForm" novalidate>
<!-- Progress Bar -->
<ul id="progressbar" class='p-0'>
<li class="active" id="food-details">
<strong>Donation Details</strong>
</li>
<li class="active" id="pick-up">
<strong>Pick Up</strong>
</li>
<li class="active" id="type">
<strong>Donation Type</strong>
</li>
<li id="availability">
<strong>Availability</strong>
</li>
<li id="confirmation">
<strong>Confirmation</strong>
</li>
</ul>
<!-- Step 3 Donation Type -->
<fieldset class="step step3">
<div class="row mx-2 mb-3 justify-content-center">
<h1 class="fs-3 mb-3"><strong>Select Food Donation Type</strong></h1>
<div class="col col-lg-6 col-md-10">
<div class="card mb-3">
<div class="card-body p-5">
<div class="mb-3">
<span class="display-6 fw-bold">
<i class="bi bi-building"></i>
Long-Term Donation</span>
</div>
<ul class="list-unstyled mb-4">
<li class="text-muted">
<i class="bi bi-check text-primary"></i>
<strong>1 to 5 years</strong>
</li>
<li class="text-muted">
<i class="bi bi-check text-primary"></i>
Priority in receiving pickups
</li>
<li class="text-muted">
<i class="bi bi-check text-primary"></i>
Regular schedule of donations
</li>
</ul>
<div class="d-grid mb-2">
<a class="btn btn-success next-btn" href="#!">Select</a>
</div>
</div>
</div>
</div>
<div class="col col-lg-6 col-md-10">
<div class="card mb-3">
<div class="card-body p-5">
<div class="mb-3">
<span class="display-6 fw-bold">
<i class="bi bi-basket"></i>
Short-Term Listing</span>
</div>
<ul class="list-unstyled mb-4">
<li class="text-muted">
<i class="bi bi-check text-primary"></i>
<strong>One time donation.</strong>
</li>
<li class="text-muted">
<i class="bi bi-check text-primary"></i>
Fastest way to donate food.
</li>
<li class="text-muted">
<i class="bi bi-check text-primary"></i>
Ad-Hoc.
</li>
</ul>
<div class="d-grid mb-2">
<btn class="btn btn-success"
onclick="location.href='donate-availability.html'">Select</btn>
</div>
</div>
</div>
</div>
</div>
<!-- buttons -->
<div class="row mx-2 mb-4 justify-content-center">
<div class="col-lg-12 col-sm-12 d-grid mb-2">
<button onclick="prevBtn()" type="button"
class="btn btn-light btn-lg prev-btn border-success">
Previous
</button>
</div>
</div>
</fieldset>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Modal -->
<div class="modal fade" id="removeItemModal1" tabindex="-1" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLabel">Remove Item</h5>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
Are you sure you want to remove item?
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
<button type="button" class="btn btn-danger" onclick="removeItem(donationItem1)"
data-bs-dismiss="modal">Remove</button>
</div>
</div>
</div>
</div>
<div class="modal fade" id="removeItemModal2" tabindex="-1" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLabel">Remove Item</h5>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
Are you sure you want to remove item?
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
<button type="button" class="btn btn-danger" onclick="removeItem(donationItem2)"
data-bs-dismiss="modal">Remove</button>
</div>
</div>
</div>
</div>
<!-- Bootstrap and Propper core JS-->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js"
integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous">
</script>
<!-- Core theme JS-->
<!-- <script src="/js/scripts.js"></script> -->
<script>
//get contact details from session
console.log(sessionStorage.getItem('pickUpDetails'));
//Previous button
function prevBtn() {
window.location.href = "donate-delivery.html"
}
// document.getElementById("food-data-add-btn").addEventListener("click")
</script>
<script src="//cdn.loop11.com/embed.js" type="text/javascript" async="async"></script>
</body>
</html>