-
Notifications
You must be signed in to change notification settings - Fork 4
/
index.html
111 lines (111 loc) · 4.71 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
107
108
109
110
111
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Drag and Drop</title>
<link rel="icon" type="image/png" href="favicon.png">
<link rel="stylesheet" href="style.css">
</head>
<body>
<h1 class="main-title">Kanban Board</h1>
<div class="drag-container">
<ul class="drag-list">
<!-- Backlog Column -->
<li class="drag-column backlog-column">
<span class="header">
<h1>Backlog</h1>
</span>
<!-- Backlog Content -->
<div id="backlog-content" class="custom-scroll">
<ul class="drag-item-list" id="backlog-list" ondrop="drop(event)" ondragover="allowDrop(event)" ondragenter="dragEnter(0)"></ul>
</div>
<!-- Add Button Group -->
<div class="add-btn-group">
<div class="add-btn" onclick="showInputBox(0)">
<span class="plus-sign">+</span>
<span>Add Item</span>
</div>
<div class="add-btn solid" onclick="hideInputBox(0)">
<span>Save Item</span>
</div>
</div>
<div class="add-container">
<div class="add-item" contenteditable="true"></div>
</div>
</li>
<!-- Progress Column -->
<li class="drag-column progress-column">
<span class="header">
<h1>In Progress</h1>
</span>
<!-- Progress Content -->
<div id="progress-content" class="custom-scroll">
<ul class="drag-item-list" id="progress-list" ondrop="drop(event)" ondragover="allowDrop(event)" ondragenter="dragEnter(1)"></ul>
</div>
<!-- Add Button Group -->
<div class="add-btn-group">
<div class="add-btn" onclick="showInputBox(1)">
<span class="plus-sign">+</span>
<span>Add Item</span>
</div>
<div class="add-btn solid" onclick="hideInputBox(1)">
<span>Save Item</span>
</div>
</div>
<div class="add-container">
<div class="add-item" contenteditable="true"></div>
</div>
</li>
<!-- Complete Column -->
<li class="drag-column complete-column">
<span class="header">
<h1>Complete</h1>
</span>
<!-- Complete Content -->
<div id="complete-content" class="custom-scroll">
<ul class="drag-item-list" id="complete-list" ondrop="drop(event)" ondragover="allowDrop(event)" ondragenter="dragEnter(2)"></ul>
</div>
<!-- Add Button Group -->
<div class="add-btn-group">
<div class="add-btn" onclick="showInputBox(2)">
<span class="plus-sign">+</span>
<span>Add Item</span>
</div>
<div class="add-btn solid" onclick="hideInputBox(2)">
<span>Save Item</span>
</div>
</div>
<div class="add-container">
<div class="add-item" contenteditable="true"></div>
</div>
</li>
<!-- On Hold Column -->
<li class="drag-column on-hold-column">
<span class="header">
<h1>On Hold</h1>
</span>
<!-- On Hold Content -->
<div id="on-hold-content" class="custom-scroll">
<ul class="drag-item-list" id="on-hold-list" ondrop="drop(event)" ondragover="allowDrop(event)" ondragenter="dragEnter(3)"></ul>
</div>
<!-- Add Button Group -->
<div class="add-btn-group">
<div class="add-btn" onclick="showInputBox(3)">
<span class="plus-sign">+</span>
<span>Add Item</span>
</div>
<div class="add-btn solid" onclick="hideInputBox(3)">
<span>Save Item</span>
</div>
</div>
<div class="add-container">
<div class="add-item" contenteditable="true"></div>
</div>
</li>
</ul>
</div>
<!-- Script -->
<script src="script.js"></script>
</body>
</html>