-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathindex.html
More file actions
53 lines (46 loc) · 2.16 KB
/
index.html
File metadata and controls
53 lines (46 loc) · 2.16 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Display a map</title>
<meta name="viewport" content="initial-scale=1,maximum-scale=1,user-scalable=no" />
<script src="https://api.tiles.mapbox.com/mapbox-gl-js/v0.44.1/mapbox-gl.js"></script>
<link href="https://api.tiles.mapbox.com/mapbox-gl-js/v0.44.1/mapbox-gl.css" rel="stylesheet" />
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha256-3edrmyuQ0w65f8gfBsqowzjJe2iM6n0nKciPUp8y+7E=" crossorigin="anonymous"></script>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="h-100">
<div class="row no-gutters h-100">
<div class="col-4 h-100 sidebar">
<form id="iata-input">
<div class="form-group">
<label for="origin">Origin</label>
<div class="input-group">
<input id="origin" name="origin" value="AUS" placeholder="AUS" type="text" class="form-control here">
</div>
</div>
<div class="form-group">
<label for="dest">Destination</label>
<div class="input-group">
<input id="dest" name="dest" value="EWR" placeholder="EWR" type="text" class="form-control here">
</div>
</div>
<div class="form-group">
<button name="submit" type="button" class="btn btn-primary" id="submit">Submit</button>
</div>
<div class="form-group">
<button name="beginFlight" type="button" class="btn btn-primary" id="beginFlight">Begin Flight</button>
</div>
</form>
</div>
<div class="col-8 h-100">
<div id="map" class="h-100"></div>
</div>
</div>
</div>
<script type="text/javascript" src="app.js"></script>
</body>
</html>