-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
34 lines (34 loc) · 1.24 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Todos</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
</head>
<body>
<section class="container">
<h1 class="page-header">Todos</h1>
<script id="tasks-template" type="text/x-handlebars-template">
<div class="list-group">
{{#each tasks }}
<a role="button" class="list-group-item js-task{{#if completed}} is-completed{{/if}}" data-id="{{ id }}">
{{#if completed}}<i class="glyphicon glyphicon-ok"></i>{{/if}}
{{ title }}
</a>
{{~/each}}
</div>
</script>
<div id="task-list"></div>
<form class="form js-form-tasks">
<div class="form-group">
<input class="form-control js-add-task" placeholder="What needs to be done?" autofocus>
</div>
</form>
</section>
<script src="bower_components/handlebars/handlebars.min.js"></script>
<script src="js/view.js"></script>
<script src="js/model.js"></script>
<script src="js/controller.js"></script>
<script src="js/app.js"></script>
</body>
</html>