forked from orbitbot/pouch-todo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
35 lines (28 loc) · 941 Bytes
/
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
<!DOCTYPE html>
<html lang="en" ng-app="app">
<head>
<meta charset="utf-8">
<title>pouch-todo</title>
<link rel="stylesheet" href="fontello/fontello.css"/>
<link rel="stylesheet" href="style.css"/>
</head>
<body ng-controller="TodoCtrl">
<div class="header">
<h1>Todos<i class="icon-emo-thumbsup"></i></h1>
</div>
<div class="task" ng-repeat="todo in todos" ng-cloak>
<i class="icon-angle-right"></i>
<span class="align-text">{{ todo.text }}</span>
<i class="icon-cancel" ng-click="remove(todo)"></i>
</div>
<input type="text" placeholder="What do you need done?"
ng-model="text"
ng-keyup="$event.keyCode == 13 ? submit() : null"></input>
<div class="footer">
<a href="https://github.com/orbitbot/pouch-todo">find me on github</a>
</div>
<script src="libs/angular.js"></script>
<script src="libs/pouchdb.min.js"></script>
<script src="pouch-todo.js"></script>
</body>
</html>