-
Notifications
You must be signed in to change notification settings - Fork 2
/
map.html
126 lines (108 loc) · 3.94 KB
/
map.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
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
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Reset CSS File -->
<link rel="stylesheet" type="text/css" href="assets/css/reset.css">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.3/css/bootstrap.min.css" integrity="sha384-Zug+QiDoJOrZ5t4lssLdxGhVrurbmBWopoEl+M6BdEfwnCJZtKxi1KgxUyJq13dy" crossorigin="anonymous">
<!-- Custom CSS -->
<link rel="stylesheet" href="assets/css/style.css" type="text/css" />
<!-- Custom fonts -->
<link href="https://fonts.googleapis.com/css?family=Baloo+Chettan" rel="stylesheet">
<title>Map</title>
</head>
<body>
<!-- <div class="col-md-12">
<div class="row">
header
</div>
<div class="row">
Body
</div>
</div> -->
<!-- alert when favorite is added -->
<div class="alert alert-success alert-dismissible fade show" role="alert">
<strong>Brewery add to your Favorites!</strong> Drink up!!
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<!-- Navbar -->
<header id="masthead">
<div class="containter">
<div id="logo"> <a href="index.html"> <img src="assets/images/Logo150x108_YW.png"/> </a> </div>
<nav>
<a href="index.html">ABOUT</a>
<a href="map.html">MAP</a>
<a href="favorites.html">FAVORITES</a>
</nav>
</div>
</header>
<div class="container">
<!-- Input Field -->
<div class="row">
<div class="col-md-8 offset-2">
<form class="form-inline">
<div class="form-group mb-2">
</div>
<div class="form-group mx-sm-3 mb-2">
<input type="text" class="form-control" id="city-input" placeholder="City">
<input type="text" class="form-control" id="state-input" placeholder="State">
</div>
<button type="search" class="btn btn-light mb-2" id="submit-city-state">Search</button>
</form>
</div>
</div>
<!-- Map -->
<div class="row mb-3">
<div class="col-md-10 offset-1">
<div class="card" style="width: 700px;">
<div class = 'mapcontainer'>
<div id="map"></div>
</div>
</div>
</div>
</div>
<!-- Table of google map results -->
<div class="containter">
<div class="row">
<div class="col-md-12">
<table class="table table-hover">
<thead>
<tr>
<th scope="col">Brewery</th>
<th scope="col">City</th>
<th scope="col">State</th>
<th scope="col">Rating</th>
<th scope="col"></th>
</tr>
</thead>
<tbody class="google-results-table">
<!-- list of google map results go here -->
</tbody>
</table>
</div>
</div>
</div>
</div>
<!-- <footer>
<div class="containter">
<p><strong>DON'T WORRY, BE HOPPY</strong></p>
</div>
</footer>
-->
<!-- Firebase -->
<script src="https://www.gstatic.com/firebasejs/4.8.2/firebase.js"></script>
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.3/umd/popper.min.js" integrity="sha384-vFJXuSJphROIrBnz7yo7oB41mKfc8JzQZiCq4NCceLEaO4IHwicKwpJf9c9IpFgh" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/js/bootstrap.min.js" integrity="sha384-alpBpkh1PFOepccYVYDB4do5UnbKysX5WZXm3XxPqe5iKTfUKjNkCk9SaVuEZflJ" crossorigin="anonymous"></script>
<script type="text/javascript" src="assets/javascript/app.js"></script>
<!-- google map api -->
<script async defer
src="https://maps.googleapis.com/maps/api/js?key=AIzaSyDVWyEiCdvzn-H3nOsn9NuJ7LfEa-zLCw8&callback=initMap"></script>
</body>
</html>