forked from noritamago/ionic-custom-component-sample
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
82 lines (72 loc) · 2.84 KB
/
Copy pathindex.html
File metadata and controls
82 lines (72 loc) · 2.84 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
<!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/app.js"></script>
<script src="js/header_shrink.js"></script>
<script src="js/search_panel.js"></script>
</head>
<body ng-app="starter" ng-cloak ng-controller="AppController as vm">
<ion-pane>
<div header-shrink-group>
<ion-header-bar class="bar-positive">
<div class="buttons">
<button class="button button-icon ion-navicon"></button>
</div>
<h1 class="title" ng-cloak>Things</h1>
</ion-header-bar>
<search-panel duration="0.4" dst-y="-210">
<div id="search-box" class="bar item-input-inset">
<div class="item-input-wrapper">
<i class="icon ion-ios7-search placeholder-icon"></i>
<input type="search" placeholder="Please input keyword" ng-model="vm.keyword">
<i class="icon ion-ios7-close-empty" ng-click="vm.clearKeyword()"></i>
</div>
</div>
<ion-checkbox ng-repeat="item in vm.items" ng-model="item.checked" ng-change="vm.change()">
{{item.text}}
</ion-checkbox>
<div class="padding">
<button class="button button-block button-positive" ng-click="vm.toggle()">
Go
</button>
<div ng-click="vm.toggle()" class="row”>
<div class="col" >Condition: {{vm.keyword}} {{vm.condStr}}</div>
</div>
</div>
</search-panel>
</div>
<ion-content header-shrink header-shrink-len="48" scroll-event-interval="5">
<div class="list card">
<div class="item">
<div style="height: 100px;"></div>
<p>This is card item 0</p>
<div style="height: 100px;"></div>
</div>
<div class="item">
<div style="height: 100px;"></div>
<p>This is card item 1</p>
<div style="height: 100px;"></div>
</div>
<div class="item">
<div style="height: 100px;"></div>
<p>This is card item 2</p>
<div style="height: 100px;"></div>
</div>
</div>
</ion-content>
</ion-pane>
</body>
</html>