forked from AppsDesignTeam7/RIN
-
Notifications
You must be signed in to change notification settings - Fork 0
/
myFavourites.htm
491 lines (391 loc) · 18.5 KB
/
myFavourites.htm
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
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
<!DOCTYPE HTML>
<html lang="en">
<head>
<meta charset = "utf-8">
<title>My Favourites</title>
<!-- 1. Include style -->
<link href="_css/atc-style-button-icon.css" rel="stylesheet" type="text/css">
<link href="_css/atc-style-menu-wb.css" rel="stylesheet" type="text/css">
<link rel="stylesheet" type="text/css" href="_css/styles.css">
<!--TO ALTER LATER - the addition of this overriding spreadsheet is likely not the best way to do this. To find a better way -->
<link rel="stylesheet" type="text/css" href="_css/favouriteStyles.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/themes/smoothness/jquery-ui.css">
</head>
<body>
<!-- 2. Include script -->
<script type="text/javascript">(function () {
if (window.addtocalendar)if(typeof window.addtocalendar.start == "function")return;
if (window.ifaddtocalendar == undefined) { window.ifaddtocalendar = 1;
var d = document, s = d.createElement('script'), g = 'getElementsByTagName';
s.type = 'text/javascript';s.charset = 'UTF-8';s.async = true;
s.src = ('https:' == window.location.protocol ? 'https' : 'http')+'://addtocalendar.com/atc/1.5/atc.min.js';
var h = d[g]('body')[0];h.appendChild(s); }})();
</script>
<!--Banner-->
<header role = "banner">
<div id="banner">
<a href = "index.htm">
<div id="linkToHome">
<h1>RIN</h1>
<h2>My Favourites</h2>
</div>
</a>
<!--Site navigation for smaller screens-->
<div id = "smallScreenNav">
<div class="dropdownNav">
<button class="dropbtnNav"><i class="fa fa-navicon"></i></button>
<div class="dropdown-contentNav">
<a href="index.htm">Home</a>
<a href="createEvent.htm">Create New Event</a>
<!--Display this with PHP if the user is not logged in-->
<a href="login.htm">Login</a>
<!--End of section to hide-->
<!--Hide this with php if the user is logged in-->
<div class="dropdownIn">
<a href="javascript:void(0)" class="dropbtnIn">My Account</a>
<div class="dropdown-contentIn">
<a href="myFavourites.htm">My Favourites</a>
<a href="manageMyEvent.htm">Manage My Events</a>
<a href="resetPassword.htm">Reset Password</a>
<a href="index.htm">Logout</a>
</div>
</div>
<!--end of section to hide-->
<a href="help.htm">Help</a>
</div>
</div>
</div>
<!--Site navigation for larger screens-->
<div id="siteNav">
<ul id="navBar">
<li class="navLink" id="homeLink"><a href="index.htm" class="indexLink"><div class="linkText">HOME</div></a></li>
<li class="navLink" id="createEventLink"><a href="createEvent.htm"><div class="linkText">CREATE NEW EVENT</div></a></li>
<!--Hide this section with php if the user is not logged in; hide otherwise -->
<li class = "dropdown" class="navLink" id="myAccountLink">
<a href="javascript:void(0)" class="dropbtn"><div class="linkText">MY ACCOUNT</div></a>
<div class="dropdown-content">
<a href="myFavourites.htm">My Favourites</a>
<a href="manageMyEvent.htm">Manage My Events</a>
<a href="resetPassword.htm">Reset Password</a>
<a href="index.htm">Logout</a>
</div>
</li>
<!--end of section-->
<!--Show this section with php if the user is not logged in; hide if logged in-->
<!--
<li class="navLink" id="myAccountLink"><a href = "login.htm"><div class="linkText">LOGIN</div></a></li>
-->
<!--end of section-->
<li class="navLink" id="helpLink"><a href="help.htm"><div class="linkText">HELP</div></a></li>
</ul>
</div>
</div>
<!--Search bar-->
<section id="searchBar">
<input type="text" name="search" placeholder="Search.." id="searchField">
<button type = "button" id="searchButton">Search</button>
</section>
<!--Expanded Search section -->
<div id = "expandedSearch">
<div id = "subjectFilters">
<form action="" id = "filterText">
<!--Subject filters-->
<ul class="checkbox-grid">
<li><input class = "checkbox" type = "checkbox" name = "subjectFilter" value = "Social Science"><label for="subjectFilter">Social Science</label></li>
<li><input class = "checkbox" type="checkbox" name = "subjectFilter" value="epidemeology"><label for="subjectFilter">Epidemeology</label></li>
<li><input class = "checkbox" type = "checkbox" name = "subjectFilter" value = "Cognitive Science"><label for="subjectFilter">Cognitive Science</label></li>
<li><input class = "checkbox" type = "checkbox" name = "subjectFilter" value = "History of Science"><label for="subjectFilter">History of Science</label></li>
<li><input class = "checkbox" type = "checkbox" name = "subjectFilter" value = "Behavioural Science"><label for="subjectFilter">Behavioural Science</label></li>
<li><input class = "checkbox" type = "checkbox" name = "subjectFilter" value = "Social Medicine"><label for="subjectFilter">Social Medicine</label></li>
<li><input class = "checkbox" type = "checkbox" name = "subjectFilter" value = "Computer Science"><label for="subjectFilter">Computer Science</label></li>
<li><input class = "checkbox" type = "checkbox" name = "subjectFilter" value = "Medical Ethics"><label for="subjectFilter">Medical Ethics</label></li>
<li><input class = "checkbox" type = "checkbox" name = "subjectFilter" value = "Statistics"><label for="subjectFilter">Statistics</label></li>
<li><input class = "checkbox" type = "checkbox" name = "subjectFilter" value = "Public Health"><label for="subjectFilter">Public Health</label></li>
<li><input class = "checkbox" type = "checkbox" name = "subjectFilter" value = "Nutrition"><label for="subjectFilter">Nutrition</label></li>
<li><input class = "checkbox" type = "checkbox" name = "subjectFilter" value = "Child Health"><label for="subjectFilter">Child Health</label></li>
<li><input class = "checkbox" type = "checkbox" name = "subjectFilter" value = "Obesity"><label for="subjectFilter">Obesity</label></li>
<li><input class = "checkbox" type = "checkbox" name = "subjectFilter" value = "Machine Learning"><label for="subjectFilter">Machine Learning</label></li>
<li><input class = "checkbox" type = "checkbox" name = "subjectFilter" value = "AI"><label for="subjectFilter">AI</label></li>
<li><input class = "checkbox" type = "checkbox" name = "subjectFilter" value = "Structural Analysis"><label for="subjectFilter">Structural Analysis</label></li>
</ul>
</form>
</div>
<!--Date filters-->
<div id = "dateFromFilters">
<h5>From:</h5>
<select class = "day">
<option value = "1">1</option>
<option value = "2">2</option>
<option value = "3">3</option>
<option value = "4">4</option>
<option value = "5">5</option>
<option value = "6">6</option>
<option value = "7">7</option>
<option value = "8">8</option>
<option value = "9">9</option>
<option value = "10">10</option>
<option value = "11">11</option>
<option value = "12">12</option>
<option value = "13">13</option>
<option value = "14">14</option>
<option value = "15">15</option>
<option value = "16">16</option>
<option value = "17">17</option>
<option value = "18">18</option>
<option value = "19">19</option>
<option value = "20">20</option>
<option value = "21">21</option>
<option value = "22">22</option>
<option value = "23">23</option>
<option value = "24">24</option>
<option value = "25">25</option>
<option value = "26">26</option>
<option value = "27">27</option>
<option value = "28">28</option>
<option value = "29">29</option>
<option value = "30">30</option>
<option value = "31">31</option>
</select>
<select class = "month">
<option value = "January">January</option>
<option value = "February">February</option>
<option value = "March">March</option>
<option value = "April">April</option>
<option value = "May">May</option>
<option value = "June">June</option>
<option value = "July">July</option>
<option value = "August">August</option>
<option value = "September">September</option>
<option value = "October">October</option>
<option value = "November">November</option>
<option value = "December">December</option>
</select>
<select class = "year">
<option value = "2016">2016</option>
<option value = "2017">2017</option>
<option value = "2018">2018</option>
<option value = "2019">2019</option>
<option value = "2020">2020</option>
</select>
<h5>To:</h5>
<select class = "day">
<option value = "1">1</option>
<option value = "2">2</option>
<option value = "3">3</option>
<option value = "4">4</option>
<option value = "5">5</option>
<option value = "6">6</option>
<option value = "7">7</option>
<option value = "8">8</option>
<option value = "9">9</option>
<option value = "10">10</option>
<option value = "11">11</option>
<option value = "12">12</option>
<option value = "13">13</option>
<option value = "14">14</option>
<option value = "15">15</option>
<option value = "16">16</option>
<option value = "17">17</option>
<option value = "18">18</option>
<option value = "19">19</option>
<option value = "20">20</option>
<option value = "21">21</option>
<option value = "22">22</option>
<option value = "23">23</option>
<option value = "24">24</option>
<option value = "25">25</option>
<option value = "26">26</option>
<option value = "27">27</option>
<option value = "28">28</option>
<option value = "29">29</option>
<option value = "30">30</option>
<option value = "31">31</option>
</select>
<select class = "month">
<option value = "January">January</option>
<option value = "February">February</option>
<option value = "March">March</option>
<option value = "April">April</option>
<option value = "May">May</option>
<option value = "June">June</option>
<option value = "July">July</option>
<option value = "August">August</option>
<option value = "September">September</option>
<option value = "October">October</option>
<option value = "November">November</option>
<option value = "December">December</option>
</select>
<select class = "year">
<option value = "2016">2016</option>
<option value = "2017">2017</option>
<option value = "2018">2018</option>
<option value = "2019">2019</option>
<option value = "2020">2020</option>
</select>
</div>
</div>
</header>
<script async defer
src="https://maps.googleapis.com/maps/api/js?key=AIzaSyB9YAjl-Zpvqyr6RqQFW9_18HKnelIFXXA&callback=initMap">
</script>
<main role = "main">
<!-- FAVOURITES CONTENT -->
<section id="favourites">
<!--start of favourites accordion-->
<div class = "accordion">
<!-- Favourite 1 -->
<!--favourite 1 accordion header -->
<section class = "eventSummarySection">
<h3>On Muggle Teapots</h3>
<img src="_images/teapot.jpg" alt = "Img1" class= "eventImage">
<span class="addtocalendar atc-style-button-icon atc-style-menu-wb">
<a class="atcb-link">
<i class="fa fa-calendar fa-2x" class="addToCalendar"></i>
<!--<img src="_images/icon.png" width="32">-->
</a>
<var class="atc_event">
<var class="atc_date_start">2016-11-28 17:00:00</var>
<var class="atc_date_end">2016-11-28 18:00:00</var>
<var class="atc_timezone">Europe/London</var>
<var class="atc_title">On Muggle Teapots</var>
<var class="atc_description">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Si quae forte-possumus. Re mihi non aeque satisfacit, et quidem locis pluribus. Si quidem, inquit, tollerem, sed relinquo. Hoc etsi multimodis reprehendi potest, tamen accipio, quod dant.</var>
<var class="atc_location">Ministry of Magic</var>
<var class="atc_organizer">Arthur Weasley</var>
<var class="atc_organizer_email">[email protected]</var>
</var>
</span>
<i class="fa fa-star fa-2x" aria-hidden="true"></i>
<ul class="eventSummaryDetails">
<li>Mr Weasley</li>
<li>Department of Muggle Relations, <div class="address">WC1E 6BT</div></li>
<li>Ministry of Magic</li>
<li>17:00</li>
<li>Monday 28th November 2016</li>
</ul>
</section>
<!--seminar 1 accordion contents - e.g. what is visible when the section has been expanded-->
<div class="furtherDetails">
<div class="textDetails">
<p>Free</p>
<p>Description: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Si quae forte-possumus. Re mihi non aeque satisfacit, et quidem locis pluribus. Si quidem, inquit, tollerem, sed relinquo. Hoc etsi multimodis reprehendi potest, tamen accipio, quod dant.</p>
<p>
<a href = "index.htm" class="hashtag">#teapots</a>
<a href = "index.htm" class="hashtag">#arthurweasley</a>
<a href = "index.htm" class="hashtag">#mugglestudies</a>
</p>
<p>
<a href="https://www.ucl.ac.uk" class="linkToEventSite">http://www.ministryofmagic.com</a>
</p>
</div>
<div class="map"></div>
</div>
<!--end of favourite 1 contents-->
<!--Favourite 2 -->
<!--favourite 2 accordion header-->
<section class = "eventSummarySection">
<h3>The Legacy of Albus Dumbledore</h3>
<img src="_images/dumbledore.jpg" alt = "Img2" class= "eventImage">
<!--<i class="fa fa-calendar fa-2x"></i>-->
<span class="addtocalendar atc-style-button-icon atc-style-menu-wb">
<a class="atcb-link">
<i class="fa fa-calendar fa-2x" class="addToCalendar"></i>
<!--<img src="_images/icon.png" width="32">-->
</a>
<var class="atc_event">
<var class="atc_date_start">2016-11-29 18:00:00</var>
<var class="atc_date_end">2016-11-29 19:00:00</var>
<var class="atc_timezone">Europe/London</var>
<var class="atc_title">The Legacy of Albus Dumbledore</var>
<var class="atc_description">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Si quae forte-possumus. Re mihi non aeque satisfacit, et quidem locis pluribus. Si quidem, inquit, tollerem, sed relinquo. Hoc etsi multimodis reprehendi potest, tamen accipio, quod dant.</var>
<var class="atc_location">Ministry of Magic</var>
<var class="atc_organizer">Hermione Granger</var>
<var class="atc_organizer_email">[email protected]</var>
</var>
</span>
<i class="fa fa-star fa-2x" aria-hidden="true"></i>
<ul class="eventSummaryDetails">
<li>Hermione Granger</li>
<li>The Great Hall, <div class="address">MA 02138</div></li>
<li>Hogwarts School of Witchcraft and Wizardy</li>
<li>18:00</li>
<li>Tuesday 29th November 2016</li>
</ul>
</section>
<!--conference 2 accordion contents-->
<div class="furtherDetails">
<p>Free</p>
<p>Description: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Si quae forte-possumus. Re mihi non aeque satisfacit, et quidem locis pluribus. Si quidem, inquit, tollerem, sed relinquo. Hoc etsi multimodis reprehendi potest, tamen accipio, quod dant.</p>
<p>Abstract deadline: 20th October 2016</p>
<p>
<a href = "index.htm" class="hashtag">#dumbledore</a>
</p>
<p>
<a href="https://www.ucl.ac.uk" class = "linkToEventSite">http://www.hogwarts/da.com</a>
</p>
<div class="map"></div>
</div>
<!--end of favourite 2 accordion contents -->
<!--Favourite 3-->
<!--favourite 3 accordion header-->
<section class = "eventSummarySection">
<h3>An Evening with Nearly Headless Nick</h3>
<img src="_images/nearlyHeadlessNick.jpg" alt = "Img3" class= "eventImage">
<!--<i class="fa fa-calendar fa-2x"></i>-->
<span class="addtocalendar atc-style-button-icon atc-style-menu-wb">
<a class="atcb-link">
<i class="fa fa-calendar fa-2x" class="addToCalendar"></i>
<!--<img src="_images/icon.png" width="32">-->
</a>
<var class="atc_event">
<var class="atc_date_start">2016-11-30 19:00:00</var>
<var class="atc_date_end">2016-11-30 20:00:00</var>
<var class="atc_timezone">Europe/London</var>
<var class="atc_title">An Evening with Nearly Headless Nick</var>
<var class="atc_description">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Si quae forte-possumus. Re mihi non aeque satisfacit, et quidem locis pluribus. Si quidem, inquit, tollerem, sed relinquo. Hoc etsi multimodis reprehendi potest, tamen accipio, quod dant.</var>
<var class="atc_location">Ministry of Magic</var>
<var class="atc_organizer">Sir Nicholas</var>
<var class="atc_organizer_email">[email protected]</var>
</var>
</span>
<i class="fa fa-star fa-2x" aria-hidden="true"></i>
<ul class="eventSummaryDetails">
<li>Nearly Headless Nick</li>
<li>The Dungeons, <div class="address">CA 94305-2004</div></li>
<li>Hogwarts School of WitchCraft and Wizardry</li>
<li>19:00</li>
<li>Wednesday 30th November 2016</li>
</ul>
</section>
<!--conference 3 accordion contents-->
<div class="furtherDetails">
<p>Free</p>
<p>Description: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Si quae forte-possumus. Re mihi non aeque satisfacit, et quidem locis pluribus. Si quidem, inquit, tollerem, sed relinquo. Hoc etsi multimodis reprehendi potest, tamen accipio, quod dant.</p>
<p>Abstract deadline: 20th August 2016</p>
<p>
<a href = "index.htm" class="hashtag">#ghoststories</a>
</p>
<p>
<a href="https://www.ucl.ac.uk" class = "linkToEventSite">http://www.hogwarts/da.com</a>
</p>
<div class="map"></div>
</div>
</div>
<!--end of favourites accordion-->
</section>
</main>
<!--Footer-->
<footer id = "pageFooter">
<ul id = "footerNav">
<li class="footerLink"><a href="tandc.htm">Terms and Conditions</a></li>
<li class="footerLink"><a href ="contact.htm">Contact</a></li>
<li class="footerLink"><a href= "copy.htm">Copyright</a></li>
</ul>
</footer>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js"></script>
<!--<script src = "_scripts/myFavouritesScript.js"></script>-->
<script src = "_scripts/script.js"></script>
<script src = "_scripts/myFavourites.js"></script>
</body>
</html>