-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex-review.html
394 lines (364 loc) · 19.6 KB
/
index-review.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
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
<!DOCTYPE html>
<html lang="en">
<head>
<title>Things to do</title>
<meta name='description' content="" />
<meta name='canonical' content='http://www.thingdoer.com/' />
<meta http-equiv='Content-Type' content='text/html; charset=UTF-8' />
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/3.9.1/build/cssnormalize/cssnormalize-min.css">
<link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/3.9.1/build/cssgrids/cssgrids-min.css">
<link rel="stylesheet" type="text/css" href="./css/thingdoer.css">
<link rel="stylesheet" type="text/css" href="./css/responsive-demo.css">
<script type='text/javascript' src="http://code.jquery.com/jquery-latest.min.js"></script>
<script type='text/javascript' src="./js/standard.js"></script>
<script type='text/javascript' src="./js/modernizr.js"></script>
<script type='text/javascript' src="./js/timepicker.js"></script>
<script type='text/javascript' src="./js/rangeinput.js"></script>
<script type='text/javascript' src="./js/aspect-correct.js"></script>
<script type='text/javascript' src="./js/jquery-ui-1.10.3.custom.min.js"></script>
<script type='text/javascript' src="http://yui.yahooapis.com/3.9.1/build/yui/yui-min.js"></script>
<script type="text/javascript">
// google async snippet initialise
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-41773188-1']);
_gaq.push(['_setDomainName', 'thingdoer.com']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</head>
<body class="index index">
<script type="text/javascript">
$(document).ready(function() {
if(!Modernizr.inputtypes.time) {
$('input[type=time]').timePicker();
}
if(!Modernizr.inputtypes.range) {
$(':range').rangeinput();
}
$('span#close-modal,#modal-overlay').click(function(){
$('#modal-overlay,#modal-window').fadeOut();
});
$(".image-cropper img").each(function() {
$(this).load(function() {
FixImage(false, $(this).closest('div'), this); // fix the aspect ration on the image relative to its closest parent div
}).each(function(){
if(this.complete) {
$(this).trigger('load');
}
});
});
$('.thing-to-do-feeder.has-image').each(function(){
$(this).find('img.thumbnail').wrap('<a href="'+$(this).find('span.thing-feeder-title a').attr('href')+'"></a>');
});
$('.things-to-do-wrapper .thing-single:has(img.promo),.nearby-things .thing-single:has(img.promo)').each(function(){
$(this).find('img.promo').wrap('<a href="'+$(this).find('h2 a').attr('href')+'"></a>');
});
});
function modal(info_type){
$.ajax({
url: '/autocomplete/phrase/',
data: { term: info_type,
header_and_content: 'true'
},
success: function ( data ) {
output = JSON.parse(data);
$('#modal-window .modal-header h2').html(output.heading);
$('#modal-window .modal-content').html(output.content);
},
});
$('#modal-overlay,#modal-window').fadeIn();
}
</script>
<div id="page">
<div id="header">
<div id="things-to-do-links" class="yui3-g">
<span class="yui3-u" id="logo-title">thingdoer <sup>209</sup></span>
<span class="welcome-back yui3-u">
<a href="/" title="Things to do" class="active">Things to do</a> -
<a href="/find-things-to-do/" title="Browse things" class="">Browse things</a> -
<a href="/thing/edit/" title="Add things" class="">Add things</a> -
<a href="/user/register">Register</a> -
<a href="/user/login">Log in</a>
</span> <!-- // welcome-back -->
<span class="yui3-u">
<!-- // left float top bar -->
</span>
</div>
<div id="main-search-box" class="yui3-g">
<div class="logo yui3-u-3-8">
<a href="/" title="things to do"><span class="logo-image-will-replace">thingdoer</span></a>
</div>
<div id="search-inputs" class="yui3-u-5-8">
<div class="content yui3-g">
<form action="/find-things-to-do/" method="get">
<input type="text" placeholder="find something to do..." name="like" class="yui3-u-4-5" />
<button type="submit" class="button yui3-u-1-5">search</button>
</form>
</div>
<div class="footer">
Popular searches:
<a href="/find-things-to-do/?like=sydney">Things to do in sydney</a>,
<a href="/find-things-to-do/?like=walks">Things to do like walks</a>,
<a href="/find-things-to-do/?like=food">Things to do for food</a>,
</div>
</div>
</div> <!-- // #main-search-box -->
<div class="navigation">
<ul id="nav" class="yui3-g">
<li class="yui3-u-1-3 active">
<div class="menu-button">
<a href="/" title="Things to do">Things to do</a>
</div>
</li>
<li class="yui3-u-1-3 ">
<div class="menu-button">
<a href="/find-things-to-do/" title="Browse things">Browse things</a>
</div>
</li>
<li class="yui3-u-1-3 ">
<div class="menu-button">
<a href="/thing/edit/" title="Add things">Add things</a>
</div>
</li>
</ul>
</div> <!-- // #navigation -->
</div> <!-- // #header -->
<div class="block">
<div id="content-wrapper">
<div class="content">
<div class="main-heading">
<h1></h1>
</div> <!-- // .main-heading -->
<div class="user-notifications">
</div> <!-- // #user-notifications -->
<!-- <div>
<div class="starburst-container">
<div class="starburst">
<span class="label">a whopping</span>
<span class="number">208</span>
<span class="label">things to do</span>
</div>
</div>
</div> --> <div class="module things-to-do" id="things-to-do">
<div class="module-header">
<h3>Featured collection</h3>
</div>
<div class="module-content yui3-g">
<div class="header-block yui3-u-1">
<div class="promo-image">
<a href="/collections/things-to-do-in-surry-hills/" title="Things To Do In Surry Hills"><img src="http://www.thingdoer.com/things-to-do-photos/2/2/222_m.jpg" alt="Things To Do In Surry Hills thumbnail" class="thumbnail" /></a>
</div>
<div class="promo-title">
<h4><a href="/collections/things-to-do-in-surry-hills/" title="Things To Do In Surry Hills">Things To Do In Surry Hills</a></h3>
</div>
<div class="promo-blurb">
<p>Inner Sydney's hub of art, music, food & drink, Surry Hills is one of the rare trendy suburbs that the locals are happy to share the spoils with all who visit. A great spot to visit all year 'round, you can quite easily spend a full day taking in the sites, smells, sounds & tastes. Start with a morning coffee at one of the many cafes, cruise around the seemingly infinite art galleries, settle in for an afternoon drink at one of the many pubs or wine bars, then top it off with dinner or some live music. <span>Go to <a href="/collections/things-to-do-in-surry-hills/" alt="Things To Do In Surry Hills" title="Things To Do In Surry Hills">things to do in surry hills</a></span></p>
</div>
</div>
<div class="thing-to-do-feeder has-image yui3-u">
<img src="http://www.thingdoer.com/things-to-do-photos/4/46_s.jpg" alt="Govindas dinner and lay down movie thumbnail" class="thumbnail" /> <span class="thing-feeder-title"><a href="/thing/view/28/govindas-dinner-and-lay-down-movie" title="Govindas dinner and lay down movie">Govindas dinner and lay down movie</a></span>
<span class="thing-feeder-location">Darlinghurst, NSW (Australia)</span>
</div>
<div class="thing-to-do-feeder has-image yui3-u">
<img src="http://www.thingdoer.com/things-to-do-photos/1/0/101_s.jpg" alt="Possum spotting in Hyde Park thumbnail" class="thumbnail" /> <span class="thing-feeder-title"><a href="/thing/view/189/possum-spotting-in-hyde-park" title="Possum spotting in Hyde Park">Possum spotting in Hyde Park</a></span>
<span class="thing-feeder-location">Sydney, NSW (Australia)</span>
</div>
<div class="thing-to-do-feeder has-image yui3-u">
<img src="http://www.thingdoer.com/things-to-do-photos/2/25_s.jpg" alt="Get a coffee from Alimentari thumbnail" class="thumbnail" /> <span class="thing-feeder-title"><a href="/thing/view/27/get-a-coffee-from-alimentari" title="Get a coffee from Alimentari">Get a coffee from Alimentari</a></span>
<span class="thing-feeder-location">Paddington, NSW (Australia)</span>
</div>
<div class="thing-to-do-feeder has-image yui3-u">
<img src="http://www.thingdoer.com/things-to-do-photos/3/35_s.jpg" alt="Have a drink @ The Glenmore rooftop bar thumbnail" class="thumbnail" /> <span class="thing-feeder-title"><a href="/thing/view/98/have-a-drink-the-glenmore-rooftop-bar" title="Have a drink @ The Glenmore rooftop bar">Have a drink @ The Glenmore rooftop bar</a></span>
<span class="thing-feeder-location">The Rocks, NSW (Australia)</span>
</div>
<div class="thing-to-do-feeder has-image yui3-u">
<img src="http://www.thingdoer.com/things-to-do-photos/6/68_s.jpg" alt="Lunch at Cafe Sydney thumbnail" class="thumbnail" /> <span class="thing-feeder-title"><a href="/thing/view/156/lunch-at-cafe-sydney" title="Lunch at Cafe Sydney">Lunch at Cafe Sydney</a></span>
<span class="thing-feeder-location">Sydney, NSW (Australia)</span>
</div>
</div>
<div class="module-related">
<a href="/collections/things-to-do-in-surry-hills/" title="View all 89 Things To Do In Surry Hills">View all 89 Things To Do In Surry Hills</a>
</div>
<div class="module-footer">
</div>
</div>
</div> <!-- // .content -->
</div> <!-- // .content-wrapper -->
<div id="things-to-do-rhs" class="yui3-u">
<div class="module most-popular-things" id="most-popular-things">
<div class="module-header">
<h3>Most popular things</h3>
</div>
<div class="module-content yui3-g">
<div class="thing-to-do-feeder has-image yui3-u">
<img src="http://www.thingdoer.com/things-to-do-photos/2/1/213_s.jpg" alt="Rock out at Vasco Bar thumbnail" class="thumbnail" /> <span class="thing-feeder-title"><a href="/thing/view/263/rock-out-at-vasco-bar" title="Rock out at Vasco Bar">Rock out at Vasco Bar</a></span>
<span class="thing-feeder-location">Surry Hills (Australia)</span>
</div>
<div class="thing-to-do-feeder has-image yui3-u">
<img src="http://www.thingdoer.com/things-to-do-photos/4/46_s.jpg" alt="Govindas dinner and lay down movie thumbnail" class="thumbnail" /> <span class="thing-feeder-title"><a href="/thing/view/28/govindas-dinner-and-lay-down-movie" title="Govindas dinner and lay down movie">Govindas dinner and lay down movie</a></span>
<span class="thing-feeder-location">Darlinghurst (Australia)</span>
</div>
<div class="thing-to-do-feeder has-image yui3-u">
<img src="http://www.thingdoer.com/things-to-do-photos/3/38_s.jpg" alt="Get the ferry to Doyles thumbnail" class="thumbnail" /> <span class="thing-feeder-title"><a href="/thing/view/129/get-the-ferry-to-doyles" title="Get the ferry to Doyles">Get the ferry to Doyles</a></span>
<span class="thing-feeder-location">Watsons Bay (Australia)</span>
</div>
<div class="thing-to-do-feeder has-image yui3-u">
<img src="http://www.thingdoer.com/things-to-do-photos/7/70_s.jpg" alt="Swim in Sydney Harbour thumbnail" class="thumbnail" /> <span class="thing-feeder-title"><a href="/thing/view/158/swim-in-sydney-harbour" title="Swim in Sydney Harbour">Swim in Sydney Harbour</a></span>
<span class="thing-feeder-location">NSW (Australia)</span>
</div>
<div class="thing-to-do-feeder has-image yui3-u">
<img src="http://www.thingdoer.com/things-to-do-photos/7/74_s.jpg" alt="Riverside Beers at the Ivory thumbnail" class="thumbnail" /> <span class="thing-feeder-title"><a href="/thing/view/162/riverside-beers-at-the-ivory" title="Riverside Beers at the Ivory">Riverside Beers at the Ivory</a></span>
<span class="thing-feeder-location">Tweed Heads (Australia)</span>
</div>
</div>
<div class="module-related">
<a href="" title=""></a>
</div>
<div class="module-footer">
</div>
</div> </div>
<div id="block-footer"></div>
</div> <!-- // .block -->
<script type="text/javascript">
function do_it_again(){
$('#add_another').val('true');
$('#add_another').parents('form').submit();
}
// handles the auto complete for the items page
$(function() {
function split( val ) {
return val.split( /,\s*/ );
}
function extractLast( term ) {
return split( term ).pop();
}
$( "div.item-wrappers #title" )
.bind( "keydown", function( event ) {
if ( event.keyCode === $.ui.keyCode.TAB && $( this ).data( "ui-autocomplete" ).menu.active ) {
event.preventDefault();
} else if(event.keyCode === 8 && this.value.length == 0) {
$('[id^="form-container-item"]:visible:last').slideUp(300,function(){
var restore_val = $('[id^="form-container-item"]:visible:last').find('input').val();
$('[id^="form-container-item"]:visible:last').find('input').focus().val('').val(restore_val);
});
}
})
.autocomplete({
source: function( request, response ) {
$.getJSON( '/autocomplete/item/', {
term: extractLast( request.term )
}, response );
},
search: function() {
// custom minLength
var term = extractLast(this.value);
if ( term.length < 2 ) {
return false;
}
},
focus: function() {
// prevent value inserted on focus
return false;
},
select: function( event, ui ) {
this.value = ui.item.value;
$('[id^="form-container-item"]:hidden:first').slideDown().find('input').focus();
// ui-helper-hidden-accessible
return false;
}
});
});
</script>
<div id="footer">
<div class="footer-things-to-do-container">
<div class="module footer-latest-collections" id="footer-latest-collections">
<div class="module-header">
<h3>Popular Locations</h3>
</div>
<div class="module-content yui3-g">
<ul class="yui3-u-1">
<li><a href="/collections/sydney-walks/" title="Sydney Walks">Sydney Walks</a></li>
<li><a href="/collections/rooftop-bars-in-sydney/" title="Rooftop Bars In Sydney">Rooftop Bars In Sydney</a></li>
<li><a href="/collections/jumps-into-sydney-harbour/" title="Jumps into sydney harbour">Jumps into sydney harbour</a></li>
<li><a href="/collections/things-to-do-in-surry-hills/" title="Things To Do In Surry Hills">Things To Do In Surry Hills</a></li>
<li><a href="/collections/things-to-do-in-byron-bay/" title="Things To Do In Byron Bay">Things To Do In Byron Bay</a></li>
</ul> </div>
<div class="module-related">
<a href="" title=""></a>
</div>
<div class="module-footer">
</div>
</div><div class="module popular-searches" id="popular-searches">
<div class="module-header">
<h3>Popular searches</h3>
</div>
<div class="module-content yui3-g">
<ul class="yui3-u-1">
<li><a href="/find-things-to-do/?like=Sydney" title="Sydney">Sydney</a></li>
<li><a href="/find-things-to-do/?like=food" title="food">food</a></li>
<li><a href="/find-things-to-do/?like=kids" title="kids">kids</a></li>
<li><a href="/find-things-to-do/?like=walks" title="walks">walks</a></li>
<li><a href="/find-things-to-do/?like=Shop" title="Shop">Shop</a></li>
</ul> </div>
<div class="module-related">
<a href="" title=""></a>
</div>
<div class="module-footer">
</div>
</div> <div class="module footer-things-to-do">
<div class="header">
<h2>Things to do by budget</h2>
</div> <!-- // .header -->
<div class="content">
<ul>
<li><a href="/find-things-to-do/?like=&cost=10" title="Things to do for under $10">Things to do for under $10</a></li>
<li><a href="/find-things-to-do/?like=&cost=20" title="Things to do for under $20">Things to do for under $20</a></li>
<li><a href="/find-things-to-do/?like=&cost=30" title="Things to do for under $30">Things to do for under $30</a></li>
<li><a href="/find-things-to-do/?like=&cost=40" title="Things to do for under $40">Things to do for under $40</a></li>
<li><a href="/find-things-to-do/?like=&cost=50" title="Things to do for under $50">Things to do for under $50</a></li>
</ul>
</div> <!-- // .content -->
</div>
<div class="module footer-things-to-do">
<div class="header">
<h2>How's the weather?</h2>
</div> <!-- // .header -->
<div class="content">
<ul>
<li><a href="/find-things-to-do/?like=&weathers[]=3" title="Things to do on a bad weather day">Things to do in bad weather</a></li>
<li><a href="/find-things-to-do/?like=&weathers[]=8" title="Things to do on a good weather day">Things to do in good weather</a></li>
</ul>
</div> <!-- // .content -->
</div> <!-- // .module -->
<div class="find-us">
<div class="addthis_toolbox addthis_32x32_style addthis_default_style">
<a class="addthis_button_facebook_follow" addthis:userid="thingdoer"></a>
<a class="addthis_button_twitter_follow" addthis:userid="thingdoerdotcom"></a>
<a class="addthis_button_google_follow" addthis:userid="thingdoer"></a>
<a class="addthis_button_tumblr_follow" addthis:userid="thingdoer"></a>
</div>
<script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-519e00c959f2644e"></script>
</div>
</div> <!-- // .footer-things-to-do-container -->
<div class="footer-links">
<span id="privacy-policy" style="float:right;"><a href="http://www.iubenda.com/privacy-policy/428589" class="iubenda-white iubenda-embed" title="Privacy Policy">Privacy Policy</a><script type="text/javascript">(function (w,d) {var loader = function () {var s = d.createElement("script"), tag = d.getElementsByTagName("script")[0]; s.src = "http://cdn.iubenda.com/iubenda.js"; tag.parentNode.insertBefore(s,tag);}; if(w.addEventListener){w.addEventListener("load", loader, false);}else if(w.attachEvent){w.attachEvent("onload", loader);}else{w.onload = loader;}})(window, document);</script></span>
<p>Copyright Thingdoer 2014</p>
</div>
</div> <!-- // #footer -->
</div> <!-- // #page -->
<div id="modal-overlay">
</div>
<div id="modal-window">
<div class="modal-header">
<span id="close-modal">x</span><h2 id="modal-heading"></h2>
</div>
<div class="modal-content">
</div>
</div> <!-- // #modal-window -->
</body>
</html>