-
Notifications
You must be signed in to change notification settings - Fork 0
/
results.html
281 lines (273 loc) · 10.8 KB
/
results.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
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name=“viewport” content=“width=device-width,initial-scale=1.0”/>
<link rel="stylesheet" type="text/css" href="app/css/results.css">
<link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Lato&subset=latin,latin-ext">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<script src="https://code.jquery.com/jquery.min.js"></script>
<script src="app/js/falso.js"></script>
<script src="app/salsa-calendar-master/build/SalsaCalendar.min.js"></script>
<link rel="stylesheet" href="app/salsa-calendar-master/build/SalsaCalendar.min.css">
<title>Fairbnb</title>
<link rel="shortcut icon" href="images/fairbnb_logo.jpg"/>
</head>
<body>
<div>
<div id="nav-placeholder"></div>
<article>
<div class="article-wrapper">
<div class="filter-box">
<h1>Filters</h1>
<form action="">
<ul>
<li class="datePicker">
<h1>Check In</h1>
<input type="text" id="checkin" class="salsa-calendar-input" autocomplete="off" name="arrival" value="" readonly/>
<h1>Check Out</h1>
<input type="text" id="checkout" class="salsa-calendar-input" autocomplete="off" name="departure" value="" />
</li>
<li class="guest-filter">
<h1>Guests:</h1>
<h3>Adults</h3>
<select class="guest-select" name="adult-select">
<option value="1" selected="selected">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
<option value="7">7</option>
<option value="8">8</option>
<option value="9">9</option>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
<option value="13">13</option>
<option value="14">14</option>
<option value="15">15</option>
<option value="16">16</option>
<option value="17">17</option>
<option value="18">18</option>
<option value="19">19</option>
<option value="20">20</option>
</select>
<h3>Children</h3>
<select class="guest-select" name="child-select">
<option value="0" selected="selected">0</option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
<option value="7">7</option>
<option value="8">8</option>
<option value="9">9</option>
<option value="10">10</option>
</select>
</li>
<!--<li class="hometype-filter">
<h1>Home Type</h1>
<div class="checkbox-div">
<input class="hometype-checkbox" type="checkbox" name="entire-home" value="entire-home">
<span>Entire Home</span>
</div>
<div class="checkbox-div">
<input class="hometype-checkbox" type="checkbox" name="private-room" value="private-room">
<span>Private Room</span>
</div>
<div class="checkbox-div">
<input class="hometype-checkbox" type="checkbox" name="shared-room" value="shared-room">
<span>Shared Room</span>
</div>
</li>-->
<li class="projecttype-filter">
<h1>Project Type</h1>
<div class="checkbox-div">
<input class="projecttype-checkbox" type="checkbox" name="culture" value="culture">
<span>Arts, Culture, Humanities</span>
</div>
<div class="checkbox-div">
<input class="projecttype-checkbox" type="checkbox" name="communityDev" value="communityDev">
<span>Community Development</span>
</div>
<div class="checkbox-div">
<input class="projecttype-checkbox" type="checkbox" name="education" value="education">
<span>Education</span>
</div>
<div class="checkbox-div">
<input class="projecttype-checkbox" type="checkbox" name="environment" value="environment">
<span>Environment</span>
</div>
<div class="checkbox-div">
<input class="projecttype-checkbox" type="checkbox" name="health" value="health">
<span>Health</span>
</div>
<div class="checkbox-div">
<input class="projecttype-checkbox" type="checkbox" name="rights" value="rights">
<span>Human and Civil Rights</span>
</div>
<div class="checkbox-div">
<input class="projecttype-checkbox" type="checkbox" name="services" value="services">
<span>Human Services</span>
</div>
<div class="checkbox-div">
<input class="projecttype-checkbox" type="checkbox" name="research-policy" value="research-policy">
<span>Research and Public Policy</span>
</div>
</li>
<li>
<button class="filter-apply" type="button" onclick="applyFilter()">Apply</button>
</li>
</ul>
</form>
</div>
<div class="flex-grid-thirds">
<div class="col">
<div class="box-photo">
<a href="#"><image class="box-photo-img" src="images/colonnette.jpg"></a>
</div>
<div class="box-body">
<h2>
<a href="#">Colonnette</a>
</h2>
<p>Entire Home - 4 Beds</p>
<span>★★★★★</span>
<p>€116 per night</p>
</div>
</div>
<div class="col">
<div class="box-photo">
<a href="#"><image class="box-photo-img" src="images/drapier.jpg"></a>
</div>
<div class="box-body">
<h2>
<a href="#">Drapier</a>
</h2>
<p>Shared Room - 3 Beds</p>
<span>★★★★★</span>
<p>€87 per night</p>
</div>
</div>
<div id="noHide" class="col">
<div class="box-photo">
<a class="page-link" onclick="switchPage('singlelisting.html','logged')"><image class="box-photo-img" src="images/tintoretto.jpg"></a>
</div>
<div class="box-body">
<h2>
<a class="page-link" onclick="switchPage('singlelisting.html','logged')">Ca' Tintoretto</a>
</h2>
<p>Entire Home - 2 Beds</p>
<span>★★★★★</span>
<p>€114 per night</p>
</div>
</div>
<div class="col">
<div class="box-photo">
<a href="#"><image class="box-photo-img" src="images/saoner.jpg"></a>
</div>
<div class="box-body">
<h2>
<a href="#">Saoner</a>
</h2>
<p>Entire Home - 1 Bed</p>
<span>★★★★★</span>
<p>€131 per night</p>
</div>
</div>
<div class="col">
<div class="box-photo">
<a href="#"><image class="box-photo-img" src="images/fontego.jpg"></a>
</div>
<div class="box-body">
<h2>
<a href="#">Ca' Del Fontego</a>
</h2>
<p>Private Room - 2 Beds</p>
<span>★★★★★</span>
<p>€109 per night</p>
</div>
</div>
<div class="col">
<div class="box-photo">
<a href="#"><image class="box-photo-img" src="images/sensale.jpg"></a>
</div>
<div class="box-body">
<h2>
<a href="#">Sensale</a>
</h2>
<p>Entire Home - 5 Beds</p>
<span>★★★★★</span>
<p>€122 per night</p>
</div>
</div>
<div class="col">
<div class="box-photo">
<a href="#"><image class="box-photo-img" src="images/monastero.jpg"></a>
</div>
<div class="box-body">
<h2>
<a href="#">Ca' Del Monastero</a>
</h2>
<p>Private Room - 1 Bed</p>
<span>★★★★★</span>
<p>€67 per night</p>
</div>
</div>
<div class="col">
<div class="box-photo">
<a href="#"><image class="box-photo-img" src="images/tagiapiera.jpg"></a>
</div>
<div class="box-body">
<h2>
<a href="#">Tagiapiera</a>
</h2>
<p>Entire Home - 3 Beds</p>
<span>★★★★★</span>
<p>€105 per night</p>
</div>
</div>
</div>
</div>
</article>
<div id="footer-placeholder"></div>
<script>
$(document).ready(function() {
$('#footer-placeholder').load('sections/footer.html');
var calendar_from = new SalsaCalendar({
inputId: 'checkin',
lang: 'en',
range: {
min: 'today'
},
calendarPosition: 'right',
fixed: false,
connectCalendar: true
});
var calendar_to = new SalsaCalendar({
inputId: 'checkout',
lang: 'en',
range: {
min: 'today'
},
calendarPosition: 'right',
fixed: false
});
new SalsaCalendar.Connector({
from: calendar_from,
to: calendar_to,
maximumInterval: 365,
minimumInterval: 1
});
/*new SalsaCalendar.NightsCalculator({
from: calendar_from,
to: calendar_to,
nightsNo: 'nights-no'
});*/
});
</script>
</div>
</body>
</html>