forked from suvelocity/kanban-final
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
74 lines (61 loc) · 2.29 KB
/
index.html
File metadata and controls
74 lines (61 loc) · 2.29 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
<!DOCTYPE html>
<html lang="en">
<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">
<script src="./index.js" defer></script>
<!-- external sorting JS Library -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/Sortable/1.10.2/Sortable.min.js"></script>
<link rel="stylesheet" href="./styles.css" />
<title>Roee Kazma Tasks Manager</title>
</head>
<body id="body">
<button id="Clear" class="Clear" onclick="clearTasksFromLocal()">Clear all tasks from local</button>
<h1 id="page-title" class="title">Roee Kazma's to-do list</h1>
<input id="search" type="search" placeholder="Search Task" class="search">
<div class="overlay">
<div>
<section class="section">
<h2>1. To Do</h2>
<ul class="to-do-tasks"></ul>
<input id="add-to-do-task" class="task-input" placeholder="Add Task">
<button id="submit-add-to-do" class="task-button">Add</button>
</section>
</div>
<div>
<section class="section">
<h2>2. In Progress</h2>
<ul class="in-progress-tasks"></ul>
<input id="add-in-progress-task" class="task-input" placeholder="Add Task">
<button id="submit-add-in-progress" class="task-button">Add</button>
</section>
</div>
<div>
<section class="section">
<h2>3. Done</h2>
<ul class="done-tasks"></ul>
<input id="add-done-task" class="task-input" placeholder="Add Task">
<button id="submit-add-done" class="task-button">Add</button>
</section>
</div>
</div>
<script>
const dragTodo = document.querySelector(".to-do-tasks");
new Sortable(dragTodo, {
group:"shared",
animation: 100
});
const dragInProgress = document.querySelector(".in-progress-tasks");
new Sortable(dragInProgress, {
group:"shared",
animation: 100
});
const dragDone = document.querySelector(".done-tasks");
new Sortable(dragDone, {
group:"shared",
animation: 100
});
</script>
</body>
</html>