-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbooking.html
More file actions
187 lines (179 loc) · 10.8 KB
/
booking.html
File metadata and controls
187 lines (179 loc) · 10.8 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css" integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk" crossorigin="anonymous">
<link rel="stylesheet" href="./styles/common.css">
<link rel="stylesheet" href="./styles/booking.css">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Courgette&family=Saira:wght@300;400;500;600;700&display=swap" rel="stylesheet">
<title>Cardom</title>
</head>
<body>
<div class="container-fluid p-0">
<nav class="nav-top fixed nav-bg-main justify-content-start color-white-trans font-logo d-flex flex-row" id="nav-top-pointer">
<div class="nav-brand flex-grow-1">
<i class="fa fa-car font-i-sm pr-2" aria-hidden="true"></i><a class="a-text-dec-none" href="index.html">Cardom</a><i class="fa fa-car font-i-sm pl-2" aria-hidden="true"></i>
</div>
<div class="navbar-list">
<ul class="navbar-list-group">
<li><a href="register.html">Register</a></li>
<li><a href="login.html">Sign In</a></li>
<!-- <li><a href="#" id='logout-user'>Logout</a></li> -->
<li><a href="about.html">About</a></li>
</ul>
<div>
<div class="burger-group display-none">
<div class="burger"></div>
<div class="burger"></div>
<div class="burger"></div>
</div>
<div>
<b class="burger-cross display-none">☓</b>
</div>
</div>
</div>
</nav>
<div class="nav-bar-support">
</div>
<nav class="side-bar fixed" id="nav-side-pointer">
<ul>
<li><a href="selection.html">Book a Car</a></li>
<li><a href="index.html#ht-cardom">How to Cardom</a></li>
<li><a href="index.html#car-types">Types of Cars</a></li>
<!-- <li><a href="">Policies</a></li> -->
<!-- <li><a href="">Prestige Collections</a></li> -->
</ul>
<!-- <ul class="after-login-list">
<li class="user-welcome">Welcome Arjun</li>
<li><a href="user.html">Profile</a></li>
<li><a href="admin.html">Admin</a></li>
</ul> -->
</nav>
<div class="main-content">
<div class="booking-container p-5">
<!-- booking heading -->
<div class="mb-5 d-flex justify-content-between bookingHead">
<h3>Booking Detail Fill Up</h3>
<h3 class="ml-3">Changed your mind? <small class="btn btn-info" id="select-different">Select Different Car</small> </h3>
</div>
<!-- booking details -->
<div class="row">
<!-- car to be booked: left side -->
<div class="col-12 col-lg-6 p-0">
<div class="card rounded-0">
<div class="card-header text-center bg-dark text-light rounded-0">
<h5 class="card-title m-0" id="detail-title">Car Title: Brand + Model</h5>
</div>
<img class="img-fluid border-bottom" id="detail-img">
<div class="card-body bg-light mb-1">
<table class="table mb-0">
<tbody class="card-text">
<tr>
<th class="border-top-0" scope="row">Power</th>
<td class="border-top-0 text-warning" id="detail-power"></td>
</tr>
<tr>
<th scope="row">Motor Fuel</th>
<td id="detail-fuel"></td>
</tr>
<tr>
<th scope="row">Usage</th>
<td id="detail-usage"></td>
</tr>
<tr>
<th scope="row">Type</th>
<td id="detail-type"></td>
</tr>
<tr>
<th scope="row">Seater</th>
<td id="detail-seater"></td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<!-- booking info fillings: right side -->
<div class="col-12 col-lg-6 p-0 booking-filling mt-3 mt-xl-0">
<div class="card rounded-0">
<div class="card-header text-center bg-dark text-light rounded-0">
<h5 class="card-title m-0">Bill Tentative</h5>
</div>
<div class="card-body pb-2 bg-light">
<div class="form-group row">
<label class="col-6 col-form-label">Date and Time of Requirement</label>
<div class="col-6 d-flex align-self-center flex-column">
<input class="form-control" type="datetime-local" id="booking-time">
</div>
</div>
<div class="form-group row">
<label class="col-6 col-form-label">Usage Hours (tentative) - ₹50/hr (Min: 24hrs)</label>
<div class="col-6 d-flex align-self-center flex-column">
<input class="form-control" type="number" value="24", min="24" id="booking-car-usage">
</div>
</div>
<div class="form-group row" id="fuelCapDetail">
<label class="col-6 col-form-label">Initial Fuel Requirement (tentative) - ₹83/litre (Min: 15)</label>
<div class="col-6 d-flex align-self-center flex-column">
<input class="form-control" type="number" value="15" id="booking-fuel" min='15'>
</div>
</div>
<div class="form-group row">
<label class="col-6 col-form-label">Do you require life insurance? (₹3500)</label>
<div class="col-6 mt-1 d-flex align-self-center">
<input type="checkbox" id="booking-life-insurance">
</div>
</div>
<div class="form-group row">
<label class="col-6 col-form-label">Chauffeur Required? (₹700/day)</label>
<div class="col-6 mt-1 d-flex align-self-center">
<input type="checkbox" id="booking-chauffeur">
</div>
</div>
<div class="form-group row">
<label class="col-6 col-form-label">Damage Insurance Cost</label>
<div class="col-6 mt-1 d-flex align-self-center">
<p id="booking-damage-insurance"></p>
</div>
</div>
<div class="form-group row">
<label class="col-6 col-form-label">Deposit</label>
<div class="col-6 mt-1 d-flex align-self-center">
<p id="booking-deposit"></p>
</div>
</div>
<div class="form-group row h6">
<label class="col-6 col-form-label">Total Tentative</label>
<div class="col-6 mt-1 d-flex align-self-center">
<p id="booking-total"></p>
</div>
</div>
<div class="btn btn-primary btn-block pb-2" id="adv-payment">Make Advance Payment</div>
</div>
</div>
</div>
</div>
</div>
<!-- Footer: Follow our lastest updates and news -->
<footer class="col-12 mt-4 p-5 bg-d-section text-center index-social">
<h3 class="mb-4">Follow our lastest updates and news</h3>
<div class="social-icons">
<i class="fa fa-facebook-square"></i>
<i class="fa fa-twitter-square"></i>
<i class="fa fa-instagram"></i>
<i class="fa fa-linkedin-square"></i>
<i class="fa fa-pinterest-square"></i>
</div>
</footer>
</div>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/uuid/8.1.0/uuidv4.min.js"></script>
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js" integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js" integrity="sha384-OgVRvuATP1z7JjHLkuOU7Xw704+h835Lr+6QL9UvYjZE3Ipu6Tp75j7Bh/kR0JKI" crossorigin="anonymous"></script>
<script src="./scripts/booking.js" type="module"></script>
</body>
</html>