-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
262 lines (253 loc) · 8.89 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>To-Do</title>
<link
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH"
crossorigin="anonymous"
/>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css"
integrity="sha512-SnH5WK+bZxgPHs44uWIX+LLJAJ9/2PkPKZ5QiAj6Ta86w+fsb2TkcmfRyVX3pBnMFcV7oQPJkl9QevSCWr3W6A=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
/>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<!-- Navbar containing clock -->
<nav>
<button class="btn btn-lg btn-dark m-3 time">Time</button>
</nav>
<!-- div element containing whole To-Do project -->
<div class="container content p-0">
<!-- left pane containing calendar and qoute of the day -->
<div class="left">
<div class="dateNtime">
<div class="container">
<h2 class="m-5">Calendar</h2>
<!-- Code for calendar
referance codepan -->
<div class="contianer">
<div class="calendar">
<div class="calendar-header">
<span class="month-picker" id="month-picker"> April </span>
<div class="year-picker" id="year-picker">
<span class="year-change" id="pre-year">
<pre><</pre>
</span>
<span id="year">2024 </span>
<span class="year-change" id="next-year">
<pre>></pre>
</span>
</div>
</div>
<div class="calendar-body">
<div class="calendar-week-days">
<div>Sun</div>
<div>Mon</div>
<div>Tue</div>
<div>Wed</div>
<div>Thu</div>
<div>Fri</div>
<div>Sat</div>
</div>
<div class="calendar-days"></div>
</div>
<div class="calendar-footer"></div>
<div class="date-time-formate">
<div class="day-text-formate">TODAY</div>
<div class="date-time-value">
<div class="time-formate">01:41:20</div>
<div class="date-formate">21 - April - 2024</div>
</div>
</div>
<div class="month-list"></div>
</div>
</div>
</div>
<!-- container for qoute of the day -->
<div class="container mt-5">
<h2>Quote of The Day</h2>
<div class="qoute mt-3"></div>
</div>
</div>
</div>
<!-- center div for To-Do list operations: add, delete and update -->
<div class="container center">
<div class="ToDo">
<h1 class="text-center mt-5">To-Do List</h1>
<form class="mt-5">
<div class="input-group mb-3">
<input type="text" id="taskInput" />
<button class="btn btn-primary add" type="submit" for="input">
<i class="fa-solid fa-plus"></i>
</button>
</div>
</form>
<ul>
<span class="todoLi">
<li id="task1713884000005">Task 1</li>
<div class="btn-grp">
<button
class="btn btn-success complete"
title="Completed"
id="btn1713884000005"
>
<i class="fa-solid fa-check"></i>
</button>
<button
class="btn btn-danger del"
title="Delete"
id="del1713884000005"
>
<i class="fa-solid fa-xmark"></i>
</button>
<button
class="btn btn-primary edit"
title="Edit"
id="edit1713884000005"
>
<i class="fa-solid fa-pen-to-square"></i>
</button>
</div>
</span>
<span class="todoLi">
<li id="task1713884000006">Task 2</li>
<div class="btn-grp">
<button
class="btn btn-success complete"
title="Completed"
id="btn1713884000006"
>
<i class="fa-solid fa-check"></i>
</button>
<button
class="btn btn-danger del"
title="Delete"
id="del1713884000006"
>
<i class="fa-solid fa-xmark"></i>
</button>
<button
class="btn btn-primary edit"
title="Edit"
id="edit1713884000006"
>
<i class="fa-solid fa-pen-to-square"></i>
</button>
</div>
</span>
<span class="todoLi">
<li id="task1713884000007">Task 3</li>
<div class="btn-grp">
<button
class="btn btn-success complete"
title="Completed"
id="btn1713884000007"
>
<i class="fa-solid fa-check"></i>
</button>
<button
class="btn btn-danger del"
title="Delete"
id="del1713884000007"
>
<i class="fa-solid fa-xmark"></i>
</button>
<button
class="btn btn-primary edit"
title="Edit"
id="edit1713884000007"
>
<i class="fa-solid fa-pen-to-square"></i>
</button>
</div>
</span>
</ul>
</div>
</div>
<!-- right div containing Missed and completed tasks -->
<div class="right">
<div class="opt">
<div>
<h2>Completed</h2>
<ul>
<span class="todoLi">
<li id="task1713884000010">Task 4</li>
<div class="btn-grp">
<button
class="btn btn-danger del"
title="Delete"
id="del1713884000010"
>
<i class="fa-solid fa-xmark"></i>
</button>
</div>
</span>
<span class="todoLi">
<li id="task1713884000011">Task 5</li>
<div class="btn-grp">
<button
class="btn btn-danger del"
title="Delete"
id="del1713884000011"
>
<i class="fa-solid fa-xmark"></i>
</button>
</div>
</span>
</ul>
</div>
<div>
<h2>Missed</h2>
<ul>
<span class="todoLi">
<li id="task1713884000008">Task 6</li>
<div class="btn-grp">
<button
class="btn btn-danger del"
title="Delete"
id="del1713884000008"
>
<i class="fa-solid fa-xmark"></i>
</button>
<button class="btn btn-warning retry" id="retry1713884000008">
<i class="fa-solid fa-arrow-rotate-right" title="Retry"></i>
</button>
</div>
</span>
<span class="todoLi">
<li id="task1713884000009">Task 7</li>
<div class="btn-grp">
<button
class="btn btn-danger del"
title="Delete"
id="del1713884000009"
>
<i class="fa-solid fa-xmark"></i>
</button>
<button class="btn btn-warning retry" id="retry1713884000009">
<i class="fa-solid fa-arrow-rotate-right" title="Retry"></i>
</button>
</div>
</span>
</ul>
</div>
</div>
</div>
</div>
<script
src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz"
crossorigin="anonymous"
></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/axios.min.js"></script>
<script src="app.js"></script>
</body>
</html>