-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsearch.html
249 lines (235 loc) · 11.1 KB
/
search.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
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>evntbindr. | The world's party planner</title>
<!-- Font Awesome -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.0/css/font-awesome.min.css">
<!-- Bootstrap core CSS -->
<link href="css/bootstrap.min.css" rel="stylesheet">
<!-- Material Design Bootstrap -->
<link href="css/mdb.min.css" rel="stylesheet">
<link href="css/style.css" rel="stylesheet">
<style rel="stylesheet">
/* TEMPLATE STYLES */
#search {
display: block;
text-align: center;
}
</style>
</head>
<body>
<!--Navigation & Intro-->
<header>
<!--Navbar-->
<nav class="navbar navbar-toggleable-md navbar-dark ">
<div class="container">
<button class="navbar-toggler navbar-toggler-right" type="button" data-toggle="collapse" data-target="#navbarNav1" aria-controls="navbarNav1" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<a class="navbar-brand" href="index.html">
<strong>evntbindr.</strong>
</a>
<ul class="nav navbar-nav ml-auto nav-flex-icons">
<li class="nav-item log_in">
<a class="nav-link" href="#!" id="login_with_google">log in <i class="fa fa-google"></i></a>
</li>
<li class="nav-item dropdown btn-group">
<a id="user_name" class="nav-link dropdown-toggle" id="dropdownMenu1" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">user</a>
<div class="dropdown-menu dropdown" aria-labelledby="dropdownMenu1">
<a class="dropdown-item"><i class="fa fa-dashboard" aria-hidden="true"></i> Dashboard</a>
<a class="dropdown-item" id="logout" href="index.html"><i class="fa fa-sign-out" aria-hidden="true"></i> Log Out</a>
</div>
</li>
</ul>
</div>
</div>
</nav>
<!--/.Navbar-->
</header>
<!--/Navigation & Intro-->
<main>
<!--Main layout-->
<div class="container">
<!--Page heading-->
<div class="row">
<div class="col-md-12">
<small class="text-muted">Search Results for</small> <strong>Madhapur / 100 people</strong>
</div>
</div>
<!--/.Page heading-->
<hr>
<!--First row-->
<div class="row wow">
<!--First column-->
<div class="col-lg-4 wow fadeIn" data-wow-delay="0.2s">
<!--Card-->
<div class="card">
<!--Card image-->
<img src="http://www.fernhotels.com/data/event/1456315868_Louts%20Cluster%20Style%20-%201066%20489.jpg" style="width:100%;height:200px" ">
<!--/.Card image-->
<!--Card content-->
<div class="card-block ">
<!--Title-->
<h4 class="card-title ">N - Convention</h4>
<!--Text-->
<div class="row card_ ">
<div class="col-md-2 flex-center "><i class="fa fa-fire fa-2x papaya-i " aria-hidden="true "></i></div>
<div class="col-md-10 "><em>This property has been viewed <span id="page_hits ">27</span> number of times this week!</em></div>
</div>
<div class="row ">
<div class="col-md-2 flex-center "><i class="fa fa-user fa-2x aqua-i " aria-hidden="true "></i></div>
<div class="col-md-10 ">2000 people</div>
</div>
<div class="row ">
<div class="col-md-2 flex-center "><i class="fa fa-inr fa-2x aqua-i " aria-hidden="true "></i></div>
<div class="col-md-10 ">Starts at INR <b>1300</b></div>
</div>
<div class="row ">
<div class="col-md-2 flex-center "><i class="fa fa-home fa-2x aqua-i " aria-hidden="true "></i></div>
<div class="col-md-10 ">Madhapur</div>
</div>
<div class="read-more " align="center ">
<a href="#! " class="btn btn-brown ">Read more</a>
</div>
</div>
<!--/.Card content-->
</div>
<!--/.Card-->
</div>
<!--/.First column-->
</div>
<hr>
<!--Pagination-->
<nav class="row flex-center wow fadeIn " data-wow-delay="0.2s ">
<ul class="pagination ">
<li class="page-item disabled ">
<a class="page-link " href="#! " aria-label="Previous ">
<span aria-hidden="true ">«</span>
<span class="sr-only ">Previous</span>
</a>
</li>
<li class="page-item active ">
<a class="page-link " href="#! ">1 <span class="sr-only ">(current)</span></a>
</li>
<li class="page-item "><a class="page-link " href="#! ">2</a></li>
<li class="page-item "><a class="page-link " href="#! ">3</a></li>
<li class="page-item "><a class="page-link " href="#! ">4</a></li>
<li class="page-item "><a class="page-link " href="#! ">5</a></li>
<li class="page-item ">
<a class="page-link " href="#! " aria-label="Next ">
<span aria-hidden="true ">»</span>
<span class="sr-only ">Next</span>
</a>
</li>
</ul>
</nav>
<!--/.Pagination-->
</div>
<!--/.Main layout-->
</main>
<!--Footer-->
<footer class="page-footer center-on-small-only nopadding ">
<!--Footer Links-->
<div class="container-fluid ">
<div class="row ">
<!--First column-->
<div class="col-lg-3 offset-lg-1 hidden-lg-down ">
<h5 class="title ">About evntbindr.</h5>
<p>EVNTBINDR is an online platform meant to make event planning easy. </p>
</div>
<!--/.First column-->
<hr class="hidden-md-up ">
<!--Second column-->
<div class="col-lg-6 col-md-9 ">
<h5 class="title ">CONNECT WITH US</h5>
<ul>
<li><a href="https://www.facebook.com/evntbindr/ "><i class="fa fa-facebook " aria-hidden="true "></i> Facebook </li> </a>
<li><a href="https://www.instagram.com/evntbindr/ "><i class="fa fa-instagram " aria-hidden="true "></i> Instagram </li></a>
</div>
</div>
</div>
<!--/.Footer Links-->
<!--Copyright-->
<div class="footer-copyright ">
<div class="container-fluid ">
© 2017 Copyright: <a href="http://www.github.com/sathp/evntbindr_fleming "> evntbindr.</a> Developed with <span class="glyphicon glyphicon-heart ">love</span> by <a href="http://www.ahamlearning.com ">Team Fleming at Techpreneurship Bootcamp, Aham Learning Hub</a>.
</div>
</div>
<!--/.Copyright-->
</footer>
<!--/.Footer-->
<!-- SCRIPTS -->
<!-- JQuery -->
<script type="text/javascript " src="js/jquery-2.2.3.min.js "></script>
<!-- Bootstrap tooltips -->
<script type="text/javascript " src="js/tether.min.js "></script>
<!-- Bootstrap core JavaScript -->
<script type="text/javascript " src="js/bootstrap.min.js "></script>
<!-- MDB core JavaScript -->
<script type="text/javascript " src="js/mdb.min.js "></script>
<script src="https://www.gstatic.com/firebasejs/4.1.3/firebase.js "></script>
<script src="https://www.gstatic.com/firebasejs/4.1.3/firebase.js "></script>
<script>
// Initialize Firebase
var config = {
apiKey: "AIzaSyAnTgoI54Z-LiR94TUDmu3ejDyrP0M_u-k ",
authDomain: "evntbindr-a5d5e.firebaseapp.com ",
databaseURL: "https://evntbindr-a5d5e.firebaseio.com ",
projectId: "evntbindr-a5d5e ",
storageBucket: "evntbindr-a5d5e.appspot.com ",
messagingSenderId: "111766807795 "
};
firebase.initializeApp(config);
var database = firebase.database();
var provider = new firebase.auth.GoogleAuthProvider();
$('#login_with_google').click(function() {
firebase.auth().signInWithPopup(provider).then(function(result) {
// This gives you a Google Access Token. You can use it to access the Google API.
var token = result.credential.accessToken;
// The signed-in user info.
var user = result.user;
// ...
}).catch(function(error) {
// Handle Errors here.
var errorCode = error.code;
var errorMessage = error.message;
// The email of the user's account used.
var email = error.email;
// The firebase.auth.AuthCredential type that was used.
var credential = error.credential;
// ...
});
});
$('#logout').click(function() {
firebase.auth().signOut().then(function() {
// Sign-out successful.
}).catch(function(error) {
// An error happened.
});
});
firebase.auth().onAuthStateChanged(function(user) {
if (user) {
// User is signed in.
// 1. Logged In - Show Logout
console.log("User is Logged In ");
console.log(user);
console.log("Email: ", user.email, user.displayName, user.photoURL);
$('#user_name').show();
$('#user_name').html(user.displayName);
$('#login_with_google').hide();
// ...
} else {
// User is signed out.
// 2. Logged Out/ Not Logged In - Show "Login with Google "
console.log("User is not logged in ");
$('#user_name').hide();
$('#login_with_google').show();
// ...
}
});
</script>
</body>
</html>