forked from sdaityari/to-do-list
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
65 lines (52 loc) · 2.43 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
<html>
<head>
<title>AngelPrime to-do List</title>
<link rel="stylesheet" href="lib/Bootstrap/bootstrap.min.css" />
<link rel="stylesheet" href="lib/jQuery/jquery.ui.min.css" />
<link rel="stylesheet" href="assets/todo.css" />
</head>
<body class="well">
<div id="container">
<div id="header"> To Do List </div>
<div class="task-list task-container" id="pending">
<h3>Pending</h3>
<!--<div class="todo-task">
<div class="task-header">Sample Header</div>
<div class="task-date">25/06/1992</div>
<div class="task-description">Lorem Ipsum Dolor Sit Amet</div>
</div>-->
</div>
<div class="task-list task-container" id="inProgress">
<h3>In Progress</h3>
</div>
<div class="task-list task-container" id="completed">
<h3>Completed</h3>
</div>
<div class="task-list">
<h3>Add a task</h3>
<form id="todo-form">
<input type="text" placeholder="Title" />
<textarea placeholder="Description"></textarea>
<input type="text" id="datepicker" placeholder="Due Date (dd/mm/yyyy)" />
<input type="button" class="btn btn-primary" value="Add Task" onclick="todo.add();" />
</form>
<input type="button" class="btn btn-primary" value="Clear Data" onclick="todo.clear();" />
<div id="delete-div">
Drag Here to Delete
</div>
</div>
<div style="clear:both;"></div>
<script type="text/javascript" src="lib/jQuery/jquery.min.js"></script>
<script type="text/javascript" src="lib/Bootstrap/bootstrap.min.js"></script>
<script type="text/javascript" src="lib/jQuery/jquery.ui.min.js"></script>
<script type="text/javascript" src="assets/todo.js"></script>
<script type="text/javascript">
$( "#datepicker" ).datepicker();
$( "#datepicker" ).datepicker("option", "dateFormat", "dd/mm/yy");
$(".task-container").droppable();
$(".todo-task").draggable({ revert: "valid", revertDuration:200 });
todo.init();
</script>
</div>
</body>
</html>