-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathplace.html
140 lines (97 loc) · 4.75 KB
/
place.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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
<!DOCTYPE html>
<html lang="en">
<head>
<title>Out N' AbouTT</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<!-- --------------------------------------------------------------------------------------->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-eOJMYsd53ii+scO/bJGFsiCZc+5NDVN2yr8+0RDqr0Ql0h+rP48ckxlpbzKgwra6" crossorigin="anonymous">
<link href="css/main.css" rel="stylesheet" type="text/css" />
<link href="css/explore-tab.css" rel="stylesheet" type="text/css" />
<link href="css/like-button.css" rel="stylesheet" type="text/css"/>
<!-- CAROUSEL RELATED -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
<!-- FIREBASE -->
<!-- The core Firebase JS SDK is always required and must be listed first -->
<script src="/__/firebase/8.3.2/firebase-app.js"></script>
<!-- TODO: Add SDKs for Firebase products that you want to use
https://firebase.google.com/docs/web/setup#available-libraries -->
<script src="/__/firebase/8.3.2/firebase-analytics.js"></script>
<!-- Initialize Firebase -->
<script src="/__/firebase/init.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-JEW9xMcG8R+pH31jmWH6WWP0WintQrMb4s7ZOdauHnUtxwoG2vI5DkLtS3qm9Ekf"
crossorigin="anonymous"></script>
<!--Like button by Font Awesome-->
<script src="https://kit.fontawesome.com/c148535417.js" crossorigin="anonymous"></script>
<link href="https://fonts.googleapis.com/icon?family=Material+Icons"
rel="stylesheet">
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<!-- --------------------------------------------------------------------------------------->
</head>
<body style="height: 100%">
<header>
<!-- search bar -->
<nav>
<a class = "logo at nav" href = "index.html" > <img src = "asset/images/logo for website.png" style = "height: 100%; width: 100%;"></a>
<form class="form">
<input class="search-bar" placeholder="Search something.." id="Place_name"></input>
<input type="submit" onclick="searchbut(locations)" value="GO" href=""></input>
</form>
<br>
<br>
</nav>
<nav>
<ul class="navigation" style="display: flex;">
<li><a href="index.html" style="display: block;
position: relative;
text-decoration: none;
color: white;
padding: 23px;">Home</a></li>
<li><a href="explore.html" style="display: block;
position: relative;
text-decoration: none;
color: white;
padding: 23px;">Explore</a></li>
<li><a href="trending.html" style="display: block;
position: relative;
text-decoration: none;
color: white;
padding: 23px;">Trending</a></li>
<li><a href="index.html#About_Us" style="display: block;
position: relative;
text-decoration: none;
color: white;
padding: 23px;">About Us</a></li>
</ul>
</nav>
</header>
<style>
</style>
<div style="height: 100%; width: 100%">
<div class="container2 row" id="placeDetail">
</div>
</div>
<script src="js/locations-data.js"></script>
<script src="js/places.js"></script>
<script>
//Like button state handler
$(document).ready(function(){
$('.like-button').click(function(){
$(this).toggleClass('is-active');
})
});
//To get ID of Location from previous html page
let y = parent.document.URL.substring(parent.document.URL.indexOf('?'), parent.document.URL.length);
let x = parseInt(y.split('=').pop());
getLocation(x);
</script>
<!-- Async script executes immediately and must be after any DOM elements used in callback. -->
<script
src="https://maps.googleapis.com/maps/api/js?key=AIzaSyB_jF69AJd7zitOuYV6kpgwA_7g1IxoQc8&callback=initMap&libraries=&v=weekly"
async></script>
</body>
</html>