-
Notifications
You must be signed in to change notification settings - Fork 0
/
create_event.html
281 lines (270 loc) · 16.6 KB
/
create_event.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
<!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, shrink-to-fit=no" />
<meta name="description" content="" />
<meta name="author" content="" />
<title>Schrödinger's Box - Create Event</title>
<link href="./css/styles.css" rel="stylesheet" />
<link rel="stylesheet" href="./css/icomoon.css">
<link rel="stylesheet" href="./css/create_event.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.11.2/js/all.min.js"
crossorigin="anonymous"></script>
<!--<script src="https://ajax.aspnetcdn.com/ajax/jquery/jquery-1.9.0.min.js"></script>-->
<script src="https://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js"></script>
<script src="./js/common.js"></script>
</head>
<body class="sb-nav-fixed">
<nav class="sb-topnav navbar navbar-expand navbar-dark bg-dark">
<a class="navbar-brand" href="dashboard.html"><span class="icomoon"
style="font-size: 20px;"></span> Schrödinger's Box</a>
<button class="btn btn-link btn-sm order-1 order-lg-0" id="sidebarToggle" href="#"><i
class="fas fa-bars"></i></button>
<!-- Navbar Search-->
<form class="d-none d-md-inline-block form-inline ml-auto mr-0 mr-md-3 my-2 my-md-0">
<div class="input-group">
<input class="form-control" type="text" placeholder="Start your exploration!" aria-label="Search"
aria-describedby="basic-addon2" />
<div class="input-group-append">
<button class="btn btn-primary" type="button"><i class="fas fa-search"></i></button>
</div>
</div>
</form>
<!-- Navbar-->
<ul class="navbar-nav ml-auto ml-md-0">
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" id="userDropdown" href="#" role="button" data-toggle="dropdown"
aria-haspopup="true" aria-expanded="false"><i class="fas fa-user fa-fw"></i></a>
<div class="dropdown-menu dropdown-menu-right" aria-labelledby="userDropdown">
<a class="dropdown-item" href="profile.html">Profile</a>
<a class="dropdown-item" href="help.html">Help</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="index.html">Logout</a>
</div>
</li>
</ul>
</nav>
<div id="layoutSidenav">
<div id="layoutSidenav_nav">
<nav class="sb-sidenav accordion sb-sidenav-light" id="sidenavAccordion">
<div class="sb-sidenav-menu">
<div class="nav">
<div class="sb-sidenav-menu-heading">Homepage</div>
<a class="nav-link" href="dashboard.html">
<span class="icomoon"></span> Dashboard
</a>
<div class="sb-sidenav-menu-heading">My Stuff</div>
<a class="nav-link" href="create_event.html">
<span class="icomoon"></span> Create an Event
</a>
<a class="nav-link collapsed" href="#" data-toggle="collapse" data-target="#collapseEvents"
aria-expanded="false" aria-controls="collapseEvents" id="myEventsSideNav">
<span class="icomoon"></span> My Events
<div class="sb-sidenav-collapse-arrow"><i class="fas fa-angle-down"></i></div>
</a>
<div class="collapse" id="collapseEvents" aria-labelledby="headingOne"
data-parent="#sidenavAccordion">
<nav class="sb-sidenav-menu-nested nav">
<a class="nav-link" href="organiser.html">
<span class="icomoon"></span> As Organiser</a>
<a class="nav-link" href="participant.html">
<span class="icomoon"></span> As Participant</a>
</nav>
</div>
<a class="nav-link" href="collections.html">
<span class="icomoon"></span> My Collections
</a>
<div class="sb-sidenav-menu-heading">Settings</div>
<a class="nav-link" href="profile.html">
<span class="icomoon"></span> Profile
</a>
<a class="nav-link" href="interests.html">
<span class="icomoon"></span> Interests
</a>
<a class="nav-link" href="notifications.html">
<span class="icomoon"></span> Notifications
</a>
<a class="nav-link" href="subscriptions.html">
<span class="icomoon"></span> Subscriptions
</a>
<div class="sb-sidenav-menu-heading">Guide</div>
<a class="nav-link" href="help.html">
<span class="icomoon"></span> Event Creation
</a>
</div>
</div>
<div class="sb-sidenav-footer">
<div class="small">Logged in as:</div>
<div id="login_name">Username</div>
</div>
</nav>
</div>
<div id="layoutSidenav_content">
<main>
<div class="container-fluid">
<h2 class="mt-4">Create an Event</h2>
<ol class="breadcrumb mb-4">
<li class="breadcrumb-item">My Stuff</li>
<li class="breadcrumb-item">Create an Event</li>
</ol>
<form role="form" id="createEventForm">
<div class="form-group">
<label for="createEvent_title"><strong>Name of Event *</strong></label>
<input type="text" name="title" class="form-control" id="createEvent_title"
placeholder="Enter name of the event" required>
<p class="help-block small" style="color:rgb(107, 117, 126)"> Character Limits:
60 characters</p>
</div><br>
<div class="form-group">
<label for="createEvent_time_begin"><strong>Estimated Starting Date and Time
*</strong></label>
<div class="row">
<div class="col-lg-6 col-md-8 col-sm-10 col-xs-10">
<input type="datetime-local" name="time_begin" class="form-control"
id="createEvent_time_begin" required>
</div>
</div>
</div>
<div class="form-group">
<label for="createEvent_time_end"><strong>Ending Date and Time *</strong></label>
<div class="row">
<div class="col-lg-6 col-md-8 col-sm-10 col-xs-10">
<input type="datetime-local" name="time_end" class="form-control"
id="createEvent_time_end" required>
</div>
</div>
</div><br>
<div class="form-group">
<label for="createEvent_topic"><strong>Type of event *</strong></label>
<select class="form-control col-lg-6 col-md-8 col-sm-10 col-xs-10 form-control"
id="createEvent_topic">
<option value="">Please select the option that describes your event the best</option>
<option value="physical">Camp</option>
<option value="physical">Competition</option>
<option value="physical">Leisure</option>
<option value="physical">Meeting</option>
<option value="physical">Performance</option>
<option value="physical">Religious</option>
<option value="physical">Research</option>
<option value="physical">Sports</option>
<option value="physical">Talk</option>
<option value="physical">Volunteering</option>
<option value="virtual">Workshop</option>
</select><br>
</div>
<div class="form-group">
<label><strong>Location *</strong></label><br><br>
<div>
<label for="createEventPhysical"><input type="radio" name="createEvent_locType"
id="createEventPhysical"> Physical</label>
<label for="createEventVirtual"><input type="radio" name="createEvent_locType"
id="createEventVirtual"> Online</label>
<!--<select name="" id="">
<option value="physical">Physical</option>
<option value="online">Virtual</option>
</select>-->
</div><br>
<div class="createEventPhysicalDiv">
<p class="help-block">Fill in <strong>only if</strong> "Physical": </p>
<input type="text" class="form-control" name="address" id="createEvent_locAddress"
placeholder="E.g. 2 Sports Drive 1"><br>
<input type="number" class="form-control" name="zip_code" id="createEvent_locPostal"
placeholder="E.g. 117561" maxlength="6"><br>
<input type="text" class="form-control" name="building" id="createEvent_locBuilding"
placeholder="E.g. University Sports Centre"><br>
</div>
<div class="createEventVirtualDiv">
<p class="help-block">Fill in <strong>only if</strong> "Online": </p>
<input type="text" class="form-control" name="platform" id="platformNewEvent"
placeholder="E.g. Telegram"><br>
<input type="text" class="form-control" name="link" id="linkNewEvent"
placeholder="E.g. https://joinchat/abC"><br>
</div>
</div>
<div class="form-group">
<label for="capNewEvent"><strong>Minimum/Maximum Capacity (if any)</strong></label>
<div class="row">
<div class="col-lg-4 col-md-5 col-sm-6 col-xs-6">
<input type="number" class="form-control" id="minCapNewEvt"
placeholder="Enter Minumum Capacity">
</div>
<div class="col-lg-4 col-md-5 col-sm-6 col-xs-6">
<input type="number" class="form-control" id="maxCapNewEvt"
placeholder="Enter Maximum Capacity">
</div>
</div>
</div><br>
<div class="form-group">
<label for="eventDescription"><strong>Add descriptions of the event</strong></label><br>
<textarea class="col-lg-12 col-md-12 col-sm-12 col-xs-12" id="eventDescription" rows="3"
style="border: 1px solid rgb(205, 212, 219); border-radius: 4px;"
required></textarea><br><br>
</div>
<!--<div class="form-group">
<label for="inputImg"><strong>Insert images here:</strong> </label>
<input type="file" id="inputImg">
<p class="helpblock small" style="color:rgb(107, 117, 126)">The first image will be the cover image of your event.</p>
</div>-->
<div class="form-group" style="position: relative;">
<label for="inputImg" style="position: relative; float: left; width: 100%;"><strong>Insert
images here:</strong> </label>
<!--<div class="uploadImgBtn" id="uploadImgBtn">
<input class="uploadImg" type="file" name="file" multiple id="inputImg">
</div>-->
<div style="position: relative; float: left; width: 100%;">
<div class="gallery" id="gallery" style="position: relative; float: left;"></div>
<div class="uploadImgBtn" id="uploadImgBtn" style="position: relative; float: left;">
<input type="file" multiple id="inputImg" class="uploadImg">
</div>
</div>
<p class="helpblock small"
style="color:rgb(107, 117, 126); position: relative; float: left; width: 100%;">The
first image will be the cover image of your event.</p>
</div>
<div class="form-group">
<label for="inputVideo"><strong>Insert videos here:</strong> </label>
<input type="file" id="inputVideo">
</div><br>
<div class="checkbox">
<label>
<input type="checkbox" required> I acknowledge that I am responsible for all
the above information.
</label>
</div><br>
</form>
<br>
<div class="form-group">
<div class="row">
<div class="col-lg-4 col-md-3 col-sm-2 col-xs-2"></div>
<div class="col-lg-4 col-md-6 col-sm-8 col-xs-8">
<button class="btn btn-success btn-block" type="button" id="createEventSubmit"
style="width: inherit;"><strong>Submit</strong></button>
</div>
<div class="col-lg-4 col-md-3 col-sm-2 col-xs-2"></div>
</div>
</div>
</div>
</main>
<footer class="py-4 bg-light mt-auto">
<div class="container-fluid">
<div class="d-flex align-items-center justify-content-between small">
<div class="text-muted">Copyright © Schrödinger's Box 2020</div>
<div>
<a href="#">Privacy Policy</a>
·
<a href="#">Terms & Conditions</a>
</div>
</div>
</div>
</footer>
</div>
</div>
<script src="https://code.jquery.com/jquery-3.4.1.min.js" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.bundle.min.js"
crossorigin="anonymous"></script>
<script src="./js/scripts.js"></script>
<script src="./js/create_event.js"></script>
</body>
</html>