-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
92 lines (91 loc) · 4.22 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
<!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/daisyui@2.18.0/dist/full.css" rel="stylesheet" type="text/css" />
<link href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2/dist/tailwind.min.css" rel="stylesheet" type="text/css" />
<link href='https://unpkg.com/boxicons@2.1.2/css/boxicons.min.css' rel='stylesheet'>
<!-- Favicon -->
<link rel="icon" href="https://i.ibb.co/RTfNBcb/doit.png">
<script src="https://cdnjs.cloudflare.com/ajax/libs/jspdf/2.4.0/jspdf.umd.min.js"></script>
<title>DoIt List | Manage your Daily Targets Easily & Efficiently | #DoIt</title>
</head>
<body>
<!-- Copyright -->
<div class="author-text">
<p>/// Made with ❤️ by <a href="https://github.com/AnukarOP" target="_blank"><b>AnukarOP</b></a> ///</p>
</div>
<div class="container">
<header>
<h1>DoIt List</h1>
<!-- Error message -->
<div class="alert-message"></div>
<div class="input-section">
<input type="text" placeholder="Add a DoIt . . ." 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>
<!-- Integrated new code -->
<div class="targets-container">
<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">
<!-- ... (your existing table content) ... -->
</tbody>
</table>
</div>
</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>