-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
36 lines (35 loc) · 1.55 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 lang="eng" ng-app="todomvc" data-framework="firebase">
<head>
<meta charset="utf-8"
<title>todo app</title>
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="">
</head>
<body>
<div class="container" ng-controller="TodoCtrl">
<section class="row" style="padding-left: 10px;padding-right: 10px;">
<header>
<h1 class="text-center">Todo App</h1>
<span>To Do: <strong>{{remainingCount}}</strong></span>
<span>To Do: <strong>{{deletedCount}}</strong></span>
<span>To Do: <strong>{{completedCount}}</strong></span>
<span> </span>
<form ng-submit="addTodo ()">
<input class="form-control" placeholder="Whats do you wanna do" ng-model="newTodo" autofocus>
</form>
</header>
<section ng-show="totalCount" ng-cloak></section>
<input type="checkbox" ng-model="allChecked" ng-click="markAll(allChecked)">
<label for ="toggle-all">Mark all Completed</label>
<h3>Things to do?</h3>
<p>Double click to edit</p>
<div class="list-group">
<div ng-repeat="todo in todos" class="list-group-item" ng-class="{editing: todo == editedTodo}">
<div class="view" ng-if="todo !== editedTodo">
</div>
</div>
</div>
</section>
</div>
</body>