-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathmain.php
291 lines (224 loc) · 10.3 KB
/
main.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
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
<?php ?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<title>Peace Corps Hub</title>
<!-- Bootstrap -->
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/style.css" rel="stylesheet">
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[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]-->
<link rel="stylesheet" href="ammap/ammap.css" type="text/css">
<script src="ammap/ammap.js" type="text/javascript"></script>
<!-- map file should be included after ammap.js -->
<script src="ammap/maps/js/worldLow.js" type="text/javascript"></script>
</head>
<body>
<nav class="navbar navbar-fixed-top navbar-inverse">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#">PC Hub</a>
</div>
<div id="navbar" class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li class="active"><a href="#">Home</a></li>
<li><a href="#about">Account</a></li>
<li><a href="#contact">Forum</a></li>
</ul>
</div><!-- /.nav-collapse -->
</div><!-- /.container -->
</nav><!-- /.navbar -->
<div class="row">
<div class="col-md-4 col-md-4">
<div class="thumbnail" height="10px">
<align="right"><img src="https://raw.githubusercontent.com/bree-nery/pchub/develop/imgs/face.jpeg" alt="..."></align>
<div class="caption" style="background-color:white">
<h3>Awesome Superhero</h3>
<p>I am a junior at University of Awesomeness. I draw, I code, I design, I dance, I hike. I simply love my life!</p>
<!--<p><a href="#" class="btn btn-primary" role="button">Read more</a> </p>-->
<!--MAPPPPP-->
<button type="button" class="btn btn-primary btn-lg" data-toggle="modal" data-target="#myModal">
Places I served
</button>
<!-- Modal -->
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
<h4 class="modal-title" id="myModalLabel">Places I've served at</h4>
</div>
<div class="modal-body">
<script>
var map;
// svg path for target icon
var targetSVG = "M9,0C4.029,0,0,4.029,0,9s4.029,9,9,9s9-4.029,9-9S13.971,0,9,0z M9,15.93 c-3.83,0-6.93-3.1-6.93-6.93S5.17,2.07,9,2.07s6.93,3.1,6.93,6.93S12.83,15.93,9,15.93 M12.5,9c0,1.933-1.567,3.5-3.5,3.5S5.5,10.933,5.5,9S7.067,5.5,9,5.5 S12.5,7.067,12.5,9z";
AmCharts.ready(function() {
map = new AmCharts.AmMap();
map.imagesSettings = {
rollOverColor: "#CC0000",
rollOverScale: 3,
selectedScale: 3,
selectedColor: "#CC0000"
};
map.areasSettings = {
outlineThickness:0.1
};
var dataProvider = {
mapVar: AmCharts.maps.worldLow,
images: [
{svgPath:targetSVG, zoomLevel:5, scale:0.5, title:"Vienna", latitude:48.2092, longitude:16.3728},
{svgPath:targetSVG, zoomLevel:5, scale:0.5, title:"London", latitude:51.5002, longitude:-0.1262},
{svgPath:targetSVG, zoomLevel:5, scale:0.5, title:"Tunis", latitude:36.8117, longitude:10.1761}
]
};
map.dataProvider = dataProvider;
map.objectList = new AmCharts.ObjectList("listdiv");
map.showImagesInList = true;
map.write("mapdiv");
});
</script>
<div>
<div id="listdiv" style="width:150px; overflow:auto; height:300px; float:left; background-color:#EEEEEE;"></div>
<div id="mapdiv" style="margin-right:150px; background-color:#EEEEEE; height: 300px; width: 400px"></div>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
<!--<button type="button" class="btn btn-primary">Save changes</button>-->
</div>
</div>
</div>
</div>
</div>
</div>
<ul class="list-group">
<li class="list-group-item">
<span class="badge">14</span>
Notification Center
</li>
</ul>
<button type="button" class="btn btn-default" aria-label="Left Align">
<span class="glyphicon glyphicon-link" aria-hidden="true"></span>
</button>
<button type="button" class="btn btn-default" aria-label="Left Align">
<span class="glyphicon glyphicon glyphicon-inbox" aria-hidden="true"></span>
</button>
<button type="button" class="btn btn-default" aria-label="Left Align">
<span class="glyphicon glyphicon-phone-alt" aria-hidden="true"></span>
</button>
</div>
<div class="col-md-4 col-md-4">
<div class="thumbnail">
<img src="https://raw.githubusercontent.com/bree-nery/pchub/develop/imgs/PCSA.jpg " alt="...">
<h3>Malaria</h3>
<div class="caption">
<p>text goes here text goes here text goes here text goes here
text goes here text goes here text goes here text goes here
text goes here text goes here text goes here text goes here
text goes here text goes here text goes here text goes here
text goes here text goes here text goes here text goes here </p>
</div>
</br>
<p><a href="#" class="btn btn-primary" role="button">Read more</a> </p>
</div>
</div>
<div class="col-md-4 col-md-4">
<div class="thumbnail">
<img src="https://raw.githubusercontent.com/bree-nery/pchub/develop/imgs/PCSA.jpg" alt="...">
<h3>Mobile App Control Center</h3>
<div class="caption">
<p>text goes here text goes here text goes here text goes here
text goes here text goes here text goes here text goes here
text goes here text goes here text goes here text goes here
text goes here text goes here text goes here text goes here
text goes here text goes here text goes here text goes here </p>
</div>
</br>
<p><a href="#" class="btn btn-primary" role="button">Read more</a> </p>
</div>
</div>
</div>
<div class="row">
<div class="col-md-4 col-md-offset-4">
<div class="thumbnail">
<img src="https://raw.githubusercontent.com/bree-nery/pchub/develop/imgs/PCSA.jpg" alt="...">
<h3>Peacetrack</h3>
<div class="caption">
<p>text goes here text goes here text goes here text goes here
text goes here text goes here text goes here text goes here
text goes here text goes here text goes here text goes here
text goes here text goes here text goes here text goes here
text goes here text goes here text goes here text goes here </p>
</div>
</br>
<p><a href="#" class="btn btn-primary" role="button">Read more</a> </p>
</div>
</div>
<div class="col-md-4 col-md-4"><div class="thumbnail">
<img src="https://raw.githubusercontent.com/bree-nery/pchub/develop/imgs/PCSA.jpg" alt="...">
<h3>PCSA</h3>
<div class="caption">
<p>text goes here text goes here text goes here text goes here
text goes here text goes here text goes here text goes here
text goes here text goes here text goes here text goes here
text goes here text goes here text goes here text goes here
text goes here text goes here text goes here text goes here </p>
</div>
</br>
<p><a href="#" class="btn btn-primary" role="button">Read more</a> </p>
</div>
</div>
</div>
<div class="row">
<div class="col-md-4 col-md-offset-4">
<div class="thumbnail">
<!-- <img src="imgs/mobile.jpg" alt="..."> -->
<img src="https://raw.githubusercontent.com/bree-nery/pchub/develop/imgs/PCSA.jpg" alt="...">
<h3>Photo Language Translation</h3>
<div class="caption">
<p>text goes here text goes here text goes here text goes here
text goes here text goes here text goes here text goes here
text goes here text goes here text goes here text goes here
text goes here text goes here text goes here text goes here
text goes here text goes here text goes here text goes here </p>
</div>
</br>
<p><a href="#" class="btn btn-primary" role="button">Read more</a> </p>
</div>
</div>
<div class="col-md-4 col-md-4"><div class="thumbnail">
<img src="https://raw.githubusercontent.com/bree-nery/pchub/develop/imgs/crowd.jpg" alt="...">
<h3>Ushahidi Crowd Map</h3>
<div class="caption">
<p>text goes here text goes here text goes here text goes here
text goes here text goes here text goes here text goes here
text goes here text goes here text goes here text goes here
text goes here text goes here text goes here text goes here
text goes here text goes here text goes here text goes here </p>
</div>
</br>
<p><a href="#" class="btn btn-primary" role="button">Read more</a> </p>
</div>
</div>
</div>
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="js/bootstrap.min.js"></script>
</body>
</html>