-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
94 lines (86 loc) · 3.82 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
<!DOCTYPE html>
<html lang="en" data-theme="bumblebee">
<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="css/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="res/favicon.svg">
<title>Todo List | By Abdellatif Laghjaj</title>
</head>
<body>
<!-- Copyright -->
<div class="author-text">
<p>Made with ❤️ by <a href="https://github.com/abdellatif-laghjaj" target="_blank"><b>Abdellatif Laghjaj</b></a></p>
</div>
<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="cupcake"><a>cupcake</a></li>
<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="bumblebee"><a>bumblebee</a></li>
<li class="theme-item" theme="synthwave"><a>synthwave</a></li>
<li class="theme-item" theme="halloween"><a>halloween</a></li>
<li class="theme-item" theme="fantasy"><a>fantasy</a></li>
<li class="theme-item" theme="dracula"><a>dracula</a></li>
<li class="theme-item" theme="aqua"><a>aqua</a></li>
<li class="theme-item" theme="luxury"><a>luxury</a></li>
<li class="theme-item" theme="night"><a>night</a></li>
</ul>
</div>
</div>
<!-- JS -->
<script src="js/main.js"></script>
<script src="js/theme_switcher.js"></script>
</body>
</html>