-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
106 lines (102 loc) · 4.55 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Modern Todo App</title>
<link rel="stylesheet" href="styles.css">
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css">
</head>
<body>
<div class="app-container">
<div class="main-content">
<div class="clock-section">
<div class="mode-toggle">
<button onclick="app.toggleTheme()">
<i class="fas fa-moon"></i>
</button>
</div>
<div id="current-time" class="clock"></div>
<div id="next-deadline" class="next-task">
Next task due in: <span id="next-task-time">No upcoming tasks</span>
</div>
</div>
<div class="add-task-section">
<input type="text" id="new-task-input" placeholder="Add a new task...">
<button id="add-task-btn">
<i class="fas fa-plus"></i>
</button>
</div>
<div class="tasks-container">
<div class="tasks-header">
<div class="select-all-container">
<label class="custom-checkbox">
<input type="checkbox" id="select-all-tasks">
<span class="checkmark">
<i class="fas fa-check"></i>
</span>
<span class="select-all-text">Select All</span>
</label>
<button id="delete-selected" class="danger-btn" style="display: none;">
<i class="fas fa-trash-alt"></i> Delete Selected
</button>
</div>
</div>
<div class="tasks-list" id="tasks-list">
<!-- Tasks will be added here dynamically -->
</div>
</div>
</div>
<div class="task-details-panel" id="task-details-panel">
<h2>Task Details</h2>
<div class="task-edit-form">
<input type="text" id="edit-task-title" placeholder="Task title">
<div class="priority-selector">
<label>Priority:</label>
<div class="priority-options">
<button class="priority-btn" data-priority="low">
<i class="fas fa-circle"></i>
Easy
</button>
<button class="priority-btn" data-priority="medium">
<i class="fas fa-circle"></i>
Medium
</button>
<button class="priority-btn" data-priority="high">
<i class="fas fa-circle"></i>
Hard
</button>
</div>
</div>
<div class="deadline-selector">
<label>Deadline:</label>
<input type="datetime-local" id="task-deadline">
</div>
<div class="subtasks-section">
<label>Subtasks:</label>
<div class="subtask-input">
<input type="text" id="new-subtask" placeholder="Add subtask...">
<button id="add-subtask-btn">
<i class="fas fa-plus"></i>
</button>
</div>
<ul id="subtasks-list">
<!-- Subtasks will be added here -->
</ul>
</div>
<div class="notes-section">
<label>Notes:</label>
<textarea id="task-notes" placeholder="Add notes..."></textarea>
</div>
<div class="button-group">
<button id="save-task-btn" class="primary-btn">Save Changes</button>
<button id="delete-task-btn" class="danger-btn">Delete Task</button>
</div>
</div>
</div>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/Sortable/1.14.0/Sortable.min.js"></script>
<script src="app.js"></script>
</body>
</html>