-
Notifications
You must be signed in to change notification settings - Fork 0
/
contact.html
233 lines (224 loc) · 8.87 KB
/
contact.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Index</title>
<link href="https://fonts.googleapis.com/css?family=Raleway" rel="stylesheet">
<link rel="stylesheet" href="./css/webfont/css/fontawesome-all.min.css">
<link rel="stylesheet" href="./css/bootstrap.min.css">
<link rel="stylesheet" href="./css/style.css">
</head>
<body>
<!-- Image and text -->
<nav class="navbar navbar-dark bg-dark navbar navbar-expand-lg ">
<a class="navbar-brand " href="#">
<img src="./img/logo.png" width="30" height="30" class="d-inline-block align-top" alt="">
JACKS
</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 s" id="navbarNav">
<ul class="navbar-nav ml-auto navbar-right text-center">
<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">Our Story <span class="sr-only">(current)</span></a>
</li>
<li class="nav-item">
<a class="nav-link" href="order.html">Menu</a>
</li>
<li class="nav-item">
<a class="nav-link" href="reserve.html">Reserve</a>
</li>
<li class="nav-item active">
<a class="nav-link" href="contact.html">Contact</a>
</li>
</ul>
</div>
</nav>
<div class="container about mt-5 mb-5 p-5 bg-white">
<div class="text-center p-5">
<img src="./img/logo-i.png" alt="" height="150px">
</div>
<h1 class="title text-center">Contact</h1>
<div class="container">
<h4>Jacks</h4>
<div class="container">
<iframe src="http://maps.google.com?q=Bangalore&output=embed" style="border:0" allowfullscreen="" frameborder="0" height="250" width="100%"></iframe>
</div>
<strong>Contact</strong><br><strong>Office:</strong> 123456789
<hr>
</div>
<div class="container">
<div class="row">
<div class="col-12 col-md-6">
<form role="form" id="cform" method="POST">
<div class="form-group">
<label class="control-label" for="Name">Name</label>
<input type="text" required class="form-control" id="Name" name="Name" placeholder="Enter your Name" required autofocus />
</div>
<div class="form-group">
<label class="control-label" for="Reason">Reason for Contact</label>
<select name="Motivo" class="form-control" required>
<option value="Consulta General">General</option>
<option value="Realizar Pedido">Enquiry</option>
<option value="Informe un problema">Feedback</option>
</select>
</div>
<div class="form-group">
<label class="control-label" for="email">Contact Mail Address</label>
<input required type="email" class="form-control" id="email" name="email" placeholder="Enter Email Address..." required />
</div>
<div class="form-group">
<label class="control-label" for="Message">Message</label>
<textarea required rows="5" cols="30" class="form-control" id="Message" name="Message" placeholder="Enter Message" required ></textarea>
</div>
<div class="form-group">
<input type="submit" class="btn btn-dark" value="Send">
<input type="reset" class="btn btn-default" value="Reset">
</div>
<div id="respuesta" style="display: none;"></div>
</form>
</div>
<div class="col-12 col-md-6 text-md-right">
<h3 class="text-center text-md-right">Physical Address</h3>
<p>First 2nd Street
<br>Third 4th Block
<br>Sqaure Box Area
</p>
<p>
<a href="tel:09876543210">098 7654 3210</a>
</p>
<p>
<a href="mailto:[email protected]">[email protected]</a>
</p>
</div>
</div>
</div>
</div>
<style media="screen">
.warn{
border: 1px solid red;
}
.warn:focus {
color: #495057;
background-color: #fff;
border-color: #da0c20;
outline: 0;
box-shadow: 0 0 0 0.2rem rgba(255, 24, 0, 0.25);
}
.form-group {
position: relative;
}
.form-group .warn + .form-group:after {
position: absolute;
content: 'Invalid Input';
right: 0;
background: #495057;
top: 0;
color: #fff;
padding: 1px 5px;
}
</style>
<div class="footer">
<div class="container-fluid">
<div class="row">
<div class="col-xs-12 col-md-4 text-xs-left">
<h3 class="text-center text-lg-left">Make a booking</h3>
<div class="">
<a class="btn btn-lg btn-light" href="reserve.html">Reserve Table</a>
</div>
<p class="m-t-1"></p>
<h6></h6>
<h6>We hold back our high tables for walk-in guests, every day</h6>
<small>For groups over 8, events and private hire, please contact us <a href="#" class="green">HERE</a>.</small>
<p></p>
</div>
<div class="col-xs-12 col-md-4">
<h3 class="text-center text-lg-center"> Opening times</h3>
<p>Bar: Open till late </p>
<p>Monday-Friday: 08.00 — 22.30 </p>
<p>Saturday: 10.00 — 22.30 </p>
<p>Sunday: 10.00 — 16.00</p>
<h6>On bank holidays we're open for brunch 10am-4pm. Or pop in for our All Day Dining menu between 5pm-10:30pm</h6>
<p><small></small>
</p>
</div>
<div class="col-xs-12 col-md-4 text-md-right text-lg-right">
<h3 class="text-center text-lg-right">Contact</h3>
<p>First 2nd Street
<br>Third 4th Block
<br>Sqaure Box Area
</p>
<p><a href="https://maps.google.com" target="_blank" class="green">View map</a>
</p>
<p>
<a href="tel:09876543210">098 7654 3210</a>
</p>
<p>
<a href="mailto:[email protected]">[email protected]</a>
</p>
<p>
<a href="https://www.facebook.com//" target="_blank"><i class="fab fa-facebook text-dark fa-2x"></i></a>
<a href="https://www.instagram.com//" target="_blank"><i class="fab fa-instagram text-dark fa-2x"></i></a>
</p>
</div>
</div>
<div class="container mt-3 text-dark">
<ul class="nav justify-content-center">
<li class="nav-item active">
<a class="nav-link" href="about.html">Our Story <span class="sr-only">(current)</span></a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Menu</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Contact</a>
</li>
<li class="nav-item">
<a class="nav-link" href="privacy.html">Privacy</a>
</li>
</ul>
</div>
<div class="row">
<div class="col mt-2 mb-4 text-center">
<p class="f-logo">
<span><img src="./img/logo-i.png" height="100px" alt="" ></br></span>
<h6 class="f-text">JACKS</h6>
</p>
</div>
</div>
</div>
</div>
<script src="./js/jquery.min.js" charset="utf-8"></script>
<script type="text/javascript">
jQuery(document).ready(function () {
$("#email").on('input',function (ev) {
//em = /\S+@\S+\.\S+/g;
em = /^([a-zA-Z0-9_\-\.]+)@([a-zA-Z0-9_\-\.]+)\.([a-zA-Z]{2,5})$/g;
if(em.test($(this).val())){
$(this).removeClass('warn');
}else{
$(this).addClass('warn');
}
})
$('#Name').on('input', function (ev) {
p = /\d/g;
if(p.test($(this).val())){
$(this).addClass('warn');
}else{
$(this).removeClass('warn');
}
});
$('#cform').on('submit', function (e) {
e.preventDefault();
console.log(e);
});
})
</script>
<script src="./js/popper.js" charset="utf-8"></script>
<script src="./js/bootstrap.min.js" charset="utf-8"></script>
</body>
</html>