forked from AppsDesignTeam7/RIN
-
Notifications
You must be signed in to change notification settings - Fork 0
/
manageMyEvent.htm
380 lines (299 loc) · 13 KB
/
manageMyEvent.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
<!DOCTYPE HTML>
<html lang="en">
<head>
<meta charset = "utf-8">
<title>Manage My Events</title>
<link rel="stylesheet" type="text/css" href="_css/styles.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>
<!--script for calendar function-->
<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>
<header role = "banner">
<!--Banner -->
<div id = "banner">
<a href = "index.htm">
<div id="linkToHome">
<h1>RIN</h1>
<h2>Manage My Events</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>
<main role = "main">
<!--Beginning of accordion for Manage My Events-->
<div class = "accordion">
<!--Event 1-->
<!--event 1 accordion-->
<section class = "eventSummarySection">
<h3>Flying Muggle Cars</h3>
<img src="_images/fordAnglia.jpg" alt = "Img1" class= "eventImage">
<p class="eventApprovalStatus eventApprovalStatusText">Not Approved</p>
<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>
<!--end of event 1 accordion header-->
<!--event 1 accordion contents-->
<div class="furtherDetails">
<p>Event created: 2 Dec 2016</p>
</div>
<!--end of event 1 accordion contents-->
<!--Event 2-->
<!--event 2 accordion header-->
<section class = "eventSummarySection">
<h3>The Lesser Known Behaviours of the Hippogriff</h3>
<img src="_images/hippogriff.jpg" alt = "Img2" class= "eventImage">
<p class="eventApprovalStatus eventApprovalStatusText">Pending Approval</p>
<ul class="eventSummaryDetails">
<li></li>
<li></li>
</ul>
</section>
<!--end of event 2 accordion header-->
<!--event 2 accordion contents-->
<div class="furtherDetails">
<p>Event created: 1 Dec 2016</p>
<p>Event approved: 1 Dec 2016</p>
</div>
<!--end of event 2 accordion contents-->
<!--Event 3-->
<!--event 3 accordion header-->
<section class = "eventSummarySection">
<h3>Metal to Gold: The Work of Nicholas Flamel</h3>
<img src="_images/nicholasFlamel.jpg" alt = "Img2" class= "eventImage">
<p class="eventApprovalStatus eventApprovalStatusText">Approved</p>
<ul class="eventSummaryDetails">
<li>20 Favourited</li>
<li>5 Calendar Adds</li>
</ul>
</section>
<!--end of event 3 accordion header-->
<!--event 3 accordion contents-->
<div class="furtherDetails">
<p>Event created: 30 Nov 2016</p>
<p>Approved: 1 Dec 2016</p>
</div>
<!--end of event 3 accordion contents-->
</div>
<!--end of accordion-->
</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/manageMyEventsScript.js"></script>
<script src = "_scripts/script.js"></script>
</body>
</html>