-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
77 lines (68 loc) · 2.65 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width">
<title></title>
<link href="lib/ionic/css/ionic.css" rel="stylesheet">
<link href="css/style.css" rel="stylesheet">
<!-- IF using Sass (run gulp sass first), then uncomment below and remove the CSS includes above
<link href="css/ionic.app.css" rel="stylesheet">
-->
<!-- ionic/angularjs js -->
<script src="lib/ionic/js/ionic.bundle.js"></script>
<!-- cordova script (this will be a 404 during development) -->
<script src="cordova.js"></script>
<!-- your app's js -->
<script src="js/TasksModel.js"></script>
<script src="js/app.js"></script>
</head>
<body ng-app="starter">
<ion-pane ng-controller="mainController">
<ion-header-bar class="bar-royal">
<h1 class="title"><img src="img/logo.png"></h1>
</ion-header-bar>
<ion-content>
<div class="row">
<div class="col">
<button class="button button-block button-positive" ng-click="onItemAdd()">Adicionar</button>
</div>
<div class="col">
<button class="button button-block button-assertive" ng-click="onClickRemove()">Remover</button>
</div>
</div>
<ion-list show-delete="removeStatus">
<ion-item ng-repeat="item in list track by $index" ng-hide="onHideItem(item)">
<div class="row">
<div class="col col-90">
<ion-delete-button class="ion-minus-circled" ng-click="onItemRemove(item)"></ion-delete-button>
{{item.nome}}
<ion-option-button class="button-positive" ng-click="onItemEdit(item)">Editar</ion-option-buttun>
</div>
<div class="col col-10">
<button class="button button-small button-royal button-outline" ng-click="onMarkTask(item)">
<i class="icon ion-checkmark" ng-show="item.finalizada"></i>
</button>
</div>
</div>
</ion-item>
</ion-list>
</ion-content>
<ion-footer-bar class="bar-royal">
<div class="row">
<div class="col col-80">
<strong>Exibir finalizadas</strong>
</div>
<div class="col col-20">
<label class="toggle">
<input type="checkbox" ng-model="showMarked">
<div class="track">
<div class="handle"></div>
</div>
</label>
</div>
</div>
</ion-footer-bar>
</ion-pane>
</body>
</html>