-
Notifications
You must be signed in to change notification settings - Fork 0
/
register-iframe.php
169 lines (152 loc) · 6.28 KB
/
register-iframe.php
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
<!DOCTYPE html>
<!--[if IE 8]> <html lang="en" class="ie8"> <![endif]-->
<!--[if IE 9]> <html lang="en" class="ie9"> <![endif]-->
<!--[if !IE]><!--> <html lang="en"> <!--<![endif]-->
<head>
<title>The MARTA Army Barracks</title>
<!-- Meta -->
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- <link rel="shortcut icon" href="favicon.ico"> -->
<!-- <link href='http://fonts.googleapis.com/css?family=Lato:300,400,300italic,400italic' rel='stylesheet' type='text/css'> -->
<link href='https://fonts.googleapis.com/css?family=Raleway:400,300,100,200' rel='stylesheet' type='text/css'>
<link href='https://api.mapbox.com/mapbox.js/v2.2.2/mapbox.css' rel='stylesheet' />
<!-- <link rel="stylesheet" href="jslib/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" href="jslib/font-awesome/css/font-awesome.css">
<link rel="stylesheet" href="jslib/ionicons/css/ionicons.css"> -->
<!-- Theme CSS -->
<style type="text/css">
label, p {
font-family: Garamond,Baskerville,Baskerville Old Face,Hoefler Text,Times New Roman,serif;
font-size: 18px;
color: rgba(26,26,26,0.7);
display: block;
}
li {
font-family: Garamond,Baskerville,Baskerville Old Face,Hoefler Text,Times New Roman,serif;
font-size: 18px;
color: rgba(26,26,26,0.7);
}
p.helptext {
margin: 0 0 10px 0;
font-style: italic;
font-family: sans-serif;
font-size: 0.8em;
font-weight: 100;
}
.form-group { width: 90%; }
.form-group > input[type=text] {
width: 100%;
display: block;
font-family: sans-serif;
font-size: 12px;
padding: 12px;
margin: 6px 0 28px 0;
border: 1px solid #ccc;
background-color: #fafafa;
}
.form-group > input:focus { outline: 0;}
#map { width: 70%; height: 400px; float: left; }
#stoplist { width: 30%; float: left; }
#stoplist p { margin-left: 20px; }
#stoplist p.stopselectedtitle {
margin: 0 0 0 20px;
}
#stoplist p#nostopselectedmsg {
font-style: italic;
font-family: sans-serif;
font-size: 0.8em;
font-weight: 100;
margin: 0 0 10px 20px;
}
#stoplist_ol { display: none; }
#stoplist_ol li span.stopid { display: none; }
#stoplist_ol li a { font-family: sans-serif; font-size: 14px; font-style: italic; opacity: 0.7; line-height: 18px; }
#stopmap-div { margin-bottom: 20px; }
#stopaddress-div { display: none; }
button {
text-transform: uppercase;
color: #fff;
background-color: #1a1a1a;
border: none;
font-family: raleway;
padding: 10px 15px;
font-size: 14px;
letter-spacing: 2px;
}
#success-message {
display: none;
}
#error-message {
display: none;
color: #f77;
}
.leaflet-control-mapbox-geocoder.active .leaflet-control-mapbox-geocoder-wrap {
width: 400px;
}
.leaflet-control-mapbox-geocoder .leaflet-control-mapbox-geocoder-form input {
width: 400px;
}
</style>
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<form id='signup-form'>
<div class='form-group'>
<label for='name'>Name *</label>
<input type='text' id='name' name='name' class='form-control'/>
</div>
<div class='form-group'>
<label for='email'>Email address *</label>
<input type='text' id='email' name='email' class='form-control'/>
</div>
<div class='form-group'>
<label for='email'>Phone number (optional)</label>
<input type='text' id='phone' name='phone' class='form-control'/>
</div>
<div class='form-group' id='stopmap-div'>
<label for='stoptoadopt'>Find the stop(s) you want to adopt *</label>
<p class='helptext'>
Enter the approximate address of the bus stop, and then pick it out from the map.<br/>
If you can't find your stops on the map, <a href='#' class='togglelink'>click here</a>.
</p>
<div id='stopselection'>
<div id="map"></div>
<div id='stoplist'>
<p class='stopselectedtitle'>Stops selected:</p>
<p id='nostopselectedmsg'>None</p>
<ol id='stoplist_ol'>
</ol>
</div>
</div>
<br style='clear:both'/>
</div>
<div class='form-group' id='stopaddress-div'>
<label for='stoptoadopt'>Address of bus stop(s) you want to adopt *</label>
<p class='helptext'>
Enter the names or addresses of the bus stops you wish to adopt.<br/>
If you want to pick your stops on a map, <a href='#' class='togglelink'>click here</a>.
</p>
<input type='text' id='stoptoadopt' name='stoptoadopt' class='form-control'/>
</div>
<div class='form-group'>
<label for='comment'>Comment (Anything - why you want to adopt a stop, why you like transit, etc) *</label>
<input type='text' id='comment' name='comment' class='form-control'/>
</div>
<p id='error-message'></p>
<button type="submit" class="btn btn-success" >Sign Up</button>
</form>
<p id='success-message'>Thank you! We'll get in touch with you asap.</p>
<!-- Javascript -->
<script type="text/javascript" src="jslib/jquery-2.1.4.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/json2/20150503/json2.min.js"></script>
<script src='https://api.mapbox.com/mapbox.js/v2.2.2/mapbox.js'></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.6/d3.min.js"></script>
<script type="text/javascript" src="js/register-iframe.js"></script>
</body>
</html>