-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
103 lines (75 loc) · 3.63 KB
/
index.html
File metadata and controls
103 lines (75 loc) · 3.63 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
<!doctype html>
<html lang="en">
<html xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="UTF-8">
<title>Airline Booking with Seven-Tech</title>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=yes"> <!--controls scaling so that it's sized correctly on all devices-->
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.2.1/dist/css/bootstrap.min.css" integrity="sha384-GJzZqFGwb1QTTN6wy59ffF1BuGJpLSa9DkKMp0DgiMDm4iYMj70gZWKYbI706tWS" crossorigin="anonymous">
</head>
<body>
<!--bootstrap nav. bar-->
<nav class="navbar navbar-expand-lg navbar-light bg-light">
<a class="navbar-brand" href="#">Book your next trip!</a>
<button class="navbar-toggler-icon" 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" id="navbarNav">
<ul class="navbar-nav">
<li class="nav-item active">
<a class="nan-link" href="#">Home </a>
</li>
<li class="nav-item active">
<a class="nan-link" href="#">Browse </a>
</li>
<li class="nav-item active">
<a class="nan-link" href="#">Book</a>
</li>
<li class="nav-item active">
<a class="nan-link" href="#">Pay </a>
</li>
<li class="nav-item active">
<a class="nan-link" href="#">My Ticket Reservations</a>
</li>
</ul>
</div>
</nav>
<div class ="container">
<h1 class ="my-4">Flight Search</h1>
<!--Flight Search form-->
<!--Thymeleaf form-->
<form th: action="@{/flightSearch}" method ="post">
<div class="form-group">
<label for ="origin">Airport departing from:</label> <!--better name?-->
<input type="text" class="form-control" id="origin" name="origin">
</div>
<div class="form-group">
<label for="departureDate">Departure date</label> <!--better name?-->
<input type="text" class="form-control" id="departureDate" name="departureDate">
</div>
<!--ticket type drop down calendar, then date of leave-->
<div class="form-group">
<label for="destiantion">Airport arriving destination</label> <!--better name?-->
<input type="text" class="form-control" id="destination" name="destination">
</div>
<div class="form-group">
<label for="adults">Number of Adults</label> <!--better name?-->
<input type="text" class="form-control" id="adults" name="adults">
</div>
<!--TO DO-->
<!--children-->
<!--infants-->
<!--drop down for seat; baby carseat or not-->
<button type="submit" class="btn btn-primary"> Search Flights</button>
</form>
</div>
<!-- Optional JavaScript -->
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.14.6/dist/umd/popper.min.js" integrity="sha384-wHAiFfRlMFy6i5SRaxvfOCifBUQy1xHdJ/yoi7FRNXMRBu5WHdZYu1hA6ZOblgut" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.2.1/dist/js/bootstrap.min.js" integrity="sha384-B0UglyR+jN6CkvvICOB2joaf5I4l3gm9GU6Hc1og6Ls7i6U/mkkaduKaBhlAXv9k" crossorigin="anonymous"></script>
</body>
</html>