-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
36 lines (36 loc) · 1.13 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
<!doctype html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>ToDo</title>
<link rel="stylesheet" href="css/all.css">
<script type="text/javascript" src="js/jquery-1.8.2.min.js"></script>
<script type="text/javascript" src="js/underscore.js"></script>
<script type="text/javascript" src="js/backbone.js"></script>
</head>
<body>
<div id="todo">
<h1>Simple ToDo app</h1>
<form action="#" id="taskForm">
<fieldset>
<input type="text" name="task" id="fieldTask" placeholder="What do you need to do?" />
</fieldset>
</form>
<div id="todoList">
<ul>
<li class="item">Lorem Ip sum</li>
<li class="item">Lorem Ip sum</li>
<li class="item">Lorem Ip sum</li>
<li class="item">Lorem Ip sum</li>
</ul>
</div>
</div>
<script type="text/template" id="item-template">
<li data-cid="<%= cid %>" class="<%=( done? 'done': '') %>">
<span><%= date.getDate() +'/'+(date.getMonth()+1)+ "/"+ date.getFullYear() %></span>
<%= title %><a class="delete">[X]</a>
</li>
</script>
<script type="text/javascript" src="js/app.js"></script>
</body>
</html>