-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathcity.template
322 lines (282 loc) · 16.9 KB
/
city.template
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
<!DOCTYPE html>
<html>
<head>
<title>1984Day.com - Rally for Privacy in <%=city.name%> on Sunday, 8/4</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta property="og:title" content="This Sunday, rally against surveillance in <%=city.name%>." />
<meta property="og:description" content="Thousands plan to rally across major US cities this Sunday, including in <%=city.name%>. Take part in our democracy: promote privacy and protest the NSA's unconstitutional surveillance." />
<meta property="og:type" content="cause" />
<meta property="og:url" content="http://1984day.com/<%=citySlug%>/" />
<meta property="og:image" content="http://1984Day.com/img/1984/facebook.jpg" />
<!-- Styles -->
<link rel="stylesheet" type="text/css" href="../css/styles.css">
<link href='http://fonts.googleapis.com/css?family=Lato:300,400,700,900,300italic,400italic,700italic,900italic' rel='stylesheet' type='text/css'>
<meta name="city" content="<%=citySlug%>" />
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
</head>
<body class="pull_top event">
<div class="navbar transparent navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container">
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</a>
<a class="brand" href="/">
<strong>1984 DAY</strong>
</a>
<div class="nav-collapse collapse">
<ul class="nav pull-right">
<li><a href="/" class="">HOME</a></li>
<li><a cityslug="san-francisco" href="../san-francisco">SAN FRANCISCO</a></li>
<li><a cityslug="new-york" href="../new-york">NEW YORK</a></li>
<li><a cityslug="los-angeles" href="../los-angeles">LOS ANGELES</a></li>
<li><a cityslug="san-diego" href="../san-diego">SAN DIEGO</a></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
MORE
<b class="caret"></b>
</a>
<ul class="dropdown-menu">
<li><a cityslug="sacramento" href="../sacramento">Sacramento, CA</a></li>
<li><a cityslug="washington-dc" href="../washington-dc">Washington, DC</a></li>
<li><a cityslug="savannah" href="../savannah">Savannah, GA</a></li>
<li><a cityslug="boston" href="../boston">Boston, MA</a></li>
<li><a cityslug="buffalo" href="../buffalo">Buffalo, NY</a></li>
<li><a cityslug="sunbury" href="../sunbury">Sunbury, PA</a></li>
<li><a cityslug="austin" href="../austin">Austin, TX</a></li>
<li><a cityslug="raleigh" href="../raleigh">Raleigh, NC</a></li>
<li><a cityslug="carson-city" href="../carson-city">Carson City, NV</a></li>
<li><a cityslug="bellingham" href="../bellingham">Bellingham, WA</a></li>
<li><a cityslug="iowa-city" href="../iowa-city">Iowa City, IA</a></li>
<li><a cityslug="st-louis" href="../st-louis">St. Louis, MO</a></li>
<li><a cityslug="philadelphia-pa" href="../philadelphia-pa">Philadelphia, PA</a></li>
<li><a cityslug="salt-lake-city" href="../salt-lake-city">Salt Lake City, UT</a></li>
<li><a cityslug="san-antonio" href="../san-antonio">San Antonio, TX</a></li>
<li><a cityslug="dallas" href="../dallas">Dallas, TX</a></li>
</ul>
</li>
<!--<li><a href="http://restorethefourth.net/">ABOUT</a></li>-->
</ul>
</div>
</div>
</div>
</div>
<!-- Sign In Option 1 -->
<div id="sign_up1">
<div class="container">
<div class="row">
<div class="span12 header">
<h4>Rally Against Surveillance this Sunday in <%= city.name %></h4>
<div class="span3 division" style="border-top: 1px solid rgb(104, 167, 196); margin: 30px auto 30px"></div>
<p><strong>This <%= city.custom_date ? city.custom_date : 'Sunday is 8/4' %>. We're declaring it "1984 Day" and rallying for privacy.</strong></p>
<p>Join thousands of US citizens across the country and protest surveillance<%= city.customtext%>.</p>
<div class="span3 division" style="border-top: 1px solid rgb(104, 167, 196); margin: 30px auto 30px"></div>
<% if(city.event_id) { %>
<a data-event-id="<%= city.event_id%>" href="https://www.facebook.com/events/<%= city.event_id%>/" target="_blank" id="revp">
<img onmouseover="this.src='/img/1984/rsvp-hover.png'" onmouseout="this.src='/img/1984/rsvp.png'" src="/img/1984/rsvp.png" />
</a>
<% }
else { %>
<a href="<%= city.event_url%>/" target="_blank" id="revp">
<img src="/img/1984/eventpage.png" />
</a>
<% }; %>
</div>
</div>
</div>
</div>
<div id="clients">
<div class="container">
<p style="text-align: center;font-size:32px;margin-top:10px; margin-left:-30px; line-height:140%" class="attending"></p>
<!-- <div class="section_header">
<h3 title="Sample tooltip" class="tooltipa">Share this page</h3>
</div>-->
<div class="row" style="margin-top: 20px;">
<br />
<div style="clear: both;"></div>
<div class="row" id="eventdetails">
<p><strong>Time and location:</strong> <%=city.time%> at <%=city.where%>, <%=city.name%></p>
<% if(city.speakers) {
var speakers = _.map(city.speakers, function(speaker){return speaker.name}).join(', ');
%>
<p><strong>Speakers:</strong> <%=speakers%></p>
<% }; %>
<p style="padding-top:30px; font-size:25px"><strong>Share this event with your friends:</strong></p>
</div>
<div id="socfooter" class="down" style="width: 186px; margin: auto; padding-top:50px">
<a href="https://twitter.com/home?status=This Sunday, thousands around the country are rallying against surveillance. Join the event in <%=city.name%> -> http://1984day.com/<%=citySlug%>" count="0" target="_blank" id="tweet-box" class="twitter-button social-count">
<div id="stwit"></div>
</a>
<a href="https://www.facebook.com/share.php?u=http://1984day.com/<%=citySlug%>&t=This Sunday, thousands around the country are rallying against surveillance. Join the event in <%=city.name%> ->" count="0" target="_blank" id="facebook" class="social-count facebook-button">
<div id="sfb"></div>
</a>
<a count="0" href="https://plus.google.com/share?url=http://1984day.com/<%=citySlug%>" id="gplus" target="_blank" class="social-count google-button">
<div id="sgplus" ></div>
</a>
</div>
<div style="clear: both;"></div>
</div>
</div>
<% if(city.speakers) { %>
<div id="features" class="features_page">
<div class="container">
<div class="feature_wrapper option3">
<div class="section_header">
<h3>Speakers</h3>
</div>
<!-- Features Row -->
<div class="row">
<!-- Feature -->
<%
var i = 1;
_.each(city.speakers,function(speaker){ %>
<div class="span4 feature <%= i % 3 === 0 ? 'last' : '' %>">
<div class="img">
<img src="/img/1984/<%= speaker.img %>">
</div>
<div class="text">
<h6><%= speaker.name %></h6>
<p>
<%= speaker.description %>
</p>
</div>
</div>
<% i++; }); %>
</div>
</div>
</div>
</div>
</div>
<% }; %>
<!-- START GOOGLE MAP -->
<div style="clear: both;"></div>
<div style="width:100%;height:600px; margin-top: 30px;"><iframe width="100%" height="600px" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=<%= city.where !=='TBA' ? (city.exactwhere ? city.exactwhere : city.where) + ' ' + city.name + '&z=16' : city.name + '&z=16' %> &ie=UTF8&t=m&iwloc=near&output=embed"></iframe></div>
<div style="clear: both;"></div>
<!-- END GOOGLE MAP -->
<div id="features">
<div class="container">
<div class="section_header">
<h3>Why we're rallying</h3>
</div>
<div class="row feature">
<div class="span6">
<img src="/img/1984/nsa-hawk.png"/>
</div>
<div class="span6 info">
<h3 style="margin-top:20px">
NSA surveillance violates the constitution
</h3>
<p>
Recent revelations about the NSA's surveillance infrastructure provide concrete evidence that phone and email records of US and foreign nationals are being collected and stored by the government.
</p>
<p>
We demand that our government protect our right to privacy with respect to data from our digital communications devices. This includes metadata, as well as our communications.
</p>
</div>
</div>
<div class="row feature ss">
<div class="span6 info">
<h3 style="margin-top:20px">
Democracy requires privacy
</h3>
<p>
Privacy is not simply a privilege. It is a necessary precondition for a free and democratic society.</p> <p>In the words of Benjamin Franklin, “Those who would give up essential liberty to purchase a little temporary safety, deserve neither liberty nor safety. ”
</p>
</div>
<div class="span6">
<img src="/img/1984/privacy-lock.png" class="pull-right" />
</div>
</div>
<div class="row feature ss">
<div class="span6">
<img src="/img/1984/fourth-amendment.jpg" />
</div>
<div class="span6 info">
<h3>
Why you should participate
</h3>
<p>
Participatory democracy is a two way street. Our online efforts are already causing changes in Congress. By rallying this Sunday, we are sending a very loud message to our Representatives that to earn our trust they must restore the Fourth Amendment, and support the passage of legislation to revoke the NSA's authorization to conduct mass surveillance of US and foreign citizens.
</p>
</div>
</div>
</div>
</div>
<div id="share">
<div class="container">
<div class="section_header">
<h3>Help spread the word</h3>
</div>
<div class="row">
<div class="span6">
<br />
<div style="clear: both;"></div>
<div id="socfooter" class="down">
<a href="https://twitter.com/home?status=This Sunday, thousands around the country are rallying against surveillance. Join the event in <%=city.name%> -> http://1984day.com/<%=citySlug%>" id="tweet-box" count="0" target="_blank" class="twitter-button social-count">
<div id="stwit"></div>
</a>
<a href="https://www.facebook.com/share.php?u=http://1984day.com/<%=citySlug%>&t=This Sunday, thousands around the country are rallying against surveillance. Join the event in <%=city.name%> " id="facebook" count="0" target="_blank" class="social-count facebook-button">
<div id="sfb"></div>
</a>
<a count="0" href="https://plus.google.com/share?url=http://1984day.com/<%=citySlug%>" target="_blank" class="social-count google-button">
<div id="sgplus" ></div>
</a>
</div>
<div style="clear: both;"></div>
</div>
</div>
</div>
</div>
<!-- starts footer -->
<footer id="footer">
<div class="container">
<div class="row credits">
<div class="span12">
<div class="row copyright">
<div class="span12">
© 2013 Restore the Fourth. Licensed under a <a href="http://creativecommons.org/licenses/by-nc/3.0/deed.en_US" target="_blank">Creative Commons Attribution-NonCommercial 3.0 Unported License</a>.
</div>
<div class="span12">
Photo Credits: San Francisco, <a href="http://www.flickr.com/photos/47125846@N08/8476743612/">SpreadTheMagic</a> <a href="http://creativecommons.org/licenses/by-nc-nd/2.0/">(cc-by-nc-nd)</a>;
New York, <a href="http://www.flickr.com/photos/34246041@N08/6967173295/">dkshots</a> <a href="http://creativecommons.org/licenses/by-nc/2.0/">(cc-by-nc)</a>;
Los Angeles, <a href="http://www.flickr.com/photos/95282411@N00/4249483340/">Slices of Light</a> <a href="http://creativecommons.org/licenses/by-nc-nd/2.0/">(cc-by-nc-nd)</a>;
<p>Built by <a href="http://sina.is/task-force/">Taskforce.is</a></p>
</div>
</div>
</div>
</div>
</div>
</footer>
<!-- Scripts -->
<script src="http://code.jquery.com/jquery-latest.js"></script>
<script src="/js/bootstrap.min.js"></script>
<script src="../js/theme.js"></script>
<script type="text/javascript" src="/js/index-slider.js"></script>
<script type="text/javascript">
$(document).ready(function(){$("#facebook").attr("onclick","openFacebook(); return false;");$("#gplus").attr("onclick","openGplus(); return false;");$("#tweet-box").attr("onclick","openTwitter(); return false;")})
function randomize(e){var t=e.length,n,r;if(t===0)return false;while(--t){n=Math.floor(Math.random()*(t+1));r=e[t];e[t]=e[n];e[n]=r}}
function openFacebook(){var e="https://www.facebook.com/sharer/sharer.php?u=http://1984day.com/<%=citySlug%>";window.open(e,"Share on Facebook","width=500,height=500");return false}
function openGplus(){var e="https://plus.google.com/share?url=http://1984day.com/<%=citySlug%>";window.open(e,"Share on Google Plus","width=500,height=436");return false}
function openTwitter(){var e=["sinak","neutralthoughts","tforce"];randomize(e);var t="https://twitter.com/home?status=This Sunday, thousands around the country are rallying against surveillance. Join the event in <%=city.name%> -> http://1984day.com/<%=citySlug%>&related=Restore_the4th%2C<%=city.twitter%>%2C"+e[0]+"%2C"+e[1]+"%2C";window.open(t,"Twitter","width=550,height=420");return false}
</script>
<!-- Piwik -->
<script type="text/javascript">
var _paq = _paq || [];
_paq.push(["trackPageView"]);
_paq.push(["enableLinkTracking"]);
(function() {
var u=(("https:" == document.location.protocol) ? "https" : "http") + "://analytics.taskforce.is/piwik/";
_paq.push(["setTrackerUrl", u+"piwik.php"]);
_paq.push(["setSiteId", "1"]);
var d=document, g=d.createElement("script"), s=d.getElementsByTagName("script")[0]; g.type="text/javascript";
g.defer=true; g.async=true; g.src=u+"piwik.js"; s.parentNode.insertBefore(g,s);
})();
</script>
<!-- End Piwik Code -->
</body>
</html>