-
Notifications
You must be signed in to change notification settings - Fork 0
/
dashboard.html
236 lines (226 loc) · 13.7 KB
/
dashboard.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
<!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 - Dashboard</title>
<link href="./css/styles.css" rel="stylesheet" />
<link rel="stylesheet" href="./css/icomoon.css">
<link rel="stylesheet" href="./css/dashboard.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.11.2/js/all.min.js"
crossorigin="anonymous"></script>
<script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>
<script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
<link href="https://cdn.datatables.net/1.10.20/css/dataTables.bootstrap4.min.css" rel="stylesheet"
crossorigin="anonymous" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.11.2/js/all.min.js"
crossorigin="anonymous"></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" style="position: relative; float: right">
<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">
<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"></div>
</div>
</nav>
</div>
<div id="layoutSidenav_content">
<main>
<div class="container-fluid">
<h1 class="mt-4">Dashboard</h1>
<ol class="breadcrumb mb-4">
<li class="breadcrumb-item active">Dashboard</li>
</ol>
<div style="width: 100%">
<button class="btn" id="dataTable_switch"
style="font-size: 1.3rem; color: grey; border-radious: 20px; border: 1px solid grey; background-color: white; box-shadow: 2px 2px 2px 2px; position: relative; float: right">
<div class="icomoon" style="font-size: 1.8rem; display: inline" id="ico"> </div>
<span id="change_content">More Efficient Searching Option</span>
</button>
</div>
<div class="card mb-4" id="dataTable_div" style="position: relative; float: left; margin-top: 1rem">
<div class="card-header">
<!--<i class="fas fa-table mr-1"></i>-->
<span class="icomoon" style="color: black"></span> All Events</div>
<div class="card-body">
<div class="table-responsive">
<table class="table table-bordered" id="dataTable" width="100%" cellspacing="0">
<thead>
<tr>
<th>Event Name</th>
<th>Creation Time</th>
<th>Starting Time</th>
<th>Ending Time</th>
<th>Popularity (signups)</th>
<th>Type</th>
<th>Location Type</th>
<th>Location Details</th>
</tr>
</thead>
<tfoot>
<tr>
<th>Event Name</th>
<th>Creation Time</th>
<th>Starting Time</th>
<th>Ending Time</th>
<th>Popularity</th>
<th>Type</th>
<th>Location Type</th>
<th>Location Details</th>
</tr>
</tfoot>
</table>
</div>
</div>
</div>
<div id="normal_page_display" style="position: relative; float: left">
<form role="form" id="">
<div class="form-group">
<div
style="margin-bottom: 0.5rem; display: block; position: relative; float: left; width: 100%;">
<span>Sort by </span>
<select class="form-control" id="dash_sort">
<option value="created_at">Creation Time</option>
<option value="time_begin">Starting Date and Time</option>
<option value="time_end">Ending Date and Time</option>
</select>
<label for="desc_dash_sort" id="dash_sort_label_des" class="cursor_pointer"><input
type="checkbox" id="desc_dash_sort"> descending</label>
</div>
<div class="pagination" id="pag_upper">
<div style="position: relative; float: right;">
<a class="upper_pag_content prev_page_events cursor_pointer">❮</a>
<a class="current_page_events active">1</a>
<a class="upper_pag_content next_page_events cursor_pointer">❯</a>
<a class="upper_pag_content" id="pagination_text">Go to</a>
<input class="form-control upper_pag_content" id="go_to_page"
style="width: 3rem; height: inherit;" type="text">
<a class="upper_pag_content" id="dash_total_pg">of </a>
<a class="upper_pag_content cursor_pointer" id="search_page">Go!</a>
</div>
</div>
</div>
</form><br>
<div id="display_events"></div>
<div class="pagination" style="position: relative; float: left; left: 50%;
transform:translateX(-50%); margin: 0 auto;" id="phone_pag_bottom">
<div style="position: relative; float: left; width:100%; display: flex;">
<a class="first_page_events cursor_pointer">❮❮</a>
<a class="prev_page_events cursor_pointer">❮</a>
<a class="current_page_events active">1</a>
<a class="next_page_events cursor_pointer">❯</a>
<a class="last_page_events cursor_pointer">❯❯</a>
</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="https://code.jquery.com/jquery.js"></script>
<script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
<script type="text/javascript" src="https://cdn.datatables.net/1.10.21/js/jquery.dataTables.min.js"></script>
<script type="text/javascript" src="https://cdn.datatables.net/1.10.21/js/dataTables.bootstrap4.min.js"></script>
<link rel="stylesheet" type="text/css"
href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.1.3/css/bootstrap.css" />
<link rel="stylesheet" type="text/css"
href="https://cdn.datatables.net/1.10.21/css/dataTables.bootstrap4.min.css" />
<script src="./js/dashboard.js"></script>
</body>
</html>