-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
225 lines (203 loc) · 10.5 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Academic Calendar</title>
<link rel="stylesheet" href="index.css">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link
href="https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap"
rel="stylesheet">
</head>
<body>
<div class="select_year_main_body">
</div>
<div class="menu_btn" onclick="Show_navbar()" id="menu_img">
<svg xmlns="http://www.w3.org/2000/svg" width="30" height="30" fill="currentColor" class="bi bi-list"
viewBox="0 0 16 16">
<path fill-rule="evenodd"
d="M2.5 12a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5m0-4a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5m0-4a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5" />
</svg>
</div>
<div class="menu" id="menu">
<div class="timetable">
<h1>Timetable</h1>
</div>
<div class="timetable_details">
<div>
<select class=" form" aria-label="Default select example" id="student_year">
<option class="option" selected>Year</option>
<option class="option" value="1">1st</option>
<option class="option" value="2">2nd</option>
<option class="option" value="3">3rd</option>
<option class="option" value="4">4th</option>
</select>
</div>
<div>
<select class=" form" aria-label="Default select example" id="student_branch">
<option class="option" selected>Branch</option>
<option class="option" value="CSE">CSE</option>
<option class="option" value="CSA">CSA</option>
<option class="option" value="CSD">CSD</option>
<option class="option" value="CSH">CSH</option>
<option class="option" value="ECE">ECE</option>
<option class="option" value="ECI">ECI</option>
</select>
</div>
<div>
<select class="form" aria-label="Default select example" id="student_section">
<option class="option" selected>Sec</option>
<option class="option" value="A">A</option>
<option class="option" value="B">B</option>
<option class="option" value="C">C</option>
</select>
</div>
</div>
<div class="timetable_get_btn">
<button class="btn btn-primary" id="timetable_get_btn" onclick="show_available_data()">Get</button>
</div>
<div class="available_data" id="available_data">
</div>
</div>
<div class="main_body">
<div class="calendar" id="calendar">
<div class="color_scheme">
<div class="red color_block">
<div class="color_red color"></div>
<div class="color_value">Holiday</div>
</div>
<div class="green color_block">
<div class="color_green color">
</div>
<div class="color_value">Academic event</div>
</div>
<div class="yellow color_block">
<div class="color_yellow color"></div>
<div class="color_value">Exams</div>
</div>
<div class="blue color_block">
<div class="color_blue color">
</div>
<div class="color_value">Institute Event</div>
</div>
</div>
<div class="upper_cal">
<div class="current_month_main">
<div class="prev_month change_btn" id="prev_month"
onclick="remove(extra); Create_Cal(current_mon -1)">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor"
class="bi bi-caret-left-fill" viewBox="0 0 16 16">
<path
d="m3.86 8.753 5.482 4.796c.646.566 1.658.106 1.658-.753V3.204a1 1 0 0 0-1.659-.753l-5.48 4.796a1 1 0 0 0 0 1.506z" />
</svg>
</div>
<div class="current_month" id="current_month">
</div>
<div class="next_month change_btn" id="next_month"
onclick="remove(extra); Create_Cal(current_mon + 1)">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor"
class="bi bi-caret-right-fill" viewBox="0 0 16 16">
<path
d="m12.14 8.753-5.482 4.796c-.646.566-1.658.106-1.658-.753V3.204a1 1 0 0 1 1.659-.753l5.48 4.796a1 1 0 0 1 0 1.506z" />
</svg>
</div>
</div>
<div class="current_year_main">
<div class="prev_year change_btn" id="prev_year"
onclick="current_year = current_year - 1; remove(extra); Create_Cal(current_mon)"><svg
xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor"
class="bi bi-caret-left-fill" viewBox="0 0 16 16">
<path
d="m3.86 8.753 5.482 4.796c.646.566 1.658.106 1.658-.753V3.204a1 1 0 0 0-1.659-.753l-5.48 4.796a1 1 0 0 0 0 1.506z" />
</svg></div>
<div class="current_year" id="current_year"></div>
<div class="next_year change_btn" id="next_year"
onclick="current_year = current_year + 1; remove(extra); Create_Cal(current_mon)">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor"
class="bi bi-caret-right-fill" viewBox="0 0 16 16">
<path
d="m12.14 8.753-5.482 4.796c-.646.566-1.658.106-1.658-.753V3.204a1 1 0 0 1 1.659-.753l5.48 4.796a1 1 0 0 1 0 1.506z" />
</svg>
</div>
</div>
</div>
<div class="lower_cal">
<div class="days">
<div class="monday all_days">
Mon
</div>
<div class="tuesday all_days">
Tues
</div>
<div class="wednesday all_days">
Wed
</div>
<div class="thursday all_days">
Thu
</div>
<div class="friday all_days">
Fri
</div>
<div class="saturday all_days">
Sat
</div>
<div class="sunday all_days">
Sun
</div>
</div>
<div class="dates" id="dates">
</div>
</div>
</div>
</div>
<div class="list_main_body" id="list_main_body">
<div class="Events">
<span class="event_head" id="event_head">event_head</span>
<div class="which_event" id="which_event">which_event</div>
</div>
<div class="back_btn" onclick="open_list_main(current_day, current_mon,current_year)">
<svg xmlns="http://www.w3.org/2000/svg" width="30px" height="30px" fill="currentColor"
class="bi bi-arrow-right" viewBox="0 0 16 16">
<path fill-rule="evenodd"
d="M1 8a.5.5 0 0 1 .5-.5h11.793l-3.147-3.146a.5.5 0 0 1 .708-.708l4 4a.5.5 0 0 1 0 .708l-4 4a.5.5 0 0 1-.708-.708L13.293 8.5H1.5A.5.5 0 0 1 1 8" />
</svg>
</div>
<div class="list_head">
<div class="date_list_head" id="date_list_head">
19 / JULY / 2024
</div>
<div class="day_list_head" id="day_list_head">
MONDAY
</div>
</div>
<div class="list_body">
<div class="options_list_body">
<div class="add_work" id="add_work" onclick="add_work(current_day, current_mon,current_year)">
<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" fill="currentColor"
class="bi bi-plus" viewBox="0 0 16 16">
<path
d="M8 4a.5.5 0 0 1 .5.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3A.5.5 0 0 1 8 4" />
</svg>
</div>
<div class="remove_work" id="remove_work" onclick="remove_work()">
<svg xmlns="http://www.w3.org/2000/svg" width="30" height="30" fill="currentColor"
class="bi bi-trash-fill" viewBox="0 0 16 16">
<path
d="M2.5 1a1 1 0 0 0-1 1v1a1 1 0 0 0 1 1H3v9a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2V4h.5a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H10a1 1 0 0 0-1-1H7a1 1 0 0 0-1 1zm3 4a.5.5 0 0 1 .5.5v7a.5.5 0 0 1-1 0v-7a.5.5 0 0 1 .5-.5M8 5a.5.5 0 0 1 .5.5v7a.5.5 0 0 1-1 0v-7A.5.5 0 0 1 8 5m3 .5v7a.5.5 0 0 1-1 0v-7a.5.5 0 0 1 1 0" />
</svg>
</div>
</div>
<div class="all_list_body" id="all_list_body">
</div>
</div>
</div>
<script src="index.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz"
crossorigin="anonymous"></script>
</body>
</ht