-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
57 lines (48 loc) · 1.48 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
<!DOCTYPE html>
<html ng-app="todoApp">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width">
<link rel="stylesheet" href="css/buttons.css">
<link rel="stylesheet" href="css/headers.css">
<link rel="stylesheet" href="css/input_areas.css">
<link rel="stylesheet" href="css/util.css">
<link rel="stylesheet" href="css/fonts.css">
<link rel="stylesheet" href="css/cross_browser.css">
<link rel="stylesheet" href="css/drawer.css">
<link rel="stylesheet" href="css/style.css">
<title>TODO App List</title>
</head>
<body>
<section id="index" data-position="current">
<section id="drawer" role="region">
<header class="fixed">
<h1>TODO App List</h1>
</header>
<article
class="content scrollable header"
ng-controller="TodoController"
ng-init="retrieve()">
<input id="task-field" ng-model="description" type="text" />
<button ng-click="addTask()">Add</button>
<p>
<span ng-bind="remaining()">0</span> of
<span>{{tasks.length}}</span> remaing
[ <a href="#" ng-click="archive()">archive</a> ]
</p>
<ul>
<li ng-repeat="task in tasks">
<label ng-click="save()">
<input ng-model="task.done" type="checkbox" />
<span>{{task.description}}</span>
</label>
</li>
</ul>
</article>
</section>
</section>
<script src="js/vendor/angular.min.js"></script>
<script src="js/todoApp.js"></script>
<script src="js/controllers/TodoController.js"></script>
</body>
</html>