-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
51 lines (51 loc) · 2.28 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
<!DOCTYPE html>
<html>
<head>
<script src="libraries/angular.1.4.js"></script>
<!-- <link rel='stylesheet prefetch' href='http:////netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css'> -->
<script src="todo.js"></script>
<!-- <link rel="stylesheet" type="text/css" href="font-awesome/css/style.css"> -->
<link rel="stylesheet" type="text/css" href="todo.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Tangerine">
<meta charset="utf-8">
<title>Todo List</title>
</head>
<body>
<div class=center>
<div ng-app='todo-app' ng-controller='mainController'>
<div class="jumbotron" id ="incompleteStyle">
<div id="header">
<h1><u>Todo List</u></h1>
<input type="button" value="Add New Task" class="btn btn-default" ng-click="ShowHide()" style = "background-color: #FFF" />
</div>
<div id="incomplete">
<div id="todo-list">
<div ng-repeat='task in tasks | filter:{complete:false}' class="task-container">
<task task='task' />
</div>
</div>
<div ng-show = "IsVisible">
<form>
New Task: <input type='text' ng-model='newTaskName'>
<button type="submit" ng-click='addTask()'>Add</button>
</form>
</div>
</div>
</div>
<div class="jumbotron" id ="incompleteStyle">
<div id="complete" >
<div id="completed-header">
<h1><u>Completed</u></h1>
</div>
<div id="done-list">
<div ng-repeat='task in tasks | filter:{complete:true}' class="finished-task-container">
<task task='task' />
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>