-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
63 lines (57 loc) · 2.09 KB
/
index.php
File metadata and controls
63 lines (57 loc) · 2.09 KB
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
58
59
60
61
62
63
<!doctype html>
<html lang="es">
<head>
<meta charset="UTF-8">
<title>ToDo Project</title>
<link rel="stylesheet" href="css/bootstrap.min.css">
<style>
.clicked_true{
text-decoration:line-through;
}
</style>
</head>
<body ng-app="todoApp" >
<div class="container">
<div class="row">
<div class="col-lg-12" ng-controller="todoController">
<h4 class="text-center">To Do List With AngularJS</h4>
<br><br>
<div class="col-lg-6 col-lg-push-3">
<div class="input-group">
<input type="text" class="form-control input-lg" placeholder="I have to do.." ng-model="title">
<span class="input-group-btn">
<button class="btn btn-primary btn-lg" type="button" ng-click="add()">Add!</button>
</span>
</div><!-- /input-group -->
<br><br><br>
<h4 class="text-center"> List of Tasks</h4>
<ul style="list-style: none;">
<li ng-repeat="t in tasks">
<div class="col-lg-12">
<div class="input-group">
<input type="text" class="form-control clicked_{{t.completed}}" readonly="readonly" aria-label="..." value="{{t.title}}">
<div class="input-group-btn">
<button class="btn btn-default" type="checkbox" ng-click="done()">{{isDone}}</button>
<button class="btn btn-danger" type="button" ng-click="delete()">X!</button>
</div>
</div>
<br>
</div>
</li>
</ul>
</div>
</div>
</div>
</div>
<script src="js/angular.min.js"></script>
<script src="js/todo.js"></script>
<script src="js/bootstrap.min.js"></script>
</body>
</html>
<?php
/**
* Created by PhpStorm.
* User: csulbaran
* Date: 08/03/16
* Time: 12:07 AM
*/