-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathflightList.html
84 lines (76 loc) · 3.66 KB
/
flightList.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
<!DOCTYPE html>
<html ng-app="airline">
<head>
<title>Flight search</title>
<link rel="stylesheet" type="text/css" href="css/style.css" />
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css" />
<link href="css/bootstrap-select.min.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" href="css/flightBooking.css" />
<link href="css/mobiscroll.custom-2.6.2.min.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="container">
<nav role="navigation" class="navbar navbar-default navbar-fixed-top">
<div class="container-fluid">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" data-target="#navbarCollapse" data-toggle="collapse" class="navbar-toggle">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a href="#" class="navbar-brand">Brand</a>
</div>
<!-- Collection of nav links and other content for toggling -->
<div id="navbarCollapse" class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li class="active"><a href="home.html">Home</a></li>
<li><a href="#">Profile</a></li>
<li><a href="#">Messages</a></li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li><a href="#">Login</a></li>
</ul>
</div>
</div>
</nav>
<div class="row" ng-controller="flightListController as flightList">
<div class="well">
<h1 class="text-center">Select your favourite Flight</h1>
<div class="list-group">
<a href="seatBooking.html" class="list-group-item" ng-repeat="flight in flightList.flights">
<div class="media col-md-3">
<figure class="pull-left">
<img class="media-object img-rounded img-responsive" alt="placehold.it/350x250" ng-src="{{flight.image}}">
</figure>
</div>
<div class="col-md-6">
<h4 class="list-group-item-heading"> {{flight.name}}</h4>
<p class="list-group-item-text"><b>Departure:</b>{{flight.departure}} <b>Arrival:</b>{{flight.arrival}} <b>Duration:</b>{{flight.duration}} <b>Stop:</b>{{flight.stop}}
</p>
</div>
<div class="col-md-3 text-center">
<h2> {{flight.price | currency}} </h2>
<button type="button" class="btn btn-default btn-primary btn-lg btn-block"> Book Now! </button>
<div class="stars">
<span class="glyphicon glyphicon-star"></span>
<span class="glyphicon glyphicon-star"></span>
<span class="glyphicon glyphicon-star"></span>
<span class="glyphicon glyphicon-star"></span>
<span class="glyphicon glyphicon-star-empty"></span>
</div>
<p> {{flight.rating}} </p>
</div>
</a>
</div>
</div>
</div>
<script src="js/jquery-2.1.1.min.js"></script>
<script type="text/javascript" src="js/angular.min.js"></script>
<script type="text/javascript" src="js/app.js"></script>
<script type="text/javascript" src="js/bootstrap-select.js"></script>
<script src="plugins/mobiscroll.custom-2.6.2.min.js" type="text/javascript"></script>
<script type="text/javascript" src="js/flightBooking.js"></script>
</body>
</html>