-
Notifications
You must be signed in to change notification settings - Fork 1
/
options.html
47 lines (46 loc) · 1.69 KB
/
options.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Task Manager</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="container">
<div class="theme-toggle">
<div class="toggle-container">
<div id="toggle" class="toggle"></div>
<span class="emoji light-mode">🌞</span>
<span class="emoji dark-mode">🌙</span>
</div>
</div>
<h1 id="extensionTitle">Task Manager</h1>
<div class="task-form">
<input type="text" id="taskTitle" placeholder="Enter task title">
<input type="date" id="taskDate">
<button id="addTask">Add Task</button>
</div>
<ul id="taskList"></ul>
<button id="clearCompleted" style="display: none;">Clear Completed Tasks</button>
<div class="coffee-button">
<a href="https://www.buymeacoffee.com/dr.dead" target="_blank">☕ Buy Me a Coffee</a>
</div>
<!-- Popup for Editing Task -->
<div id="editPopup" class="popup hidden">
<div class="popup-content">
<h2>Edit Task</h2>
<label>Task Title</label>
<input type="text" id="editTaskTitle">
<label>Due Date</label>
<input type="date" id="editTaskDate">
<div class="popup-buttons">
<button id="saveEdit">Save</button>
<button id="cancelEdit">Cancel</button>
</div>
</div>
</div>
</div>
<script src="popup.js"></script>
</body>
</html>