-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSearch Page.html
233 lines (191 loc) · 8.72 KB
/
Search Page.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8"> <!-- HTML5 Encoding to minimize cross-script client side hacking -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The nonce attribute in script tags are used as a measure approved by Content Security Policy (CSP) 2.0 in order to minimize clientside hacking -->
<!--No tag Styles used because of CSP recomendation-->
<!--meta http-equiv="Content-Security-Policy" content=" script-src 'unsafe-eval'
'nonce-2726c7f26c' 'nonce-2726c7f2726c26c' 'sha256-blLDIhKaPEZDhc4WD45BC7pZxW4WBRp7E5Ne1wC/vdw=' "-->
<meta name="Description" content="Author: Mahel.M(Length: 1 page:Page:Search Page">
<link href="css/jquery-ui-1.10.2.custom.min.css" rel="stylesheet" type="text/css" nonce="2726c7f26c"> <!--Price Range JQuery CSS-->
<link href="css/nav4searchPage.css" rel="stylesheet" type="text/css"><!--Navigation Bar-->
<link href="css/draggable&dropable.css" rel="stylesheet" type="text/css"> <!-- Fav List CSS-->
<link href="css/Search Page.css" rel="stylesheet" type="text/css"><!--Search page CSS styles Only-->
<link href="css/footer-distributed4SP.css" media="screen" rel="stylesheet" type="text/css"> <!--Footer CSS Style Only-->
<script src="js/jquery-1.11.3.min.js" type="text/javascript" nonce="2726c7f26c"></script><!-- JQuery file for the use of general JQuery functions -->
<script src="js/jquery-ui-1.10.2.custom.min.js" type="text/javascript" nonce="2726c7f26c"></script> <!-- JQuery file for the use of general UI JQuery functions -->
<script src="js/filter.js" type="text/javascript" nonce="2726c7f2726c26c"></script><!-- JS file for the use of general Live search functions -->
<script src="js/Pre-Filter.js" type="text/javascript" nonce="2726c7f26c"></script><!-- JS file for the use of general Live search functions -->
<script src="js/navigationBar.js" type="text/javascript" nonce="2726c7f26c"></script> <!--Navigation Bar JS-->
<script src="js/draggable&dropable.js" type="text/javascript" nonce="2726c7f26c"></script><!--Favorite List Functions-->
<script src="js/ResortInfo.json" type="text/javascript" nonce="2726c7f26c"></script><!-- JSON file About Resort Information for Search criteria-->
<link rel="stylesheet" nonce="2726c7f26c" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"><!--for footer Social media icons-->
<link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/icon?family=Material+Icons"><!--for Search icon-->
<link type="image/x-icon" rel="icon" href="Ha.ico"><!--tab icon-->
<title>M&M Resorts:Search Page </title>
</head>
<body>
<!--Naviagation Bar-->
<div class="topnav" id="myTopnav">
<a href="#home" class="active">Home</a>
<a href="#news">Tab 01</a>
<a href="javascript:void(0);" style="font-size:15px;" class="icon" onclick="myFunction()">☰</a>
</div>
<!--From elements/ resort search options-->
<section>
<div class="container">
<h1 class="title">Search Page</h1>
<div class="sidebar col-md-3">
<div>
<h4 class='col-md-6'>Destination (<span id="total_resorts">0</span>)</h4>
<!--Live SearchBar-->
</div>
<div>
<label class="sr-only" for="searchbox">Search</label>
<input type="text" class="form-control" id="searchbox" placeholder="Search … (Country or Region Name)">
<i class="material-icons">search</i>
</div>
<br>
<!--price Range-->
<div class="well">
<fieldset id="rating_criteria">
<legend>Price Range</legend> <span id="priceRangeLabel" class="slider-label">$299000 - $650000</span>
<div id="priceRangeSlider" class="slider">
</div>
<input type="hidden" id="priceRange" value="299000 - 650000">
</fieldset>
</div>
<!--Date Picker:Availbel DAte-->
<div class="well">
<fieldset id="AvailableDate">
<legend>Available Date:</legend>
<label for="from">From</label>
<input type="text" id="from" name="from">
<br><br>
<label for="to">To</label>
<input type="text" id="to" name="to">
</fieldset>
</div>
<div class="well">
<fieldset id="year_criteria">
<legend>Comfort Level</legend>
<select class="form-control" id="comfortLevel">
<option value="all">All </option>
<option value="1-3">Comfort 3 Star</option>
<option value="4-4.9">Premium 4 Star</option>
<option value="5-6">Luxury 5 Star</option>
</select>
</fieldset>
</div>
<div class="well">
<fieldset id="activitiesSelection">
<legend>Activities</legend>
<input type="checkbox" value="All" id="allActivities">
<span>All</span>
<br>
<input type="checkbox" value="Water skiing">
<span>Water skiing</span>
<br>
<input type="checkbox" value="Sailing">
<span>Sailing</span>
<br>
<input type="checkbox" value="Tennis">
<span>Tennis</span>
<br>
<input type="checkbox" value="Scuba Diving">
<span> Scuba Diving </span>
<br>
<input type="checkbox" value="Golf">
<span> Golf </span>
<br>
<input type="checkbox" value="Hiking">
<span> Hiking</span>
<br>
<input type="checkbox" value="Horse riding">
<span> Horse riding </span>
<br>
<input type="checkbox" value="Spa">
<span> Spa </span>
</fieldset>
</div>
</div>
</div>
<!--All Resorts Display CSS-->
<div class="col-md-9">
<div class="resorts content row" id="resorts"> </div>
</div>
<!--for Favorite List Display/functions-->
<aside id="sidebar">
<div class="basket">
<div class="basket_list">
<div class="head">
<span class="name">Favoriste List</span>
<span class="count">Remove Item</span>
</div>
<ul>
</ul>
<button class="clear">Clear</button>
</div>
</div>
<!-- </aside> -->
<!-- Resort Information Display from JSON file-->
<script id="resort-box" type="text/html" nonce="2726c7f26c">
<div class="col-md-4 movie">
<div data-id="1" id="input" class="thumbnail">
<span class="label label-success rating">Price: $ <%= price %>
</span>
<span style="float:left;" > <mark style="color:grey;" > <%= date %></mark>
</span>
<div class="caption">
<h4><%= id %>. <%= name %></h4><h3><%= location %></h3> <%= url %>
<br>
<!--Hover part with description-->
<div class="outline">
<p><%= description %> </p>
<br>
<mark style="color:red;">Drag to Favotiste List</mark></i>
</div>
<div class="detail">
<dl>
<dt><%= picture %></dt>
<dt>Type:</dt>
<dd><%= type %></dd>
<dt>Bedroom(s):</dt>
<dd><%= bedrooms %></dd>
<dt>Tenure:</dt>
<dd><%= tenure %></dd>
<dt>Comfort Level:</dt>
<dd><%= comfortlevel %> Star Level</dd>
</dl>
</div>
</div>
</div>
</div>
</script>
</section>
<!--Footer-->
<footer class="footer-distributed">
<div class="footer-right">
<a href="#"><i class="fa fa-facebook"></i></a>
<a href="#"><i class="fa fa-twitter"></i></a>
<a href="#"><i class="fa fa-linkedin"></i></a>
<a href="#"><i class="fa fa-github"></i></a>
</div>
<div class="footer-left">
<p class="footer-links">
<a href="#">Home</a>
·
<a href="#">Blog</a>
·
<a href="#">About</a>
·
<a href="#">Faq</a>
·
<a href="#">Contact</a>
</p>
<p>M&M Resorts © 2017</p>
</div>
</footer>
</body>
</html>