-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbook.html
162 lines (120 loc) · 5.79 KB
/
book.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>RUBY - Bookings</title>
<link rel="stylesheet" type="text/css" href="main.css">
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/pikaday/css/pikaday.css">
<link rel="stylesheet" type="text/css" href="css/jquery-ui.css">
<script src="js/jquery-1.12.4.js"></script>
<script src="js/jquery-ui.js"></script>
<link href="https://fonts.googleapis.com/css2?family=Baloo+Tammudu+2&family=Rajdhani:wght@300&display=swap" rel="stylesheet">
<link rel="icon" href="images/rubyfavicon.ico">
</head>
<body>
<div class="top-container-booking">
<img class="top" src="images/ruby.png" alt="rubylogo">
</div>
<header>
<nav>
<ul>
<li><a href="index.html">Home</a></li>
<li>|</li>
<li><a href="drinks.html">Drinks Menu</a></li>
<li>|</li>
<li><a href="food.html">Food Menu </a></li>
<li>|</li>
<li><a href="contact.html">Contact Us</a></li>
<li>|</li>
<li><a href="book.html">Book a Table</a></li>
</ul>
</nav>
</header>
<div class="middle-container-others">
<div class="f-body">
<h2>Book your table!</h2>
<div id="f-form">
<form id="f-form-id" class="f-form-class" method="post" action="book-button-landing.html" href="mailto:[email protected]">
<div class="f-form-group">
<label for="Name" class="f-label">Your name</label>
<div class="f-input-group">
<input type="text" id="Name" name="Name" class="f-form-control" required>
</div>
</div>
<div class="f-form-group">
<label for="Email" class="f-label">Your email address</label>
<div class="f-input-group">
<input type="email" id="Email" name="Email" class="f-form-control" required>
</div>
</div>
<div class="f-form-group">
<label for="Number" class="f-label">Number of People</label>
<div class="f-input-group">
<input type="number" id="pplnumber" class="f-form-control"required/>
</div>
</div>
<div class="f-form-group">
<label for="Date" class="f-label">Date</label>
<div class="f-input-group">
<input type="text" id="datepicker" class="f-form-control" required>
<link href="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.11.4/jquery-ui.css" rel="stylesheet"/>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.11.4/jquery-ui.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/pikaday/pikaday.js"></script>
<script src="pikaday.js"></script>
<script>
var picker = new Pikaday({
field: document.getElementById('datepicker'),
format: 'D/M/YYYY',
minDate: 0,
changeMonth: true,
numberOfMonths: 2,
toString(date, format) {
const day = date.getDate();
const month = date.getMonth() + 1;
const year = date.getFullYear();
return `${day}/${month}/${year}`;
},
parse(dateString, format) {
const parts = dateString.split('/');
const day = parseInt(parts[0], 10);
const month = parseInt(parts[1], 10) - 1;
const year = parseInt(parts[2], 10);
return new Date(year, month, day);
}
});
</script>
</div>
<label for="Time" class="f-label">Time</label>
<div class="f-input-group">
<input type="time" id="meeting-time" name="time" class="f-form-control"required>
</div>
</div>
<div class="f-form-group">
<button type="submit" id="f-button" class="f-btn f-btn-primary f-btn-block">Book Your Table!</button>
</div>
</form>
</div>
</div>
</div>
<div class="bottom-container">
<a class="footer-link" href="aboutus.html">About Us</a>
<a class="footer-link" href="copyright.html">Copyright</a>
<a class="footer-link" href="gdpr.html">GDPR</a>
<a class="footer-link" href="contact.html">Contact Us</a>
<p>© RUBY - MANCHESTER
<p>Opening hours:
<br>
Monday to Thursday: 5pm to 11pm
<br>
Friday and Saturday: 4pm to 2am
<br>
Sunday: 5pm to 10pm
<br>
--- 18-25 Castle St, Manchester, M3 4LZ ---</p>
<br>
<p>
Part of<a href="https://www.manchesterbars.com/location-castlefield.htm" target="_blank">Castlefield Bars</a>
</p>
</body>
</html>