-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·454 lines (450 loc) · 22.9 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
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
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Page Information -->
<meta name="description" content="Boston College Events">
<meta name="author" content="Evan Otero - Clinton Tak - Sinclair Jones">
<meta name="google-site-verification" content="l70843W7JGH6_uJlVh3pZYg_PWTijg3wHWRlEwA2caM" />
<title>Happening</title>
<!-- Favicon -->
<link rel="apple-touch-icon" sizes="57x57" href="img/icons/apple-touch-icon-57x57.png?v=wAA988l2qO">
<link rel="apple-touch-icon" sizes="60x60" href="img/icons/apple-touch-icon-60x60.png?v=wAA988l2qO">
<link rel="apple-touch-icon" sizes="72x72" href="img/icons/apple-touch-icon-72x72.png?v=wAA988l2qO">
<link rel="apple-touch-icon" sizes="76x76" href="img/icons/apple-touch-icon-76x76.png?v=wAA988l2qO">
<link rel="apple-touch-icon" sizes="114x114" href="img/icons/apple-touch-icon-114x114.png?v=wAA988l2qO">
<link rel="apple-touch-icon" sizes="120x120" href="img/icons/apple-touch-icon-120x120.png?v=wAA988l2qO">
<link rel="apple-touch-icon" sizes="144x144" href="img/icons/apple-touch-icon-144x144.png?v=wAA988l2qO">
<link rel="apple-touch-icon" sizes="152x152" href="img/icons/apple-touch-icon-152x152.png?v=wAA988l2qO">
<link rel="apple-touch-icon" sizes="180x180" href="img/icons/apple-touch-icon-180x180.png?v=wAA988l2qO">
<link rel="icon" type="image/png" href="img/icons/favicon-32x32.png?v=wAA988l2qO" sizes="32x32">
<link rel="icon" type="image/png" href="img/icons/android-chrome-192x192.png?v=wAA988l2qO" sizes="192x192">
<link rel="icon" type="image/png" href="img/icons/favicon-96x96.png?v=wAA988l2qO" sizes="96x96">
<link rel="icon" type="image/png" href="img/icons/favicon-16x16.png?v=wAA988l2qO" sizes="16x16">
<link rel="manifest" href="img/icons/manifest.json?v=wAA988l2qO">
<link rel="mask-icon" href="img/icons/safari-pinned-tab.svg?v=wAA988l2qO" color="#571619">
<!-- Shows error when validated, but is legal -->
<link rel="shortcut icon" href="img/icons/favicon.ico?v=wAA988l2qO">
<meta name="apple-mobile-web-app-title" content="Happening">
<meta name="application-name" content="Happening">
<meta name="msapplication-TileColor" content="#b91d47">
<meta name="msapplication-TileImage" content="img/icons/mstile-144x144.png?v=wAA988l2qO">
<meta name="msapplication-config" content="img/icons/browserconfig.xml?v=wAA988l2qO">
<meta name="theme-color" content="#571619">
<!-- Styles -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
<link rel="stylesheet" href="css/main.css?v=1.3.2b">
<link rel="stylesheet" href="css/bootstrap-datetimepicker.min.css">
<!-- Fonts -->
<link href='https://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'>
<link href='https://fonts.googleapis.com/css?family=Roboto' rel='stylesheet' type='text/css'>
<link href='https://fonts.googleapis.com/css?family=Oswald' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Lato:100,300,400,700,900,400italic' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.2/css/font-awesome.min.css">
<!-- JS Libs -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<script src="js/moment-with-locales.min.js"></script>
<script src="js/bootstrap-datetimepicker.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script>
<script src="https://www.google.com/recaptcha/api.js?onload=onloadCallback&render=explicit" async defer></script>
<!-- Custom scripts -->
<script src="js/navbar.js?v=1.3.2b"></script>
<script src="js/scripts.js?v=1.3.2b"></script>
<!-- Google Analytics -->
<script>
(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-78082973-1', 'auto');
ga('send', 'pageview');
</script>
</head>
<body class="theme-shadows">
<!-- Detect if JS is Disabled -->
<noscript>
<style type="text/css">
.pagecontainer {
display: none;
}
</style>
<div class="noscriptmsg">
You don't have javascript enabled. This web application requires it in order to function.
</div>
</noscript>
<!-- Wrap Content -->
<div class="pagecontainer">
<!-- Modal Window for Event Information -->
<div class="modal fade bs-event-modal-lg" id="event-modal" tabindex="-1" role="dialog">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span class="glyphicon glyphicon-remove" aria-hidden="true"></span>
</button>
</div>
<div class="modal-body">
</div>
</div>
</div>
</div>
<!-- Modal Window Register/Lost Password -->
<div class="modal fade" id="register-modal" tabindex="-1" role="dialog" aria-hidden="true" style="display: none;">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<img class="img-circle" alt="logo" id="img_logo" src="img/logo.png">
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span class="glyphicon glyphicon-remove" aria-hidden="true"></span>
</button>
</div>
<div id="div-forms">
<!-- Register Form -->
<form action="?" id="register-form">
<div class="modal-body">
<div id="div-register-msg">
<div id="icon-register-msg" class="glyphicon glyphicon-chevron-right"></div>
<span id="text-register-msg">Register an account.</span>
</div>
<div class="form-group">
<input id="register_firstname" class="form-control" type="text" placeholder="First Name" name="firstname" required>
</div>
<div class="form-group">
<input id="register_lastname" class="form-control" type="text" placeholder="Last Name" name="lastname" required>
</div>
<div class="form-group">
<input id="register_username" class="form-control" type="text" placeholder="Username" name="username" required>
</div>
<div class="form-group">
<input id="register_email" class="form-control" type="text" placeholder="E-Mail" name="email" required>
</div>
<div class="form-group">
<input id="register_password" class="form-control" type="password" placeholder="Password" name="password" required>
</div>
<div class="form-group">
<input id="register_verifypassword" class="form-control" type="password" placeholder="Verify Password" name="verifypassword" required>
</div>
<!-- reCAPTCHA -->
<div class="g-recaptcha" id="recaptcha2"></div>
</div>
<div class="modal-footer">
<div class="text-center"><span class="textmaroon">
By registering, you agree to Happening's <a class="textgold" href="privacy.html">Privacy Policy</a> and <a class="textgold" href="terms.html">Terms</a>.</span>
</div>
<br>
<div>
<button type="submit" class="btn btn-primary btn-lg btn-block">Register</button>
</div>
<div>
<ul class="registererrors"></ul>
</div>
<div>
<button id="register_lost_btn" type="button" class="btn btn-link">Lost Password?</button>
</div>
</div>
</form>
<!-- Lost Password Form -->
<form action="?" id="lost-form" style="display:none;">
<div class="modal-body">
<div id="div-lost-msg">
<div id="icon-lost-msg" class="glyphicon glyphicon-chevron-right"></div>
<span id="text-lost-msg">Type your e-mail.</span>
</div>
<div class="form-group">
<input id="lost_email" name="lostemail" class="form-control" type="text" placeholder="E-Mail" required>
</div>
<!-- reCAPTCHA -->
<div class="g-recaptcha" id="recaptcha3"></div>
</div>
<div class="modal-footer">
<div>
<button type="submit" class="btn btn-primary btn-lg btn-block">Send</button>
</div>
<div>
<ul class="losterrors"></ul>
</div>
<div>
<button id="lost_register_btn" type="button" class="btn btn-link">Register</button>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
<!-- Nav Bar -->
<nav class="mainmenu">
<div class="container" id="navbar">
<div class="dropdown">
<button type="button" class="navbar-toggle" data-toggle="dropdown"><span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button>
<ul class="dropdown-menu" role="menu">
<li><a href="#home" class="active">Welcome</a></li>
<li><a href="#mywall" id="navmywall">My Wall</a></li>
<li><a href="#addevent">Add Event</a></li>
<li><a href="#faq">FAQ</a></li>
</ul>
</div>
</div>
</nav>
<!-- Main (Welcome) section -->
<section class="section" id="home">
<div class="container">
<div class="row">
<div class="col-md-10 col-lg-10 col-md-offset-1 col-lg-offset-1 text-center">
<br>
<h2 class="subtitle">Find out what's <span class="textgold">Happening</span> near <span class="textmaroon">you</span>.</h2>
<div id="circle-wrap">
<a href="#mywall" class="circle-btn">
<div class="border-inactive"></div>
<div class="border-active"></div>
<div class="letter">go</div>
<div class="underline"></div>
</a>
</div>
</div>
</div>
</div>
</section>
<!-- Second (My Wall) section -->
<section class="section" id="mywall">
<div class="container">
<h2 class="text-center title">My Wall</h2>
<h2 class="text-center tagline">What's <span class="textgold">Happening</span> @ <span class="textmaroon">BC</span>?</h2>
</div>
<div class="container">
<div class="search-wrap">
<form id="search-form" action="?" autocomplete="on">
<div class="row searchrow">
<div class=" [col-xs-12 col-sm-offset-2 col-sm-8 ] ">
<input id="search_input" name="q" type="text" size="40" placeholder=" Search All Events...">
</div>
</div>
<div class="row showrow">
<div class="btn-group [ col-xs-12 col-sm-offset-2 col-sm-8 ]" data-toggle="buttons">
<label class="btn btn-primary showstudent active">
<input type="checkbox" autocomplete="off"> Toggle Student Events
</label>
<label class="btn btn-primary showbc active">
<input type="checkbox" autocomplete="off"> Toggle School Events
</label>
</div>
</div>
<div class="row daterow">
<div class='col-sm-offset-2 col-sm-4' id="thisweekdiv">
<input type="button" name="thisweek" class="col-xs-12 col-sm-12 btn btn-primary btn-sm displayweek" value="This Week">
</div>
<div class='col-sm-4'>
<div class='input-group date' id='datetimepicker3'>
<input type='text' id="datetimepicker3input" class="form-control" placeholder="Select Day Here" />
<span class="input-group-addon">
<span class="glyphicon glyphicon-calendar"></span>
</span>
</div>
</div>
</div>
<div class="row resultslabelrow text-center">
<span id="resultslabel">Displaying Events for This Week:</span>
</div>
</form>
</div>
<div class="row">
<div class="[ col-xs-12 col-sm-offset-2 col-sm-8 ]">
<ul class="event-list">
</ul>
</div>
</div>
</div>
</section>
<!-- Third (Add Event) section -->
<section class="section" id="addevent">
<div class="container">
<h2 class="text-center title">Add Event</h2>
<p class="lead text-center">
Share your events with the entire <span class="textgold">Boston College</span> campus.
<a tabindex="0" class="btn btn-sm btn-info" role="button" data-html="true" data-toggle="popover" data-trigger="focus" title="Help - click anywhere to dismiss" id="help"><i class="fa fa-question" aria-hidden="true"></i></a>
</p>
</div>
<div class="container">
<form action="?" id="addevent-form">
<!-- Event Name Input -->
<div class="row">
<div class="col-sm-6 col-sm-offset-3">
<div class="input-group">
<span class="input-group-addon" id="eventnamelabel">Event Name</span>
<input type="text" id="event_name" name="name" class="form-control" placeholder="..." aria-describedby="eventnamelabel">
</div>
</div>
</div>
<!-- Event Group Name Input -->
<div class="row">
<div class="col-sm-6 col-sm-offset-3">
<div class="input-group">
<span class="input-group-addon" id="eventgrouplabel">Host/Group Name</span>
<input type="text" id="event_host" name="group" class="form-control" placeholder="..." aria-describedby="eventgrouplabel">
</div>
</div>
</div>
<!-- Location Input -->
<div class="row">
<div class="col-sm-6 col-sm-offset-3">
<div class="input-group">
<span class="input-group-addon" id="eventlocationlabel">Location</span>
<input type="text" id="event_location" name="location" class="form-control" placeholder="..." aria-describedby="eventlocationlabel">
</div>
</div>
</div>
<!-- Event URL Input -->
<div class="row">
<div class="col-sm-6 col-sm-offset-3">
<div class="input-group">
<span class="input-group-addon" id="eventurllabel">Event URL</span>
<input type="url" id="event_url" name="link" class="form-control" placeholder="https://orgsync.com/12345/events/..." aria-describedby="eventurllabel">
</div>
</div>
</div>
<!-- Media URL Input -->
<div class="row">
<div class="col-sm-6 col-sm-offset-3">
<div class="input-group">
<span class="input-group-addon" id="eventmedialabel">Media URL</span>
<input type="url" id="event_mediaurl" name="media" class="form-control" placeholder="http://i.imgur.com/12345.jpg" aria-describedby="eventmedialabel">
</div>
</div>
</div>
<!-- Date Input -->
<div class="row">
<div class='col-sm-3 col-sm-offset-3'>
<div class="form-group">
<label for="datetimepicker1input">Date/Time Start:</label>
<div class='input-group date' id='datetimepicker1'>
<input type='text' id="datetimepicker1input" name="datestart" class="form-control" />
<span class="input-group-addon">
<span class="glyphicon glyphicon-calendar"></span>
</span>
</div>
</div>
</div>
<div class='col-sm-3'>
<div class="form-group">
<label for="datetimepicker2input">Date/Time End:</label>
<div class='input-group date' id='datetimepicker2'>
<input type='text' id='datetimepicker2input' name="dateend" class="form-control" />
<span class="input-group-addon">
<span class="glyphicon glyphicon-calendar"></span>
</span>
</div>
</div>
</div>
</div>
<!-- Event Description Input -->
<div class="row">
<div class="col-sm-6 col-sm-offset-3">
<div class="form-group">
<label for="event_description">Event Descripton:</label>
<textarea class="form-control" id="event_description" rows="5" name="description"></textarea>
</div>
</div>
</div>
<!-- Username Input -->
<div class="row">
<div class='col-sm-3 col-sm-offset-3'>
<div class="input-group">
<span class="input-group-addon" id="eventusernamelabel">Username</span>
<input type="text" id="event_username" name="username" class="form-control" placeholder="..." aria-describedby="eventusernamelabel">
</div>
</div>
<!-- Password Input -->
<div class='col-sm-3'>
<div class="input-group">
<span class="input-group-addon" id="eventpasswordlabel">Password</span>
<input type="password" id="event_password" name="password" class="form-control" placeholder="..." aria-describedby="eventpasswordlabel">
</div>
</div>
</div>
<!-- reCaptcha -->
<div class="row">
<div class="g-recaptcha" id="recaptcha1"></div>
</div>
<div class="row submitrow">
<!-- Register User Modal Button -->
<div class="col-sm-3 col-sm-offset-3">
<a href="#" class="col-sm-12 btn btn-primary btn-sm" role="button" data-toggle="modal" data-target="#register-modal">Register / Forgot Password </a>
</div>
<!-- Submit Button -->
<div class="col-sm-3">
<input type="submit" name="submit" class="col-sm-12 btn btn-primary btn-sm submit" value="Submit Event">
</div>
<div class="col-sm-6 col-sm-offset-3">
<ul class="eventerrors"></ul>
</div>
</div>
</form>
</div>
</section>
<!-- Fourth (FAQ) section -->
<section class="section" id="faq">
<div class="container">
<img src="img/logo.png" alt="logo" id="logo" />
<h2 class="text-center title">Frequently Asked Questions</h2>
<div class="row">
<div class="col-sm-8 col-sm-offset-2 text-center">
<p class="lead textgold">What is Project Happening?</p>
<p>Project Happening is a Web Application for Boston College students to view, search, and add all events that are occurring on campus. Our goal is to create a central, dynamic location for official and non-official Boston College events combined with a user-friendly web design.</p>
</div>
</div>
<br>
<div class="row">
<div class="col-sm-8 col-sm-offset-2 text-center">
<p class="lead textgold">What sources are used to collect Boston College events?</p>
<p>Project Happening uses mutiple location to gather information on events occuring on the Boston College campus. These sources include both official and non-official Boston College sources including, but not limited to, OrgSync, Facebook, the Boston College Events Calendar, approved user-entered events, and more.</p>
</div>
</div>
<br>
<div class="row">
<div class="col-sm-8 col-sm-offset-2 text-center">
<p class="lead textgold">When should I use the "Add Events" section?</p>
<p>Use this section to add events that are not posted to OrgSync (officially registered with Boston College), or are currently not listed. We request that all users that add events be affiliated with the event.</p>
</div>
</div>
<br>
<div class="row">
<div class="col-sm-8 col-sm-offset-2 text-center">
<p class="lead textgold">How to I become a registered user to use "Add Events"?</p>
<p>In order to add events, you must be a registered user and approved by an administrator. After a registered user submits an event, it will be posted to the public page after approval. If you would like to register to post events, please click on the "Register" button at the bottom of the "Add Events" page.</p>
</div>
</div>
<br>
<div class="row">
<div class="col-sm-8 col-sm-offset-2 text-center">
<p class="lead textgold">Where can I find your Privacy Policy and Terms?</p>
<p><a href="privacy.html">Privacy Policy</a> & <a href="terms.html">Terms</a></p>
</div>
</div>
<br>
<div class="row">
<div class="col-sm-8 col-sm-offset-2 text-center">
<p class="lead textgold">Have a question, or want to suggest a new feature?</p>
<ul class="list-inline list-social">
<li><a href="https://github.com/evanotero/project-happening" class="btn btn-link"><i class="fa fa-github fa-fw"></i> Github</a></li>
<li><a href="mailto:[email protected]" class="btn btn-link"><i class="fa fa-envelope-o fa-fw"></i> Email</a></li>
</ul>
</div>
</div>
<div class="row">
<div class="col-sm-8 col-sm-offset-2 text-center">
<span><i class="fa fa-copyright" aria-hidden="true"></i> 2016 Evan Otero</span>
</div>
</div>
</div>
</section>
</div>
</body>
</html>