forked from apu52/Travel_Website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
feed.html
207 lines (193 loc) · 6.69 KB
/
feed.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Tour Feedback Form</title>
<link rel="stylesheet" href="feed.css" />
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.1/css/all.min.css"
/>
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@10"></script>
<script src="feed.js" defer></script>
<script
src="https://kit.fontawesome.com/b08b6de27e.js"
crossorigin="anonymous"
></script>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"
/>
</head>
<body>
<div class="container">
<form method="post" id="feedback-form">
<div class="row-mb-3">
<div class="col-md-12">
<h2>Tour Feedback Form</h2>
</div>
</div>
<div class="row mb-3">
<div class="col-md-6">
<div class="icon"><i class="fas fa-map-marked-alt"></i></div>
<input
type="text"
name="event_name"
placeholder="Name the tour you attended:"
id="event_name"
class="form-control"
required
/>
</div>
<div class="col-md-6">
<div class="icon"><i class="fas fa-calendar-alt"></i></div>
<input
type="date"
class="form-control"
placeholder="Tour Date:"
name="event_date"
id="event_date"
required
/>
</div>
</div>
<div class="row mb-3">
<div class="col-md-6">
<div class="icon"><i class="fas fa-user"></i></div>
<input
type="text"
name="FullName"
id="FullName"
placeholder="Your Name"
class="form-control"
required
/>
</div>
<br />
<div class="col-md-6">
<div class="icon"><i class="fas fa-envelope"></i></div>
<input
type="email"
class="form-control"
placeholder="Email Id"
name="Email"
id="Email"
required
/>
</div>
</div>
<h3>What's your opinion about:</h3>
<div class="group">
<div class="row mb-3">
<div class="col-md-12">
<label>Ease of navigation?</label>
<div class="d-flex flex-wrap" id="navigationEase" required></div>
<p id="navigationEase-rating-text">Rating: 0</p>
</div>
</div>
<div class="row mb-3">
<div class="col-md-12">
<label>Booking process</label>
<div class="d-flex flex-wrap" id="bookingProcess" required></div>
<p id="bookingProcess-rating-text">Rating: 0</p>
</div>
</div>
<div class="row mb-3">
<div class="col-md-12">
<label>Accuracy of information provided</label>
<div class="d-flex flex-wrap" id="accuracyInformation" required></div>
<p id="accuracyInformation-rating-text">Rating: 0</p>
</div>
</div>
</div>
<h3>How would you rate the following aspects?</h3>
<div class="group">
<div class="row mb-3">
<div class="col-md-12">
<label>Payment options</label>
<div class="d-flex flex-wrap" id="paymentOptions" required></div>
<p id="paymentOptions-rating-text">Rating: 0</p>
</div>
</div>
<div class="row mb-3">
<div class="col-md-12">
<label>Security Measures</label>
<div class="d-flex flex-wrap" id="securityMeasures" required></div>
<p id="securityMeasures-rating-text">Rating: 0</p>
</div>
</div>
<div class="row mb-3">
<div class="col-md-12">
<label>Customer Support</label>
<div class="d-flex flex-wrap" id="customerSupport" required></div>
<p id="customerSupport-rating-text">Rating: 0</p>
</div>
</div>
</div>
<div class="row mb-3">
<div class="col-md-12">
<textarea
name="comments"
class="form-control"
placeholder="Your suggestions for improving future events"
id="comments"
rows="6"
></textarea>
</div>
</div>
<div class="row mb-3">
<div class="col-md-6 d-flex align-items-center">
<button type="submit" class="btn btn-lg px-4">Submit</button>
</div>
</div>
<div class="icons">
<a href="https://www.linkedin.com/in/arpan-chowdhury-775294251/?original_referer=https%3A%2F%2Fin%2Esearch%2Eyahoo%2Ecom%2F&originalSubdomain=in">
<div class="icon">
<i
class="fab fa-linkedin"
title="linkedin"
style="cursor: pointer"
></i>
</div>
</a>
<a href="https://x.com/ArpanCh40193288">
<div class="icon">
<i class="fab fa-twitter" title="X" style="cursor: pointer"></i>
</div>
</a>
<a href="https://www.instagram.com/anuragbasu1973/">
<div class="icon">
<i
class="fab fa-instagram"
title="Instagram"
style="cursor: pointer"
></i>
</div>
</a>
<a href="https://www.youtube.com/@arpanchowdhury53" title="YouTube">
<div class="icon">
<i class="fab fa-youtube" style="cursor: pointer"></i>
</div>
</a>
<a href="https://github.com/apu52" title="GitHub">
<div class="icon">
<i class="fab fa-github" style="cursor: pointer"></i>
</div>
</a>
</div>
</form>
</div><script>
document.addEventListener("DOMContentLoaded", () => { //for date check and preventing future selection
// Get today's date in ISO format (YYYY-MM-DD)
const today = new Date().toISOString().split("T")[0];
// Set min attribute for all date inputs to today's date
const dateInputs = document.querySelectorAll('input[type="date"]');
dateInputs.forEach((input) => {
input.setAttribute("max", today);
});
});
</script>
</body>
</html>