-
Notifications
You must be signed in to change notification settings - Fork 1
/
feedback_form.html
169 lines (157 loc) · 7.98 KB
/
feedback_form.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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Contact Our Teams</title>
<style type="text/css">
button {
background-color: #8E3A2B;
color: #fff;
border: none;
padding: 5px 10px;
cursor: pointer;
}
</style>
<link rel="stylesheet" href="css/form-validation.css">
<link rel="stylesheet" href="css/default.css">
<link rel="stylesheet" href="css/bootstrap.css">
<link rel="stylesheet" href="css/feedback_form.css">
<link rel="stylesheet" href="css/main.css">
</head>
<header>
<div class="d-flex flex-column flex-md-row align-items-center p-3 px-md-4 mb-3 top-nav">
<h5 class="my-0 mr-md-auto font-weight-normal logo">BBFC</h5>
<nav class="my-2 my-md-0 mr-md-3">
<a class="p-2" href="main.html">Home</a>
<a class="p-2" href="menu_combo.html">Menu</a>
<a class="p-2" href="story.html">Story</a>
<a class="p-2" href="feedback_form.html">Contact Us</a>
<a class="p-2 cart-link" href="cart.html"><svg xmlns="http://www.w3.org/2000/svg"
class="bi bi-cart-check-fill" viewBox="0 0 16 16">
<path
d="M.5 1a.5.5 0 0 0 0 1h1.11l.401 1.607 1.498 7.985A.5.5 0 0 0 4 12h1a2 2 0 1 0 0 4 2 2 0 0 0 0-4h7a2 2 0 1 0 0 4 2 2 0 0 0 0-4h1a.5.5 0 0 0 .491-.408l1.5-8A.5.5 0 0 0 14.5 3H2.89l-.405-1.621A.5.5 0 0 0 2 1zM6 14a1 1 0 1 1-2 0 1 1 0 0 1 2 0m7 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0m-1.646-7.646-3 3a.5.5 0 0 1-.708 0l-1.5-1.5a.5.5 0 1 1 .708-.708L8 8.293l2.646-2.647a.5.5 0 0 1 .708.708" />
</svg></a>
<a class="p-2" href="track_order.html">Track Order</a>
</nav>
<a class="p-2" id="login-link" href="logIn.html">Log In</a>
<div id="user-dropdown" class="dropdown-content" style="display:none;">
<a id="details" href="customerDetails.html">Information</a>
<a id="sign-out" href="#">Sign Out</a>
</div>
</div>
</header>
<body class="p-3 m-0 border-0 bd-example m-0 border-0">
<div class="feedback-container container-fluid">
<h1>Contact Our Teams!</h1>
<div class="row">
<div class="feedback-form col-md-12">
<div class="row">
<div class="col-4">
<h2>Feedback Form</h2>
<p class="yellow">Please provide as much information that is relevant to the issues as possible.
</p>
</div>
<div class="col-4">
</div>
<div class="col-4">
<div class="toast toast-success" id="successToast" role="alert" aria-live="assertive"
aria-atomic="true" data-delay="2000">
<div class="toast-header">
<strong class="mr-auto">Success</strong>
<button type="button" class="ml-2 mb-1 close" data-dismiss="toast" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="toast-body">
Operation completed successfully!
</div>
</div>
</div>
<form id="feedbackFrom" style="margin-left: 10px">
<div class="form-group">
<h3>General Information</h3>
<div class="input-width-short">
<div class="input-group">
<label for="name" class="font-small">Name</label>
<input type="text" id="name" name="name" placeholder="John Doe">
</div>
<div class="input-group">
<label for="tel" class="font-small">Phone Number(+60)</label>
<input type="tel" id="tel" name="tel" placeholder="601234567">
</div>
<div class="input-group">
<label for="email" class="font-small">Email</label>
<input type="email" id="email" name="email" placeholder="[email protected]">
</div>
</div>
</div>
<!--custoemr rating-->
<div class="form-group">
<h3>How you satisfied our service?</h3>
<div class="rating">
<input type="radio" id="star1" name="rating" value="1"><label for="star1">★</label>
<input type="radio" id="star2" name="rating" value="2"><label for="star2">★★</label>
<input type="radio" id="star3" name="rating" value="3"><label for="star3">★★★</label>
<input type="radio" id="star4" name="rating" value="4"><label for="star4">★★★★</label>
<input type="radio" id="star5" name="rating" value="5"><label for="star5">★★★★★</label>
</div>
</div>
<div class="form-group input-width-long">
<label class="font-small">Message</label>
<textarea id="message" name="message" placeholder="Leave your message here..."></textarea>
</div>
<div class="button-right">
<div class="form-group">
<button type="reset" id="reset"><b>RESET</b></button>
<button type="button" id="submit"><b>Submit</b></button>
</div>
</div>
</form>
</div>
</div>
</div>
<!-- 模态框结构 -->
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"
aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="myModalLabel">Error!</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
Please fill out all fields.
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
</div>
<footer class="container-fluid">
<div class="subscribe">
<h3>Subscribe to BBFC Email</h3>
<p>Get amazing deals and updates from our product, sent straight to your inbox!</p>
<br>
<input type="email" placeholder="Email Address">
<button>Subscribe</button>
</div>
<br>
<div class="smlogo">
<img src="images/fb.png" alt="logo" />
<img src="images/twitter.png" alt="logo" />
<img src="images/insta.png" alt="logo" />
</div>
</footer>
</body>
<script src="./js/jquery-3.7.1.js"></script>
<script src="./js/bootstrap.js"></script>
<script src="./js/axios.js"></script>
<script src="./js/AjaxHelper.js"></script>
<script src="./js/feedback.js"></script>
<script src="./js/customer.js"></script>
</html>