This repository was archived by the owner on Apr 11, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathindex.html
More file actions
109 lines (97 loc) · 3.33 KB
/
Copy pathindex.html
File metadata and controls
109 lines (97 loc) · 3.33 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- Bootsrap Stylesheet CDN -->
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://bootswatch.com/4/flatly/bootstrap.min.css" />
<title>Ticket Booking | Al Nahian</title>
<style>
* {
font-family: Arial, Helvetica, sans-serif;
}
body {
background-color: #e9ffec;
}
h2 {
font-size: 1.5rem;
}
</style>
</head>
<body>
<!-- Container -->
<div class="container">
<h2 class="text-center mt-4 mb-5">Ticket Booking</h2>
<!-- Form Section -->
<form id="passenger">
<div class="form-row">
<div class="form-group col-md-6">
<label for="name">Passenger Name</label>
<input type="text" class="form-control input-lg" id="name" placeholder="Enter Passenger Name" required />
</div>
<div class="form-group col-md-6">
<label for="number">Phone Number</label>
<input type="tel" class="form-control input-lg" id="number" placeholder="Enter Phone Number" maxlength="11"
required />
</div>
<div class="form-group col-sm-4 col-6 col-sm-4">
<label for="from">From</label>
<input type="text" class="form-control input-lg" id="from" required placeholder="From where?" />
</div>
<div class="form-group col-sm-4 col-6 col-sm-4">
<label for="to">To</label>
<input type="text" class="form-control input-lg outline-success" id="to" required placeholder="To Where?" />
</div>
<div class="form-group col-sm-4">
<label for="date">Date of Jounery</label>
<input type="date" class="form-control input-lg" id="date" required />
</div>
</div>
<button type="submit" class="btn btn-success btn-lg btn-block">
Book a Ticket
</button>
</form>
</div>
<hr />
<!-- Passenger List With Table Content -->
<div class="container">
<h2 class="text-center mt-5">Passenger List</h2>
<table class="table table-striped table-hover mt-5 text-center table-responsive-md table-responsive-sm">
<thead>
<tr>
<th>Name</th>
<th>Phone Number</th>
<th>From</th>
<th>To</th>
<th>Date</th>
</tr>
</thead>
<tbody id="passenger-list"></tbody>
</table>
</div>
<!-- Credit Section -->
<footer class="credit text-center mt-5">
<p>
Made With <span style="color: red;">♥</span> By
<a style="text-decoration: none; font-weight: bold; color: black;" target="_blank"
href="https://facebook.com/alnahian2003">Al Nahian</a>
</p>
<p>
Special Thanks To
<a style="text-decoration: none; font-weight: bold; color: #f58220;" target="_blank"
href="https://www.youtube.com/channel/UCC-aIlmCJvIERahr2spCEDg">JS Bangladesh</a>
</p>
<p>
Powered By
<a style="
text-decoration: none;
font-weight: bold;
color: rgb(0, 167, 42);
" target="_blank" href="https://hostweb.net">Host Web</a>
</p>
</footer>
<!-- JS Link -->
<script src="main.js"></script>
</body>
</html>