-
Notifications
You must be signed in to change notification settings - Fork 0
/
demo.html
370 lines (315 loc) · 19.9 KB
/
demo.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
<!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>Routine Manager</title>
<link rel="icon" href="https://image.flaticon.com/icons/png/512/216/216295.png" type="image/icon type" />
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css"
integrity="sha384-JcKb8q3iqJ61gNV9KGb8thSsNjpSL0n8PARn9HuZOnIxN0hoP+VmmDGMN5t9UJ0Z" crossorigin="anonymous" />
<link rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/jquery-datetimepicker/2.5.4/jquery.datetimepicker.min.css" />
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" />
<link href="https://cdn.jsdelivr.net/npm/simple-datatables@latest/dist/style.css" rel="stylesheet" />
<link rel="stylesheet" href="css/style.css" />
<link href="css/bootstyles.css" rel="stylesheet" />
</head>
<body class="sb-nav-fixed bg-default" id="body" style="overflow-y: scroll">
<nav class="sb-topnav navbar navbar-expand navbar-dark bg-dark">
<!-- Navbar Brand-->
<a class="navbar-brand ps-3" href="index.html">Routine Manager</a>
<!-- Sidebar Toggle-->
<button class="btn btn-link btn-sm order-1 orders-lg-0 me-4 me-lg-0" id="sidebarToggle" href="#!">
<i class="fa fa-bars"></i>
</button>
<!-- Navbar Search-->
<form class="
d-none d-md-inline-block
form-inline
ms-auto
me-0 me-md-3
my-2 my-md-0
">
<div class="input-group">
<input class="form-control" type="text" placeholder="Search notices..." id="filterNotice"
title="Type notice name" />
<button class="btn btn-primary" id="btnNavbarSearch" type="button">
<i class="fa fa-search"></i>
</button>
</div>
</form>
<!-- Navbar-->
<i class="sb-nav-link-icon fa fa-cog"></i>
</nav>
<div id="layoutSidenav">
<div id="layoutSidenav_nav">
<nav class="sb-sidenav accordion sb-sidenav-dark" id="sidenavAccordion">
<div class="sb-sidenav-menu">
<div class="nav">
<!-- buttons -->
<div class="sb-sidenav-menu-heading">Dashboard</div>
<button class="nav-link btn" onclick="viewAll(true);viewAll(true);">
<i class="sb-nav-link-icon fa fa-address-card"></i>
View Full
</button>
<button class="btn nav-link" onclick="classTime(filter(true)); " id="filterBtn">
<i class="sb-nav-link-icon fa fa-hourglass"></i>
Filter
</button>
<button class="btn nav-link" onclick="classTime(filter(false));classTime(filter(false))">
<i class="sb-nav-link-icon fa fa-paper-plane"></i>
View Next Day
</button>
<!-- <button class="btn nav-link">
<i class="sb-nav-link-icon fa fa-clock-o"></i>
Exam Routine
</button> -->
<button type="button" class="btn nav-link" id="remind">
<i class="sb-nav-link-icon fa fa-bell"></i>
Set Reminder
</button>
<button type="button" class="btn nav-link" id="oldNoticebtn" onclick="createCards(true, true)">
<i class="sb-nav-link-icon fa fa-binoculars"></i>
<span id="toogleNotice">Old Notices</span>
</button>
</div>
</div>
<div class="sb-sidenav-footer">
<button type="button" class="btn nav-link text-info" id="resetButton" onclick="resetAll()">
<i class="sb-nav-link-icon fa fa-repeat"></i>
Reset All
</button>
</div>
</nav>
</div>
<div id="layoutSidenav_content">
<div class="page-container my-auto row-fluid sidebar-closed">
<div class="page-content">
<div class="container-fluid">
<h3 id="page-title" style="text-align: -webkit-center"></h3>
<div class="my-3 upcomingInfo container text-center">
<h5>Upcoming Class:</h5>
<h5 id="upcoming"></h5>
<h5 id="countdown" class="bg-dark text-light"></h5>
</div>
<!-- END PAGE HEADER-->
<div class="container">
<div class="row">
<div class="col-md-8 tableDiv" style="align-self: center">
<div id="input" class="buttonIn">
<input style="box-shadow: 0px 1px 3px #b3a3a3" type="text"
class="form-control my-3" id="myInput" placeholder="Search.." />
</div>
<!-- BEGIN PAGE CONTENT-->
<div class="row-fluid">
<div class="span12">
<div>
<div>
<div class="clearfix"></div>
<table style="
box-shadow: 0px 3px 7px #b3a3a3;
height: 51.8vh;
" class="
table table-striped table-bordered table-hover
" id="sample_1">
<thead>
<tr>
<th>Serial</th>
<th class="">Course Code</th>
<th>Section</th>
<th>Shift</th>
<th>Day</th>
<th>Time</th>
<th>Room</th>
<th>Instructor</th>
</tr>
</thead>
<tbody id="tbody">
<tr class="odd gradeX">
<td>
<a target="_blank"
href="https://classroom.google.com/u/0/c/MzQ4NjE3ODIyMzkx">1</a>
</td>
<td class="">ART 203</td>
<td class="">L</td>
<td class="">DAY</td>
<td class="">Tuesday</td>
<td class="">01:10pm 02:10pm</td>
<td class="">921
<!--<a href="JavaScript:newPopup('soluation_details.php?SID=&TQ=');" style="color:#030">(view)</a>-->
</td>
<td class="">HKB</td>
<!-- <span class="label label-success">Solved</span>
<span class="label label-important">Pending</span>-->
</tr>
<tr class="odd gradeX">
<td>
<a target="_blank"
href="https://www.facebook.com/groups/468664047568035/search?q=zoom%20id&filters=eyJycF9jaHJvbm9fc29ydDowIjoie1wibmFtZVwiOlwiY2hyb25vc29ydFwiLFwiYXJnc1wiOlwiXCJ9In0%3D&redirectedFromRoutine">2</a>
</td>
<td class="">CSC 451</td>
<td class="">F</td>
<td class="">DAY</td>
<td class="">Sunday</td>
<td class="">03:20pm 04:20pm</td>
<td class="">620
<!--<a href="JavaScript:newPopup('soluation_details.php?SID=&TQ=');" style="color:#030">(view)</a>-->
</td>
<td class="">MRH</td>
<!-- <span class="label label-success">Solved</span>
<span class="label label-important">Pending</span>-->
</tr>
<tr class="odd gradeX">
<td>
<a target="_blank"
href="https://www.facebook.com/groups/468664047568035/search?q=zoom%20id&filters=eyJycF9jaHJvbm9fc29ydDowIjoie1wibmFtZVwiOlwiY2hyb25vc29ydFwiLFwiYXJnc1wiOlwiXCJ9In0%3D&redirectedFromRoutine">3</a>
</td>
<td class="">CSC 451</td>
<td class="">F</td>
<td class="">DAY</td>
<td class="">Monday</td>
<td class="">03:20pm 04:20pm</td>
<td class="">620
<!--<a href="JavaScript:newPopup('soluation_details.php?SID=&TQ=');" style="color:#030">(view)</a>-->
</td>
<td class="">MRH</td>
<!-- <span class="label label-success">Solved</span>
<span class="label label-important">Pending</span>-->
</tr>
<tr class="odd gradeX">
<td>
<a target="_blank"
href="https://www.facebook.com/groups/468664047568035/search?q=zoom%20id&filters=eyJycF9jaHJvbm9fc29ydDowIjoie1wibmFtZVwiOlwiY2hyb25vc29ydFwiLFwiYXJnc1wiOlwiXCJ9In0%3D&redirectedFromRoutine">4</a>
</td>
<td class="">CSC 451</td>
<td class="">F</td>
<td class="">DAY</td>
<td class="">Wednesday</td>
<td class="">03:20pm 04:20pm</td>
<td class="">506
<!--<a href="JavaScript:newPopup('soluation_details.php?SID=&TQ=');" style="color:#030">(view)</a>-->
</td>
<td class="">MRH</td>
<!-- <span class="label label-success">Solved</span>
<span class="label label-important">Pending</span>-->
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
<!-- END PAGE CONTENT-->
</div>
<!-- style="align-self: center" -->
<div class="col-md-4 noticeDiv p-0">
<!-- exam -->
<div class="examlist mb-2">
<div class="row col-12">
<div class="col-12 ">
<p class="font-weight-bold">📢 Current Notice 📢</p>
</div>
</div>
<div class="wrapperExam"></div>
</div>
<!-- notification -->
<div class="notification">
<div class="row col-12">
<div class="col-8 ">
<p class="font-weight-bold" id="upcomingNotice">
🔔 Upcoming Notice 🔔
</p>
</div>
<div class="col-4">
<p class="font-weight-bold clear hideModal text-light" id="clearAll">
Clear All
</p>
</div>
</div>
<div class="wrapperNotifi"></div>
</div>
</div>
</div>
</div>
</div>
<!-- END PAGE CONTAINER-->
<!-- modal -->
<div class="modaldiv hideModal" id="modalDiv">
<h3 class="text-center">🔔 Set Your Reminder 🔔</h3>
<label>Title</label>
<input id="title" class="form-control" type="text" />
<label for="password1">Select Date</label>
<input id="date" class="form-control" type="date" />
<label for="password1">Select Time</label>
<input id="time" class="form-control" type="time" />
<label for="password1">Description</label>
<textarea class="form-control" id="description" rows="2"
placeholder="write something..."></textarea>
<label for="password1">Set Notification</label>
<input type="number" class="form-control" id="number" min="1" max="100"
placeholder="set remaining day number" />
<div class="border-top-0 d-flex mt-3 justify-content-center">
<button type="submit" class="col-12 btn btn-success btn-lg" id="submitBtn">
Submit
</button>
</div>
<a href="" class="close"><i class="fa fa-window-close" aria-hidden="true"></i></a>
</div>
<div class="overlay hideModal"></div>
<div class="confirmModal hideModal">
<h6 class="text-center">⚠️ Are You Sure You Want to Delete?⚠️</h6>
<div class="
border-top-0
d-flex
mt-5
justify-content-center
mx-5
btn-group
" style="border-radius: 2em">
<button class="btn btn-primary rounded" id="yesBtn" style="
border-top-left-radius: 1em !important;
border-bottom-left-radius: 1em !important;
">
Yes
</button>
<button class="btn btn-danger rounded mx-1" id="noBtn" style="
border-top-right-radius: 1em !important;
border-bottom-right-radius: 1em !important;
">
No
</button>
</div>
<a href="#0" class="close" id="closeConfirm"><i class="fa fa-window-close"
aria-hidden="true"></i></a>
</div>
<!-- end modal -->
</div>
<!-- END PAGE -->
</div>
<!-- END CONTAINER -->
<footer class="py-4 bg-light mt-auto">
<div class="container-fluid px-4">
<div class="d-flex align-items-center justify-content-between small">
<div class="text-muted">
Copyright © Mohammad Ali Shuvo 2021.
</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-2.2.4.min.js"></script>
<script src="js/scripts.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/es5.js"></script>
<script src="js/script.js"></script>
</body>
</html>