-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
83 lines (74 loc) · 3.01 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
<!DOCTYPE html>
<html lang="en" data-theme="dark">
<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">
<!-- CSS -->
<link rel="stylesheet" href="style.css">
<!--- Tailwind CSS & Daisy UI CSS -->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/full.css" rel="stylesheet" type="text/css" />
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/tailwind.min.css" rel="stylesheet" type="text/css" />
<link href='https://unpkg.com/[email protected]/css/boxicons.min.css' rel='stylesheet'>
<!-- Favicon -->
<link rel="icon" href="favicon.svg">
<title>To-Do List | Project</title>
</head>
<body>
<div class="container">
<header>
<h1>Todo List</h1>
<!-- Error message -->
<div class="alert-message"></div>
<div class="input-section">
<input type="text" placeholder="Add a todo . . ." class="input input-bordered input-secondary w-full max-w-xs" />
<input type="date" class="input input-bordered input-secondary w-full max-w-xs schedule-date" />
<button class="btn btn-secondary add-task-button">
<i class="bx bx-plus bx-sm"></i>
</button>
</div>
</header>
<div class="todos-filter">
<div class="dropdown">
<label tabindex="0" class="btn m-1">Filter</label>
<ul tabindex="0" class="dropdown-content menu p-2 shadow bg-base-100 rounded-box w-52">
<li onclick="filterTodos('all')"><a>All</a></li>
<li onclick="filterTodos('pending')"><a>Pending</a></li>
<li onclick="filterTodos('completed')"><a>Completed</a></li>
</ul>
</div>
<button class="btn btn-secondary delete-all-btn">
Delete All
</button>
</div>
<table class="table w-full">
<thead>
<tr>
<th>Task</th>
<th>Due Date</th>
<th>Status</th>
<th>Actions</th>
</tr>
</thead>
<tbody class="todos-list-body">
</tbody>
</table>
</div>
<!--Theme switcher-->
<div class="theme-switcher">
<div class="dropdown dropdown-left">
<label tabindex="0" class="btn m-1">
<i class='bx bxs-palette bx-sm'></i>
</label>
<ul tabindex="0" class="dropdown-content menu p-2 shadow bg-base-100 rounded-box w-52">
<li class="theme-item" theme="dark"><a>dark</a></li>
<li class="theme-item" theme="light"><a>light</a></li>
<li class="theme-item" theme="luxury"><a>luxury</a></li>
</ul>
</div>
</div>
<!-- JS -->
<script src="main.js"></script>
<script src="theme_switcher.js"></script>
</body>
</html>