forked from Uaman/JS_Template
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
144 lines (130 loc) · 4.59 KB
/
Copy pathindex.html
File metadata and controls
144 lines (130 loc) · 4.59 KB
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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>To do list</title>
<link rel="stylesheet" href="./style/style.css">
<script src="./src/main.js" defer></script>
</head>
<body>
<div class="container">
<h1 class="title">To-Do List</h1>
<div class="input-section">
<input type="text" placeholder="Add a new task" class="task-input">
<button id="add-button" class="add-button">Add</button>
</div>
<div class="controls">
<div class="sort">
<span class="label">Sort by:</span>
<select class="select">
<option> <span class="option">Filter</option>span></option>
<option> <span class="option">Data</option>span></option>
</select>
</div>
<div class="sort">
Filter:
<select class="select" id="sortSelect">
<option>All</option>
<option id="dateSort">Date</option>
</select>
</div>
</div>
<div class="task-list">
<div class="task">
<button class="checkbox-btn" > </button>
<div class="task-info">
<span class="task-title">Купити файні льоди</span>
<span class="priority medium">Medium</span>
</div>
<div class="right-side">
<span class="date">June 26, 2025</span>
<div class ="task-actions">
<button class="edit-btn" >🖉</button>
<button class="delete-btn" >🗑️</button>
</div>
</div>
</div>
<div class="task completed">
<button class="checkbox-btn checked" > </button>
<div class="task-info">
<span class="task-title">Зробити веб</span>
<span class="priority high">High</span>
</div>
<div class="right-side">
<span class="date">June 18, 2025</span>
<div class ="task-actions">
<button class="edit-btn" >🖉</button>
<button class="delete-btn" >🗑️</button>
</div>
</div>
</div>
<div class="task">
<button class="checkbox-btn" > </button>
<div class="task-info">
<span class="task-title">Спекти хліб</span>
<span class="priority low">Low</span>
</div>
<div class="right-side">
<span class="date">June 21, 2025</span>
<div class ="task-actions">
<button class="edit-btn" >🖉</button>
<button class="delete-btn" >🗑️</button>
</div>
</div>
</div>
<div class="task">
<button class="checkbox-btn" > </button>
<div class="task-info">
<span class="task-title">Купити наповнювач Мілашці</span>
<span class="priority high">High</span>
</div>
<div class="right-side">
<span class="date">June 18, 2025</span>
<div class ="task-actions">
<button class="edit-btn" >🖉</button>
<button class="delete-btn" >🗑️</button>
</div>
</div>
</div>
</div>
</div>
<div id="taskPopUp" class="taskPopUp hidden">
<div class="popUp-content">
<span class="close-btn" id="closePopUpBtn"></span>
<h2>Додати завдання</h2>
<label class="name-edit">Назва завдання</label>
<input type="text" placeholder="Наприклад: Завдання 1" />
<label class="date-edit">Дата виконання</label>
<input type="date" />
<label>Пріоритет</label>
<div class="priority-options">
<label><input type="radio" name="priority" /> Високий</label>
<label><input type="radio" name="priority" checked /> Середній</label>
<label><input type="radio" name="priority" /> Низький</label>
</div>
<div class="popUp-buttons">
<button class="add-task-btn">Додати завдання</button>
<button class="cancel-btn" id="cancelPopUpBtn">Скасувати</button>
</div>
</div>
</div>
</div>
<div class="filterByDate hidden" id="filterByDate">
<div class="filterByDate-content">
<h2 class="filterByDate-title">Filter by date</h2>
<label>
<select class="filterByDate-select">
<option>Current</option>
<option>Past</option>
<option>Upcoming</option>
</select>
</label>
<input type="date" class="filterByDate-date" value="2024-03-15">
<div class="button-wrapper">
<button class="apply-button" id="apply-button">Apply</button>
</div>
</div>
</div>
</body>
</html>