picturehouse_uk 3.0.14 → 4.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +6 -3
- data/CHANGELOG.md +19 -0
- data/{LICENSE.txt → COMM-LICENSE} +0 -0
- data/LICENSE +617 -0
- data/README.md +5 -4
- data/Rakefile +12 -0
- data/lib/picturehouse_uk.rb +2 -4
- data/lib/picturehouse_uk/cinema.rb +133 -124
- data/lib/picturehouse_uk/internal/parser/address.rb +20 -8
- data/lib/picturehouse_uk/internal/parser/screenings.rb +70 -28
- data/lib/picturehouse_uk/internal/title_sanitizer.rb +61 -65
- data/lib/picturehouse_uk/performance.rb +60 -0
- data/lib/picturehouse_uk/version.rb +2 -2
- data/picturehouse_uk.gemspec +5 -6
- data/rake/fixture_creator.rb +42 -0
- data/test/fixtures/Duke_Of_Yorks/cinema.html +3408 -0
- data/test/fixtures/{info/Duke_Of_Yorks.html → Duke_Of_Yorks/info.html} +192 -185
- data/test/fixtures/Duke_Of_Yorks/whats_on.html +3159 -0
- data/test/fixtures/Dukes_At_Komedia/cinema.html +4764 -0
- data/test/fixtures/{info/Dukes_At_Komedia.html → Dukes_At_Komedia/info.html} +161 -172
- data/test/fixtures/Dukes_At_Komedia/whats_on.html +4429 -0
- data/test/fixtures/National_Media_Museum/cinema.html +9200 -0
- data/test/fixtures/National_Media_Museum/info.html +606 -0
- data/test/fixtures/National_Media_Museum/whats_on.html +8850 -0
- data/test/fixtures/Phoenix_Picturehouse/cinema.html +8274 -0
- data/test/fixtures/{info/Phoenix_Picturehouse.html → Phoenix_Picturehouse/info.html} +165 -176
- data/test/fixtures/Phoenix_Picturehouse/whats_on.html +7986 -0
- data/test/fixtures/home.html +148 -157
- data/test/lib/picturehouse_uk/cinema_test.rb +107 -136
- data/test/lib/picturehouse_uk/internal/parser/{address_parser_test.rb → address_test.rb} +3 -3
- data/test/lib/picturehouse_uk/internal/parser/screenings_test.rb +8 -10
- data/test/lib/picturehouse_uk/internal/website_test.rb +6 -3
- data/test/lib/picturehouse_uk/{screening_test.rb → performance_test.rb} +20 -44
- data/test/live/integration_test.rb +8 -25
- data/test/support/fake_website.rb +24 -0
- data/test/test_helper.rb +12 -2
- metadata +50 -49
- data/.rdoc_options +0 -16
- data/lib/picturehouse_uk/film.rb +0 -59
- data/lib/picturehouse_uk/screening.rb +0 -70
- data/test/fixture_updater.rb +0 -73
- data/test/fixtures/cinema/Duke_Of_Yorks.html +0 -2984
- data/test/fixtures/cinema/Dukes_At_Komedia.html +0 -5518
- data/test/fixtures/cinema/National_Media_Museum.html +0 -10266
- data/test/fixtures/cinema/Phoenix_Picturehouse.html +0 -5202
- data/test/fixtures/whats_on/Duke_Of_Yorks.html +0 -2737
- data/test/fixtures/whats_on/Dukes_At_Komedia.html +0 -5132
- data/test/fixtures/whats_on/National_Media_Museum.html +0 -9690
- data/test/fixtures/whats_on/Phoenix_Picturehouse.html +0 -4916
- data/test/lib/picturehouse_uk/film_test.rb +0 -141
@@ -6,10 +6,9 @@
|
|
6
6
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
7
7
|
<meta name="description" content="Picturehouse Cinemas are located in city centres and are architecturally unique venues that provide café bars, restaurants and live events alongside the traditional movie-going experience.">
|
8
8
|
<title>Picturehouses - Cinema information for Dukes At Komedia</title>
|
9
|
-
<link href="/css/picturehouse.min.css?v=1.
|
10
|
-
<link type="image/x-icon" href="/images/icons/favicon.gif" rel="shortcut icon"/>
|
11
|
-
<link type="image/x-icon" href="/images/icons/favicon.gif" rel="icon"/>
|
9
|
+
<link href="/css/picturehouse.min.css?v=1.7.8" rel="stylesheet">
|
12
10
|
<!--[if lt IE 9]>
|
11
|
+
<script src="https://cdn.polyfill.io/v1/polyfill.min.js?features=default|always"></script>
|
13
12
|
<script src="/js/vendor/html5shiv.min.js"></script>
|
14
13
|
<script src="/js/vendor/respond.min.js"></script>
|
15
14
|
<![endif]-->
|
@@ -46,7 +45,7 @@
|
|
46
45
|
<script>document.getElementsByTagName("body")[0].className += " js-enabled";</script>
|
47
46
|
<a href="#main" class="sr-only">Skip to main content</a>
|
48
47
|
|
49
|
-
<div class="interim-banner container-fluid">
|
48
|
+
<div class="interim-banner container-fluid hidden-print">
|
50
49
|
<div class="container">
|
51
50
|
<form method="post" action="/dismiss/cookies">
|
52
51
|
<button type="submit" class="pull-right close" aria-label="Close">
|
@@ -61,6 +60,12 @@
|
|
61
60
|
<div class="component header">
|
62
61
|
<div class="container navbar-global-offset hidden-xs">
|
63
62
|
<div class="row">
|
63
|
+
<form class="form-inline pull-right top-mg-xs" role="form">
|
64
|
+
<div class="form-group">
|
65
|
+
<label class="sr-only" for="search-site">Search</label>
|
66
|
+
<input type="text" class="form-control form-control-sm search-site top-mg-xs" id="search-site" placeholder="Film search">
|
67
|
+
</div>
|
68
|
+
</form>
|
64
69
|
<nav class="pull-right">
|
65
70
|
<!--
|
66
71
|
<ul class="list-inline list-icons pull-left hidden-sm">
|
@@ -68,8 +73,6 @@
|
|
68
73
|
<li><a href="#" data-icon="}" class="icon"><span class="sr-only">Email us</span></a></li>
|
69
74
|
</ul>-->
|
70
75
|
|
71
|
-
<ul class="spaced-list pull-left hide">
|
72
|
-
</ul>
|
73
76
|
|
74
77
|
<ul class="list-inline list-icons pull-left hidden-sm left-mg">
|
75
78
|
<li><a href="https://www.facebook.com/dukesatkomedia" data-icon="@" class="icon" target="_blank"><span class="sr-only">Picturehouse on Facebook</span></a></li>
|
@@ -83,8 +86,8 @@
|
|
83
86
|
<li><a href="/">Home</a></li>
|
84
87
|
<li><a href="/cinemas/">Cinemas</a></li>
|
85
88
|
<li><a href="/Picturehouse_Recommends">Recommends</a></li>
|
86
|
-
<li><a href="http://picturehouseblog.co.uk/" target="_blank">
|
87
|
-
<li><a href="http://
|
89
|
+
<li><a href="http://picturehouseblog.co.uk/" target="_blank">Blog</a></li>
|
90
|
+
<li><a href="http://www.picturehouseeducation.blogspot.co.uk/#!http://picturehouseeducation.blogspot.com/p/about-us.html" target="_blank">Education</a></li>
|
88
91
|
<li><a href="http://www.picturehouseentertainment.co.uk/" target="_blank">Picturehouse Entertainment</a></li>
|
89
92
|
</ul>
|
90
93
|
</nav>
|
@@ -109,28 +112,18 @@
|
|
109
112
|
</div>
|
110
113
|
<nav id="burger-menu" class="collapse clear">
|
111
114
|
<ul class="nav nav-pills nav-stacked">
|
112
|
-
<li
|
113
|
-
<div class="navbar-inverse">
|
114
|
-
<form class="form-inline text-right" role="form">
|
115
|
-
<div class="form-group">
|
116
|
-
<label class="sr-only" for="searchSiteMobile">Search</label>
|
117
|
-
<input type="text" class="form-control form-control-sm" id="searchSiteMobile" placeholder="Search">
|
118
|
-
</div>
|
119
|
-
<button data-icon='"' class="icon icon-inverse btn-link"></button>
|
120
|
-
</form>
|
121
|
-
</div>
|
122
|
-
</li>
|
123
|
-
<li><a href="/cinema/Dukes_At_Komedia">Cinema home</a></li>
|
115
|
+
<li><a href="/cinema/Dukes_At_Komedia">Cinema Home</a></li>
|
124
116
|
<li><a href="/cinema/Dukes_At_Komedia/Whats_On">Full listings</a></li>
|
125
|
-
|
126
|
-
<li><a href="/cinema/info/Dukes_At_Komedia#ticket-prices">Ticket
|
127
|
-
<li><a href="/cinema/info/Dukes_At_Komedia#access">Access</a></li>
|
128
|
-
<li><a href="/cinema/info/Dukes_At_Komedia">Cinema
|
117
|
+
<li><a href="/cinema/Dukes_At_Komedia/buy-membership">Membership</a></li>
|
118
|
+
<li><a href="/cinema/info/Dukes_At_Komedia#ticket-prices">Ticket Prices</a></li>
|
119
|
+
<li><a href="/cinema/info/Dukes_At_Komedia#disabled-access">Access</a></li>
|
120
|
+
<li><a href="/cinema/info/Dukes_At_Komedia">Cinema Information</a></li>
|
129
121
|
<li class="nav-darker"><a href="/">Home</a></li>
|
130
122
|
<li class="nav-darker"><a href="/cinemas">Cinemas</a></li>
|
131
|
-
<li class="nav-darker"><a href="/
|
132
|
-
<li class="nav-darker"><a href="http://
|
133
|
-
<li class="nav-darker"><a href="http://www.
|
123
|
+
<li class="nav-darker"><a href="/Picturehouse_Recommends">Recommends</a></li>
|
124
|
+
<li class="nav-darker"><a href="http://picturehouseblog.co.uk/" target="_blank">Blog</a></li>
|
125
|
+
<li class="nav-darker"><a href="http://www.picturehouseeducation.blogspot.co.uk/#!http://picturehouseeducation.blogspot.com/p/about-us.html" target="_blank">Education</a></li>
|
126
|
+
<li class="nav-darker"><a href="http://www.picturehouseentertainment.co.uk/" target="_blank">Picturehouse Entertainment</a></li>
|
134
127
|
</ul>
|
135
128
|
</nav>
|
136
129
|
</div>
|
@@ -142,16 +135,14 @@
|
|
142
135
|
<div class="row">
|
143
136
|
<nav class="pull-left">
|
144
137
|
<ul class="spaced-list spaced-list-inverse">
|
145
|
-
<li><a href="/cinema/Dukes_At_Komedia">Cinema
|
146
|
-
|
147
|
-
<li><a href="/cinema/info/Dukes_At_Komedia#membership">Membership</a></li>
|
138
|
+
<li><a href="/cinema/Dukes_At_Komedia">Cinema Home</a></li>
|
139
|
+
<li><a href="/cinema/Dukes_At_Komedia/Whats_On">Full listings</a></li>
|
148
140
|
|
141
|
+
<li><a href="/cinema/Dukes_At_Komedia/buy-membership">Membership</a></li>
|
149
142
|
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
<li><a href="/cinema/info/Dukes_At_Komedia">Cinema information</a></li>
|
154
|
-
|
143
|
+
<li><a href="/cinema/info/Dukes_At_Komedia#ticket-prices">Ticket Prices</a></li>
|
144
|
+
<li><a href="/cinema/info/Dukes_At_Komedia#disabled-access">Access</a></li>
|
145
|
+
<li><a href="/cinema/info/Dukes_At_Komedia">Cinema Information</a></li>
|
155
146
|
</ul>
|
156
147
|
</nav>
|
157
148
|
</div>
|
@@ -179,10 +170,10 @@
|
|
179
170
|
<h1 id="dukes-at-komedia">Dukes at Komedia</h1>
|
180
171
|
<h2 id="contact-us">Contact Us</h2>
|
181
172
|
<p>Duke’s at Komedia, Brighton<br>44–47 Gardner Street<br>Brighton<br>East Sussex<br>BN1 1UN</p>
|
182
|
-
<p>Box Office Number: 0871 902 5728<br>Email: <a href="mailto:dukesatkomedia@picturehouses.co.uk">dukesatkomedia@picturehouses.co.uk</a><br>General Manager: Jess Harris</p>
|
173
|
+
<p>Box Office Number: 0871 902 5728 (calls cost 13p per minute plus your telephone company's access charge)<br>Email: <a href="mailto:dukesatkomedia@picturehouses.co.uk">dukesatkomedia@picturehouses.co.uk</a><br>General Manager: Jess Harris</p>
|
183
174
|
<hr>
|
184
175
|
<h2 id="box-office">Box Office</h2>
|
185
|
-
<p>The cinema will open at least 15 minutes before the start of the first film each day.<br>Our telephone lines are open 9.
|
176
|
+
<p>The cinema will open at least 15 minutes before the start of the first film each day.<br>Our telephone lines are open from 9.00am to 8.30pm, seven days a week. Please call 0871 902 5728 (calls cost 13p per minute plus your telephone company's access charge).</p>
|
186
177
|
<p>You can book tickets online by clicking on the time of a film.</p>
|
187
178
|
<p>Admission is subject to our <a href="/Terms">Terms of Admission</a>.</p>
|
188
179
|
<hr>
|
@@ -205,15 +196,14 @@
|
|
205
196
|
<li>10% off the Member’s food and drinks</li>
|
206
197
|
<li>Picturehouse publications posted to your home (worth £8) (not included in Student Membership)</li>
|
207
198
|
<li>Discounts at all Picturehouse Cinemas nationwide</li>
|
208
|
-
<li>
|
199
|
+
<li>Two free Jamesons on sign-up and 20% off Jameson all year round</li>
|
209
200
|
<li>No booking fees</li>
|
210
201
|
</ul>
|
211
202
|
<h5 id="plus">Plus</h5>
|
212
203
|
<ul>
|
213
|
-
<li>
|
214
|
-
<li>20% off your total bill at <a href="http://www.strada.co.uk/">Strada</a> (up to four people, offer excludes any alcohol discount)</li>
|
204
|
+
<li>A three month subscription to <a href="https://mubi.com/picturehouse_90">MUBI</a> to watch films online.</li>
|
215
205
|
<li>25% off your total bill at <a href="http://www.gbk.co.uk/">Gourmet Burger Kitchen</a> (up to four people, excludes Bluewater)</li>
|
216
|
-
<li>50% off membership of <a href="https://shootingpeople.org/home">Shooting People</a>, the network for independent film</li>
|
206
|
+
<li>50% off membership of <a href="https://shootingpeople.org/home">Shooting People</a>, the network for independent film (new sign ups only)</li>
|
217
207
|
<li>10% off an annual subscription to <a href="http://www.littlewhitelies.co.uk/">Little White Lies</a> movie magazine</li>
|
218
208
|
<li>10% off your total bill at <a href="http://www.hotelchocolat.co.uk/">Hotel Chocolat</a> (in store only)</li>
|
219
209
|
<li>20% off food at <a href="http://www.giraffe.net/">Giraffe</a>, all day Monday – Friday and after 6.00 on Sunday (excludes Castleford, James Street London, King's Cross Station and airports; Valentine's Day, Mother's Day, Father's Day and Bank Holidays. One card per table. Not valid for set menus)</li>
|
@@ -221,7 +211,10 @@
|
|
221
211
|
<p><strong>Retired Membership</strong><br>Available to those who are over 60 and retired. You must bring proof of status to the cinema.</p>
|
222
212
|
<p><strong>Student Membership</strong><br>Available to those in full-time or part-time secondary or higher education (age 15+), including mature students. You must bring proof of status to the cinema. <a href="#student-membership">Find out more</a></p>
|
223
213
|
<p>For full details, and to buy or renew your Membership, call 0871 902 5728 or visit your local Picturehouse.</p>
|
224
|
-
<
|
214
|
+
<h2 id="-membership-helpline-picturehouse_membership-"><a href="/Picturehouse_Membership">Membership Helpline</a></h2>
|
215
|
+
<p>Members can call a dedicated helpline for anything concerning their Picturehouse Membership. Whether you want to find out when your Membership expires, check how many free tickets you have left or simply discuss your benefits and renewal options, we are here to help on <strong>020 7733 2229</strong>.</p>
|
216
|
+
<p><strong>Please note that while you can renew your Membership on this helpline, you cannot book tickets on this number</strong>. To book tickets, please call 0871 902 5747 (calls cost 13p per minute plus your telephone company’s access charge).</p>
|
217
|
+
<p><a href="/Terms/Terms_and_Conditions#membership">Terms and Conditions</a></p>
|
225
218
|
<hr>
|
226
219
|
<h2 id="local-partners">Local Partners</h2>
|
227
220
|
<p>Your <strong>Duke’s @ Komedia Picturehouse</strong> Membership also entitles you to the following discounts and offers:</p>
|
@@ -259,59 +252,59 @@ See the best in theatre, dance and opera for the measly sum of £10, and take a
|
|
259
252
|
<p>Only available on the day of the screening. Tickets must be booked in person. This offer is subject to availability.</p>
|
260
253
|
<hr>
|
261
254
|
<h2 id="gift-cards">Gift Cards</h2>
|
262
|
-
<p>Our <strong>Gift Cards</strong> can be used to buy anything for sale in any Picturehouse Cinema
|
263
|
-
<p><strong>They're simple, flexible
|
255
|
+
<p>Our <strong>Gift Cards</strong> can be used to buy anything for sale in any Picturehouse Cinema - whether it's a ticket or two for a cracking film or a cup of coffee in one of our café bars. </p>
|
256
|
+
<p><strong>They're simple, flexible, top-up-able!</strong></p>
|
264
257
|
<p><strong>Using Gift Cards at the cinema</strong><br>You can use your Gift Card to purchase anything for sale. The exact amount will be taken off the card, and any money left over will remain on the card for another time. If there isn’t enough money on the card to cover your purchase, just pay by another method. There are no time limits on the card.</p>
|
265
|
-
<p
|
258
|
+
<p>Gift Cards can only be used at Box Office and cannot be used over the phone or online.</p>
|
266
259
|
<hr>
|
267
260
|
<h2 id="ticket-prices">Ticket Prices</h2>
|
268
|
-
<p>Peak
|
261
|
+
<p><strong>Peak</strong><br>Mon, Wed, Thu, Fri; all day Sat & Sun</p>
|
269
262
|
<ul>
|
270
|
-
<li>Adult £10.
|
271
|
-
<li>Member £8.
|
272
|
-
<li>Retired £9.
|
273
|
-
<li>Retired Member £7.
|
274
|
-
<li>Student £9.
|
275
|
-
<li>Student Member £7.
|
263
|
+
<li>Adult £10.50</li>
|
264
|
+
<li>Member £8.50</li>
|
265
|
+
<li>Retired £9.50</li>
|
266
|
+
<li>Retired Member £7.50</li>
|
267
|
+
<li>Student £9.50</li>
|
268
|
+
<li>Student Member £7.50</li>
|
276
269
|
<li>Child £6.00</li>
|
277
270
|
<li>Family £28.00</li>
|
278
271
|
</ul>
|
279
|
-
<p>Matinees
|
272
|
+
<p><strong>Matinees & Late-night Shows</strong><br>Mon, Wed, Thu, Fri</p>
|
280
273
|
<ul>
|
281
|
-
<li>Adult 9.
|
282
|
-
<li>Member £7.
|
283
|
-
<li>Retired £8.
|
284
|
-
<li>Retired Member £6.
|
285
|
-
<li>Student £8.
|
286
|
-
<li>Student Member £6.
|
274
|
+
<li>Adult £9.50</li>
|
275
|
+
<li>Member £7.50</li>
|
276
|
+
<li>Retired £8.50</li>
|
277
|
+
<li>Retired Member £6.50</li>
|
278
|
+
<li>Student £8.50</li>
|
279
|
+
<li>Student Member £6.50</li>
|
287
280
|
<li>Child £6.00</li>
|
288
281
|
<li>Family £26.00</li>
|
289
282
|
</ul>
|
290
|
-
<p>
|
283
|
+
<p><strong>All day Tuesday</strong></p>
|
291
284
|
<ul>
|
292
285
|
<li>Adult £7.00</li>
|
293
286
|
<li>Member £5.00</li>
|
294
|
-
<li>Retired £
|
295
|
-
<li>Retired Member £
|
296
|
-
<li>Student £
|
297
|
-
<li>Student Member £
|
298
|
-
<li>Child £
|
299
|
-
<li>Family £
|
287
|
+
<li>Retired £7.00</li>
|
288
|
+
<li>Retired Member £5.00</li>
|
289
|
+
<li>Student £7.00</li>
|
290
|
+
<li>Student Member £5.00</li>
|
291
|
+
<li>Child £5.00</li>
|
292
|
+
<li>Family £19.00</li>
|
300
293
|
</ul>
|
301
294
|
<h3 id="family-tickets">Family Tickets</h3>
|
302
295
|
<p>Four tickets: two adults and two children, or one adult and three children. Includes a Kids' Combo popcorn and drink for each child.</p>
|
303
296
|
<h3 id="silver-screen-club">Silver Screen Club</h3>
|
304
|
-
<p>For the over-60s. Membership is free, and members can enjoy a free tea or coffee and biscuits at the weekly Silver Screen shows. Silver Screen members’ tickets are £5 for Silver Screen shows. Non-members are also welcome – the usual ticket prices apply. </p>
|
305
|
-
<h3 id="big-scream
|
306
|
-
<p>For parents and guardians with babies under one year old. Membership is
|
297
|
+
<p>For the over-60s. Membership is free, and members can enjoy a free tea or coffee and biscuits at the weekly Silver Screen shows. Silver Screen members’ tickets are £5.50 for Silver Screen shows. Non-members are also welcome – the usual ticket prices apply. </p>
|
298
|
+
<h3 id="big-scream">Big Scream</h3>
|
299
|
+
<p>For parents and guardians with babies under one year old. Membership is free and valid until the baby’s first birthday. Tickets are at the usual matinee prices, babies come free. Only customers with babies will be admitted.</p>
|
307
300
|
<h3 id="toddler-time">Toddler Time</h3>
|
308
|
-
<p>For preschool children and their parents and
|
301
|
+
<p>For preschool children and their parents and carers. Tickets are £3 for children, free for accompanying adults. No adult unaccompanied by a toddler will be admitted.</p>
|
309
302
|
<h3 id="unemployed">Unemployed</h3>
|
310
|
-
<p>
|
303
|
+
<p>The unemployed can purchase a ticket at child ticket prices Tuesday to Thursday before 4.00pm.</p>
|
311
304
|
<h3 id="kids-club">Kids' Club</h3>
|
312
|
-
<p>For children aged three to 12.
|
305
|
+
<p>For children aged three to 12. Tickets for children and accompanying adults are £1.50 each. No adult unaccompanied by a child will be admitted.</p>
|
313
306
|
<h3 id="autism-friendly-screenings">Autism-Friendly Screenings</h3>
|
314
|
-
<p>All tickets for Autism-Friendly Screenings are £3
|
307
|
+
<p>All tickets for Autism-Friendly Screenings are £3.00</p>
|
315
308
|
<h3 id="schools-screenings">Schools' Screenings</h3>
|
316
309
|
<p>Schools’ screenings are £3.50 per pupil, or £4 for premium films. Accompanying teachers come free.
|
317
310
|
To request information on our schools' programme or to organise a trip, please contact <a href="http://cinemaplus.org.uk/schools-screenings-primary/">Cinema Plus</a>.</p>
|
@@ -319,7 +312,7 @@ To request information on our schools' programme or to organise a trip, plea
|
|
319
312
|
<p>£4 for all tickets.
|
320
313
|
To request a community group visit to a film in our main programme, please contact the Picturehouse Education department.</p>
|
321
314
|
<h3 id="3d-screenings">3D Screenings</h3>
|
322
|
-
<p>3D films cost £
|
315
|
+
<p>3D films cost £1.30 extra per person, not including 3D glasses. These cost an additional 70p, and can be purchased at the cinema if you do not have your own.</p>
|
323
316
|
<p><strong>Student tickets</strong> are available to those in full-time secondary or higher education.</p>
|
324
317
|
<p><strong>Retired tickets</strong> are available to those over 60 who are retired.</p>
|
325
318
|
<p><strong>Child tickets</strong> are available to those under 15.</p>
|
@@ -350,27 +343,29 @@ To request a community group visit to a film in our main programme, please conta
|
|
350
343
|
<div class="container">
|
351
344
|
<div class="row">
|
352
345
|
<div class="col-xs-12 col-sm-9">
|
353
|
-
<ul class="spaced-list">
|
346
|
+
<ul class="spaced-list btm-mg-sm">
|
354
347
|
<li><a href="/Privacy" target="_blank">Privacy & Data Protection</a></li>
|
355
|
-
<li><a href="/Terms/Terms_And_Conditions" target="_blank">
|
348
|
+
<li><a href="/Terms/Terms_And_Conditions" target="_blank">Competition T&Cs</a></li>
|
356
349
|
<li><a href="/Terms" target="_blank">Terms of Admission</a></li>
|
357
350
|
<li><a href="/Contact">Contact Us</a></li>
|
358
351
|
<li><a href="/Contact#jobs" target="_blank">Jobs</a></li>
|
359
352
|
<li><a href="/FAQs" target="_blank">FAQs</a></li>
|
360
|
-
<li><a href="http://corporate.picturehouses.co.uk/venue-hire/" target="_blank">Venue
|
353
|
+
<li><a href="http://corporate.picturehouses.co.uk/venue-hire/" target="_blank">Venue Hire</a></li>
|
354
|
+
<li><a href="http://corporate.picturehouses.co.uk/" target="_blank">Corporate</a></li>
|
361
355
|
</ul>
|
362
356
|
</div>
|
363
357
|
<div class="col-xs-12 col-sm-3 pull-right">
|
364
358
|
<select name="select-cinema" title="Select cinema" id="select-cinema" class="form-control btm-mg" data-auto-link="true">
|
365
359
|
<option value="">Select a cinema</option>
|
366
360
|
<option data-href="/cinema/Clapham_Picturehouse">London — Clapham Picturehouse</option>
|
361
|
+
<option data-href="/cinema/Crouch_End_Picturehouse">London — Crouch End Picturehouse</option>
|
367
362
|
<option data-href="/cinema/East_Dulwich_Picturehouse">London — East Dulwich</option>
|
368
363
|
<option data-href="/cinema/Gate_Picturehouse">London — Gate Picturehouse</option>
|
369
364
|
<option data-href="/cinema/Greenwich_Picturehouse">London — Greenwich Picturehouse</option>
|
370
365
|
<option data-href="/cinema/Hackney_Picturehouse">London — Hackney Picturehouse</option>
|
371
366
|
<option data-href="/cinema/Picturehouse_Central">London — Picturehouse Central</option>
|
372
367
|
<option data-href="/cinema/Ritzy_Picturehouse">London — The Ritzy</option>
|
373
|
-
<option data-href="/cinema/Stratford_London">London — Stratford Picturehouse</option>
|
368
|
+
<option data-href="/cinema/Stratford_London">Stratford, London — Stratford Picturehouse</option>
|
374
369
|
<option data-href="/cinema/The_Little">Bath — Little Theatre Cinema</option>
|
375
370
|
<option data-href="/cinema/National_Media_Museum">Bradford — Bradford at National Media Museum</option>
|
376
371
|
<option data-href="/cinema/Duke_Of_Yorks">Brighton — Duke of York's Picturehouse</option>
|
@@ -392,7 +387,7 @@ To request a community group visit to a film in our main programme, please conta
|
|
392
387
|
<p>Picturehouse Cinemas Limited is a limited company registered in England as company number 2310403 and its registered office is Power Road Studios, 114 Power Road, Chiswick, London, W4 5PY.</p>
|
393
388
|
<p>© 2015 Picturehouse Cinemas Ltd.</p>
|
394
389
|
</div>
|
395
|
-
|
390
|
+
|
396
391
|
</div>
|
397
392
|
</div>
|
398
393
|
</div>
|
@@ -400,106 +395,72 @@ To request a community group visit to a film in our main programme, please conta
|
|
400
395
|
|
401
396
|
<!-- TODO: Server side include modal window if needed -->
|
402
397
|
|
403
|
-
|
404
|
-
<script src="/
|
405
|
-
<script src="/
|
406
|
-
<script src="/
|
407
|
-
<script src="/
|
398
|
+
<!-- CDN links -->
|
399
|
+
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
|
400
|
+
<script src="//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.2.0/js/bootstrap.min.js"></script>
|
401
|
+
<script src="//cdnjs.cloudflare.com/ajax/libs/knockout/3.3.0/knockout-min.js"></script>
|
402
|
+
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery.cycle2/20140415/jquery.cycle2.min.js"></script>
|
408
403
|
<script src="/js/vendor/jquery.cycle2.carousel.min.js"></script>
|
409
404
|
<script>$.fn.cycle.defaults.autoSelector = '.slideshow';</script>
|
410
405
|
|
406
|
+
<script src="/js/vendor/jquery.rateit.min.js"></script>
|
407
|
+
<script src="/js/vendor/jquery-ui.min.js"></script>
|
408
|
+
<script src="/js/vendor/bind.js"></script>
|
409
|
+
<script>
|
410
|
+
var cinemaId = parseInt("019", 10);
|
411
|
+
</script>
|
412
|
+
|
413
|
+
<script src="/js/picturehouse.min.js?v=1.7.8"></script>
|
414
|
+
|
415
|
+
|
411
416
|
<!-- KnockoutJS ViewModels -->
|
412
|
-
<script src="/js/viewmodels/basket.js"></script>
|
413
|
-
<script src="/js/viewmodels/seating.js"></script>
|
417
|
+
<script src="/js/viewmodels/basket.js?v=1.7.8"></script>
|
418
|
+
<script src="/js/viewmodels/seating.js?v=1.7.8"></script>
|
414
419
|
|
415
420
|
<script type="text/javascript">
|
416
421
|
// Create closure.
|
417
422
|
(function( $ ) {
|
423
|
+
'user strict';
|
418
424
|
|
419
|
-
|
420
|
-
$('[data-toggle="tooltip"]').tooltip({});
|
421
|
-
|
422
|
-
$('.nav-collapse')
|
423
|
-
.on('show.bs.collapse', function () {
|
424
|
-
var $element = $(this);
|
425
|
-
var $parent = $element.parent();
|
426
|
-
$parent.prev().css("width", "0");
|
427
|
-
$parent.removeClass("col-sm-9");
|
428
|
-
|
429
|
-
// If there is a data-iframe attribute, then load this in to an iframe
|
430
|
-
if ($element.find("[data-iframe]").length > 0) {
|
431
|
-
var $iframeContainer = $element.find("[data-iframe]");
|
432
|
-
var iframe = $('<iframe>', {
|
433
|
-
"src": $iframeContainer.data("iframe"),
|
434
|
-
"frameborder": "0",
|
435
|
-
"allowfullscreen": ""
|
436
|
-
});
|
437
|
-
$iframeContainer.append(iframe);
|
438
|
-
$iframeContainer.removeAttr("data-iframe");
|
439
|
-
}
|
440
|
-
})
|
441
|
-
.on('hide.bs.collapse', function () {
|
442
|
-
var $parent = $(this).parent();
|
443
|
-
$parent.prev().css("width", "");
|
444
|
-
$parent.addClass("col-sm-9");
|
445
|
-
});
|
446
|
-
|
447
|
-
if ($( "#cinema-search" ).length) {
|
425
|
+
if ($( '#cinema-search' ).length) {
|
448
426
|
// TODO: Will this be dynamically pulled from db?
|
449
427
|
var availableTags = [
|
450
|
-
|
451
|
-
|
452
|
-
|
453
|
-
|
454
|
-
|
455
|
-
|
456
|
-
|
457
|
-
|
458
|
-
|
459
|
-
|
460
|
-
|
461
|
-
|
462
|
-
|
463
|
-
|
464
|
-
|
465
|
-
|
466
|
-
|
467
|
-
|
468
|
-
|
469
|
-
|
470
|
-
|
471
|
-
|
472
|
-
|
473
|
-
|
474
|
-
|
475
|
-
|
476
|
-
|
477
|
-
|
478
|
-
|
479
|
-
|
480
|
-
|
481
|
-
$('#quickbook-popover').popover({
|
482
|
-
html : true,
|
483
|
-
content: function() {
|
484
|
-
return $("#quickbook-popover-content").html();
|
485
|
-
}
|
486
|
-
});
|
487
|
-
|
488
|
-
$('[data-hide-element]').each(function() {
|
489
|
-
var $element = $(this);
|
490
|
-
var tabToHide = $element.data("hideElement");
|
491
|
-
|
492
|
-
|
493
|
-
setTimeout(
|
494
|
-
function(){ $element.children().eq(tabToHide - 1).removeClass("active"); },
|
495
|
-
1
|
496
|
-
);
|
497
|
-
});
|
428
|
+
{ id: "Clapham_Picturehouse", label: "London - Clapham Picturehouse" },
|
429
|
+
{ id: "Crouch_End_Picturehouse", label: "London - Crouch End Picturehouse" },
|
430
|
+
{ id: "East_Dulwich_Picturehouse", label: "London - East Dulwich" },
|
431
|
+
{ id: "Gate_Picturehouse", label: "London - Gate Picturehouse" },
|
432
|
+
{ id: "Greenwich_Picturehouse", label: "London - Greenwich Picturehouse" },
|
433
|
+
{ id: "Hackney_Picturehouse", label: "London - Hackney Picturehouse" },
|
434
|
+
{ id: "Picturehouse_Central", label: "London - Picturehouse Central" },
|
435
|
+
{ id: "Ritzy_Picturehouse", label: "London - The Ritzy" },
|
436
|
+
{ id: "Stratford_London", label: "Stratford, London - Stratford Picturehouse" },
|
437
|
+
{ id: "The_Little", label: "Bath - Little Theatre Cinema" },
|
438
|
+
{ id: "National_Media_Museum", label: "Bradford - Bradford at National Media Museum" },
|
439
|
+
{ id: "Duke_Of_Yorks", label: "Brighton - Duke of York's Picturehouse" },
|
440
|
+
{ id: "Dukes_At_Komedia", label: "Brighton - Duke's at Komedia" },
|
441
|
+
{ id: "Arts_Picturehouse_Cambridge", label: "Cambridge - Arts Picturehouse Cambridge" },
|
442
|
+
{ id: "Cameo_Picturehouse", label: "Edinburgh - The Cameo" },
|
443
|
+
{ id: "Exeter_Picturehouse", label: "Exeter - Exeter Picturehouse" },
|
444
|
+
{ id: "Regal_Picturehouse", label: "Henley - Regal Picturehouse" },
|
445
|
+
{ id: "Cinema_City", label: "Norwich - Cinema City" },
|
446
|
+
{ id: "Picturehouse_At_Fact", label: "Liverpool - Picturehouse at FACT" },
|
447
|
+
{ id: "Phoenix_Picturehouse", label: "Oxford - Phoenix Picturehouse" },
|
448
|
+
{ id: "Harbour_Lights", label: "Southampton - Harbour Lights" },
|
449
|
+
{ id: "Stratford_Upon_Avon", label: "Stratford Upon Avon - Stratford Upon Avon" },
|
450
|
+
{ id: "York_Picturehouse", label: "York - City Screen Picturehouse" },
|
451
|
+
];
|
452
|
+
$( "#cinema-search" ).autocomplete({
|
453
|
+
source: availableTags,
|
454
|
+
select: function( event, ui ) {
|
455
|
+
window.location = "/cinema/" + ui.item.id;
|
456
|
+
}
|
457
|
+
});
|
458
|
+
}
|
498
459
|
|
499
460
|
})( jQuery );
|
500
461
|
</script>
|
501
462
|
|
502
|
-
|
463
|
+
<div class="modal fade in" id="sign-in-modal" aria-hidden="false">
|
503
464
|
<div class="modal-dialog">
|
504
465
|
<div class="modal-content">
|
505
466
|
<div class="modal-header">
|
@@ -509,14 +470,17 @@ To request a community group visit to a film in our main programme, please conta
|
|
509
470
|
<div class="modal-body">
|
510
471
|
<form method="post" action="/sign-in">
|
511
472
|
<div class="form-group">
|
512
|
-
<label for="
|
513
|
-
<input type="text" name="number" id="number" class="form-control" value=""
|
473
|
+
<label for="number">Email:</label>
|
474
|
+
<input type="text" name="number" id="number" class="form-control" value="" required />
|
514
475
|
</div>
|
515
476
|
<div class="form-group">
|
516
|
-
<label for="
|
517
|
-
|
477
|
+
<label for="membership-password">
|
478
|
+
Password:<br />
|
479
|
+
<small>This may be your surname if you have not set a password before.</small>
|
480
|
+
</label>
|
481
|
+
<input type="password" name="membership-password" id="membership-password" class="form-control" required />
|
518
482
|
</div>
|
519
|
-
<p class="text-right"><a href="
|
483
|
+
<p class="text-right"><a target="_blank" href="http://ticketing.picturehouses.com/Browsing/Loyalty/ForgotPassword">Forgotten password?</a></p>
|
520
484
|
<!-- <div class="form-group">
|
521
485
|
<div class="checkbox">
|
522
486
|
<label for="account-remember">
|
@@ -529,9 +493,34 @@ To request a community group visit to a film in our main programme, please conta
|
|
529
493
|
<button type="submit" class="btn btn-primary pull-right">Sign in</button>
|
530
494
|
</div>
|
531
495
|
</form>
|
532
|
-
</div>
|
496
|
+
</div>
|
497
|
+
</div>
|
533
498
|
</div>
|
534
499
|
</div>
|
535
|
-
|
500
|
+
|
501
|
+
<div class="modal fade in" id="member-priority-modal" aria-hidden="false">
|
502
|
+
<div class="modal-dialog">
|
503
|
+
<div class="modal-content">
|
504
|
+
<div class="modal-header">
|
505
|
+
<p class="h2 display-inline">Verify membership number</p>
|
506
|
+
<a href="#" data-icon="V" class="icon pull-right" data-dismiss="modal"><span class="sr-only">Close</span></a>
|
507
|
+
</div>
|
508
|
+
<div class="modal-body">
|
509
|
+
<form method="post" action="/verify-member">
|
510
|
+
<div class="form-group">
|
511
|
+
<label for="number">Membership number:</label>
|
512
|
+
<input type="text" name="number" id="number" class="form-control" value="" required />
|
513
|
+
</div>
|
514
|
+
|
515
|
+
<div class="clearfix top-mg-lg">
|
516
|
+
<button type="submit" class="btn btn-primary pull-right">Verify</button>
|
517
|
+
</div>
|
518
|
+
</form>
|
519
|
+
</div>
|
520
|
+
</div>
|
521
|
+
</div>
|
522
|
+
</div>
|
523
|
+
|
524
|
+
|
536
525
|
</body>
|
537
|
-
</html>
|
526
|
+
</html>
|