-
Notifications
You must be signed in to change notification settings - Fork 5
/
index.html
167 lines (155 loc) · 7.85 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<!--
````````` `````````
.ddddddddd- .shddddddd.
.ddddddddd- .ooshddddd.
.ddddddddd- .ooooshddd.
.ddddddddd- .ooooooshd.
.yyyyyyyyy:........:oooooooos-
`ooooooooooooooooooooooooooooo/`
`ooooooooooooooooooooooooooooooo/`
`ooooooooooooooooooooooooooooooo/`
`ooooooooooooooooooooooooooooo/`
.yyyyyyyyy:........:oooooooos-
.ddddddddd- .ooooooshd.
.ddddddddd- .ooooshddd.
.ddddddddd- .ooshddddd.
.ddddddddd- .shddddddd.
````````` `````````
Greetings, inquisitive visitor! Come join us at https://devprogress.us/
-->
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>HRC Events Near You</title>
<link rel="shortcut icon" type="image/x-icon" href="images/favicon.ico" />
<meta property="og:site_name" content="DevProgress"/>
<meta property="og:title" content="HRC Events Near You"/>
<meta property="og:url" content="https://devprogress.us/hrc-events/" />
<meta property="og:description" content="Find events and volunteer opportunities with the Clinton campaign in your area"/>
<meta property="og:image" content="https://c1.staticflickr.com/9/8037/29342218640_8429488332_o.png">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:domain" value="DevProgress" />
<meta name="twitter:title" value="HRC Events Near You" />
<meta name="twitter:description" value="Find events and volunteer opportunities with the Clinton campaign in your area" />
<meta name="twitter:image" content="https://c1.staticflickr.com/9/8037/29342218640_8429488332_o.png" />
<meta name="twitter:url" value="https://devprogress.us/hrc-events/" />
<link href='https://api.mapbox.com/mapbox.js/v2.4.0/mapbox.css' rel='stylesheet' />
<link rel="stylesheet" href="css/jQRangeSlider-5.7.2/classic-min.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/leaflet.markercluster/0.5.0/MarkerCluster.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/leaflet.markercluster/0.5.0/MarkerCluster.Default.css" />
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<style>
.marker-cluster-small div, .marker-cluster-medium div, .marker-cluster-large div {
background-color: rgba(92, 166, 224, 0.8);
color: #ffffff;
}
.marker-cluster-small, .marker-cluster-medium, .marker-cluster-large {
background-color: rgba(255, 255, 255, 0.6);
}
</style>
<div id="events" class="start">
<div class="header">
<h1>Hillary Events Map</h1>
<div id="searchbox">
<div class="search-column search-primary">
<input type="text" id="search-input" class="search-input" placeholder="Enter a city, neighborhood, address, or zip code">
<button class="clear-button" aria-hidden="true">
<svg class="icon icon-x" viewBox="0 0 12 16" version="1.1" width="12" height="16" aria-hidden="true">
<path d="M7.48 8l3.75 3.75-1.48 1.48L6 9.48l-3.75 3.75-1.48-1.48L4.52 8 .77 4.25l1.48-1.48L6 6.52l3.75-3.75 1.48 1.48z"></path>
</svg>
</button>
<div class="autocomplete"></div>
</div>
<div class="search-column">
<button class="search-button" type="submit">Search</button>
</div>
<div class="search-row radius-wrapper" style="display: none;">
<label>Show me events within:</label>
<select id="radius-select">
<option value="5">5 Miles</option>
<option value="10" selected>10 Miles</option>
<option value="25">25 Miles</option>
<option value="50">50 Miles</option>
</select>
</div>
</div>
<div class="start-wrapper state">
<p>#ImWithHer, somewhere near you. Get started by searching for your location, and the map will display upcoming events in your area.</p>
</div>
</div>
<div class="event-wrapper state date-range">
<div class="sliderContainer">
<div id="dateSlider"></div>
</div>
</div>
<div class="event-wrapper state">
<h2>Events Near You</h2>
<div class="event-list"></div>
</div>
<div class="error-wrapper state">
<h2>No events in this area</h2>
<p>It looks there are no events in the area you’ve selected. Try a wider search, or <a href="https://www.hillaryclinton.com/events/" target="_blank">host your own!</a></p>
</div>
<div class="search-error-wrapper state">
<h2>We couldn’t find your place.</h2>
<p>We weren't able to find any locations that matched your search, please try again.</p>
</div>
</div>
<div id="map">
<div id="map-search">
<input type="checkbox" id="move-update">Redo search when map moved
</div>
</div>
<div id="mobile">
<div class="search-mobile">
<div class="search-box">
<input type="text" id="mobile-search-input" class="search-input" placeholder="City, address, or zip">
<svg class="icon icon-search" viewBox="0 0 32 32" version="1.1" width="16" height="16" aria-hidden="true">
<path class="search" d="M31.008 27.231l-7.58-6.447c-0.784-0.705-1.622-1.029-2.299-0.998 1.789-2.096 2.87-4.815 2.87-7.787 0-6.627-5.373-12-12-12s-12 5.373-12 12 5.373 12 12 12c2.972 0 5.691-1.081 7.787-2.87-0.031 0.677 0.293 1.515 0.998 2.299l6.447 7.58c1.104 1.226 2.907 1.33 4.007 0.23s0.997-2.903-0.23-4.007zM12 20c-4.418 0-8-3.582-8-8s3.582-8 8-8 8 3.582 8 8-3.582 8-8 8z"></path>
</svg>
<svg class="icon icon-x clear-button" viewBox="0 0 12 16" version="1.1" width="12" height="16" aria-hidden="true">
<path d="M7.48 8l3.75 3.75-1.48 1.48L6 9.48l-3.75 3.75-1.48-1.48L4.52 8 .77 4.25l1.48-1.48L6 6.52l3.75-3.75 1.48 1.48z"></path>
</svg>
</div>
<div class="autocomplete mobile"></div>
</div>
<div id="detail">
<div id="slider">
<div class="swipe-wrap event-list">
</div>
</div>
</div>
</div>
<script src="https://code.jquery.com/jquery-1.10.2.min.js"></script>
<script src='https://api.mapbox.com/mapbox.js/v2.4.0/mapbox.js'></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/leaflet.markercluster/0.5.0/leaflet.markercluster.js"></script>
<script src="https://code.jquery.com/ui/1.10.3/jquery-ui.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/swipe/2.0/swipe.min.js"></script>
<script src='https://api.mapbox.com/mapbox.js/plugins/leaflet-hash/v0.2.1/leaflet-hash.js'></script>
<script src="js/jQDateRangeSlider-withRuler-5.7.2.min.js"></script>
<script src="js/d3.v3.min.js"></script>
<script src="js/underscore-min.js"></script>
<script src="js/event-map.js"></script>
<script type="text/javascript">
var e = eventsMap();
e.init();
if (document.getElementById("search-input").value.length)
e.onSubmit(document.getElementById("search-input").value);
if (document.getElementById("mobile-search-input").value.length)
e.onSubmit(document.getElementById("mobile-search-input").value);
</script>
<script>
// teh googlez
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-83962178-2', 'auto');
ga('send', 'pageview');
</script>
</body>
</html>