forked from quangtn/ionic-demo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
95 lines (79 loc) · 2.18 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
<!doctype html>
<html ng-app="demoApp" ng-controller="IonicDemoCtrl">
<head>
<meta charset="utf-8">
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width">
<link rel="stylesheet" href="//ionic/css/ionic.min.css">
<script src="//ionic/js/ionic.bundle.min.js"></script>
<script src="//pages-data.js"></script>
<script src="index-ionic-demo-app.js"></script>
</head>
<body>
<div class="pane">
<div ng-include="'demo-list.html'">
</div>
</div>
<script type="text/ng-template" id="ionic-demo-modal.html">
<div class="modal">
<div ng-include="'demo-list.html'">
</div>
</div>
</script>
<script type="text/ng-template" id="demo-list.html">
<ion-header-bar class="bar-light">
<a class="button" ng-click="$demoModal.hide()" ng-if="$demo">
Cancel
</a>
<h1 class="title">All Demos</h1>
</ion-header-bar>
<ion-content>
<div class="list">
<div class="item item-input-inset">
<label class="item-input-wrapper">
<input type="text" placeholder="Filter Demos..." ng-model="demoFilter">
</label>
<button class="button button-small" ng-click="demoFilter = ''">
Clear
</button>
</div>
<a class="item item-icon-right"
ng-class="{active: demo.id == $demo.id }"
ng-repeat="demo in $demos | filter:demoFilter"
ng-href="{{demo.href}}"
ng-bind="demo.component + ': ' + (demo.name | humanize)">
<i class="icon icon-accessory ion-chevron-right"></i>
</a>
</div>
</ion-content>
</script>
<style>
body {
margin-bottom: 44px;
}
.demo-content-pane {
position: absolute;
top: 0;
right: 0;
bottom: 44px;
left: 0;
width: 100%;
overflow: hidden;
}
.demo-footer-icon {
position: absolute;
left: 0;
right: 0;
top: -3px;
margin: auto;
text-align: center;
-webkit-transform: scaleX(1.3);
-moz-transform: scaleX(1.3);
transform: scaleX(1.3);
}
.demo-footer-icon .icon {
color: #CCC;
font-size: 18px;
}
</style>
</body>
</html>