-
Notifications
You must be signed in to change notification settings - Fork 37
/
Copy pathindex.html
139 lines (127 loc) · 5.34 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
<!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.0" />
<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=Lato:wght@400;700&display=swap" rel="stylesheet" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.css" />
<link rel="stylesheet" href="to_do.css" type="text/css" media="screen" charset="utf-8" />
<script src="https://unpkg.com/phosphor-icons"></script>
<link rel="icon" type="image/png" sizes="32x32" href="/favicon/favicon.ico" />
<!-- ----AOS File----- -->
<link rel="stylesheet" href="aos/aos.css">
<script src="aos/aos.js"></script>
<title>Todo App</title>
</head>
<div class="popup" id="popup">
<img src="tick.png" alt="">
<h2>Congratulations!</h2>
<p>You have successfully completed your work.</p>
<button type="button" onclick="closePopup()">OK</button>
</div>
<body>
<header>
<svg class="waves" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
viewBox="0 24 150 28" preserveAspectRatio="none" shape-rendering="auto">
<defs>
<path id="gentle-wave" d="M-160 44c30 0 58-18 88-18s 58 18 88 18 58-18 88-18 58 18 88 18 v44h-352z" />
</defs>
<g class="parallax">
<use xlink:href="#gentle-wave" x="48" y="0" fill="rgba(255,255,255,0.7" />
<use xlink:href="#gentle-wave" x="48" y="3" fill="rgba(255,255,255,0.5)" />
<use xlink:href="#gentle-wave" x="48" y="5" fill="rgba(255,255,255,0.3)" />
<use xlink:href="#gentle-wave" x="48" y="7" fill=" #fff" />
</g>
</svg>
</header>
<main class="wrapper">
<div class="dark-mode-slider" data-aos="zoom-in" data-aos-duration="4000">
<input type="checkbox" class="checkbox" id="checkbox" />
<label for="checkbox" class="label bi-brightness-high-fill" id="toggleDark">
<div class="ball"></div>
</label>
</div>
<div class="todo-container" id="todo-container" data-aos="fade-up-right" data-aos-duration="2000">
<div class="add-todo" id="add">
<input id="new-task" type="text" placeholder="Create Todo..." />
<input type="date" id="deadlineInput" />
<button class="btn-add">Add</button>
</div>
<div class="controls">
<div class="filters">
<label for="filterDropdown">Filter: </label>
<select id="filterDropdown">
<option value="all" class="active">All</option>
<option value="pending">Pending</option>
<option value="completed">Completed</option>
</select>
</div>
<button class="reset-btn">Reset All</button>
</div>
<div class="incomplete-tasks-container" id="incomplete">
<h3 class="title">TODO <span id="todo-badge" class="badge rounded-pill" style="background-color:red;">1</span>
</h3>
<div class="incompleted_container">
<ul id="incomplete-tasks">
<li class="incomplete-task">
<input type="checkbox" />
<label class="label-container">Pay Bills</label>
<input type="text" />
<div class="action-container">
<button class="btn-edit bg-button">
<i class="ph-pencil"></i>
</button>
<button class="btn-delete bg-button">
<i class="ph-trash"></i>
</button>
</div>
</li>
</ul>
</div>
</div>
<div class="completed-tasks-container" id="complete">
<h3 class="title">COMPLETED <span id="completed-badge" class="badge rounded-pill"
style="background-color: blue;">1</span></h3>
<div class="completed_container">
<ul id="completed-tasks">
<li class="completed-task task">
<input type="checkbox" checked />
<label class="label-container">See the Doctor</label>
<input type="text" />
<div class="action-container">
<button class="btn-edit bg-button">
<i class="ph-pencil"></i>
</button>
<button class="btn-delete bg-button">
<i class="ph-trash"></i>
</button>
</div>
</li>
</ul>
</div>
</div>
</div>
</main>
<svg class="waves" id="waves" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
viewBox="0 24 150 28" preserveAspectRatio="none" shape-rendering="auto">
<defs>
<path id="gentle-wave" d="M-160 44c30 0 58-18 88-18s 58 18 88 18 58-18 88-18 58 18 88 18 v44h-352z" />
</defs>
<g class="parallax">
<use xlink:href="#gentle-wave" x="48" y="0" fill="rgba(255,255,255,0.7" />
<use xlink:href="#gentle-wave" x="48" y="3" fill="rgba(255,255,255,0.5)" />
<use xlink:href="#gentle-wave" x="48" y="5" fill="rgba(255,255,255,0.3)" />
<use xlink:href="#gentle-wave" x="48" y="7" fill="#fff" />
</g>
</svg>
<script src="light-dark-mode.js"></script>
<script src="rewards.js"></script>
<script src="to_do.js"></script>
</body>
<script>
AOS.init();
</script>
</html>