-
Notifications
You must be signed in to change notification settings - Fork 0
/
index_android.html
163 lines (153 loc) · 5.24 KB
/
index_android.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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no, minimal-ui">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="theme-color" content="#2196f3">
<script type="text/javascript">
if(navigator.userAgent.match(/Android/i))
{
document.write('<link rel="stylesheet" href="css/framework7.material.min.css">' + '<link rel="stylesheet" href="css/framework7.material.colors.min.css">' + '<link rel="stylesheet" href="css/overwrite_android.css">');
}
else if(navigator.userAgent.match(/iPad|iPhone|iPod/i))
{
document.write('<link rel="stylesheet" href="css/framework7.ios.min.css">' + '<link rel="stylesheet" href="css/framework7.ios.colors.min.css">' + '<link rel="stylesheet" href="css/overwrite_ios.css">');
}
else
{
//document.write('<link rel="stylesheet" href="css/framework7.material.min.css">' + '<link rel="stylesheet" href="css/framework7.material.colors.min.css">' + '<link rel="stylesheet" href="css/overwrite_android.css">');
document.write('<link rel="stylesheet" href="css/framework7.ios.min.css">' + '<link rel="stylesheet" href="css/framework7.ios.colors.min.css">' + '<link rel="stylesheet" href="css/overwrite_ios.css">');
}
</script>
<link rel="stylesheet" href="css/overwrite.css">
<title>Framework7 for Cordova</title>
</head>
<body>
<div class="statusbar-overlay"></div> <!--狀態欄覆蓋全屏幕模式(Cordova)-->
<div class="panel-overlay"></div> <!--面板覆蓋-->
<!--左邊面板開始-->
<div class="panel panel-left panel-reveal">
<div class="view navbar-fixed">
<div class="pages">
<div data-page="panel-left" class="page">
<div class="navbar">
<div class="navbar-inner">
<div class="center">左邊面板</div>
</div>
</div>
<div class="page-content">
<div class="list-block">
<ul>
<li><a href="#" class="item-link close-panel">
<div class="item-content">
<div class="item-media"><i class="icon icon-f7"></i></div>
<div class="item-inner">
<div class="item-title">點我關閉左側面板</div>
</div>
</div></a></li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
<!--左邊面板結束-->
<!--右邊面板開始-->
<div class="panel panel-right panel-reveal">
<div class="view view-right">
<div class="pages navbar-fixed">
<div data-page="panel-right1" class="page">
<div class="navbar">
<div class="navbar-inner">
<div class="center">Right Panel</div>
</div>
</div>
<div class="page-content">
<div class="content-block">
<p>This is a right side panel. You can close it by clicking outsite or on this link: <a href="#" class="close-panel">close me</a>. You can put here anything, even another isolated view, try it: </p>
</div>
<div class="list-block">
<ul>
<li><a href="panel-right2.html">
<div class="item-content">
<div class="item-inner">
<div class="item-title">Right panel page 2</div>
</div>
</div></a></li>
<li><a href="panel-right3.html">
<div class="item-content">
<div class="item-inner">
<div class="item-title">Right panel page 3</div>
</div>
</div></a></li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
<!--右邊面板結束-->
<!-- Views-->
<div class="views">
<!-- Your main view, should have "view-main" class-->
<div class="view view-main">
<!-- Top Navbar-->
<!--HEADER開始-->
<div class="navbar">
<div class="navbar-inner">
<div class="left"><a href="#" data-panel="left" class="link icon-only open-panel"><i class="icon icon-bars"></i></a></div>
<div class="center sliding">Framework7 for Cordova</div>
<div class="right"><a href="#" data-panel="right" class="link icon-only open-panel"><i class="icon icon-bars"></i></a></div>
</div>
</div>
<!--HEADER結束-->
<!-- Pages, because we need fixed-through navbar and toolbar, it has additional appropriate classes-->
<div class="pages navbar-through toolbar-through">
<!-- Page, data-page contains page name-->
<div data-page="index" class="page">
<!-- Scrollable page content-->
<div class="page-content">
<div class="content-block-title">官方插件</div>
<div class="list-block">
<ul>
<li><a href="about2.html" class="item-link">
<div class="item-content">
<div class="item-media"><i class="icon icon-f7"></i></div>
<div class="item-inner">
<div class="item-title">Camera</div>
<div class="item-after"><span class="badge bg-green">攝影機</span></div>
</div>
</div></a></li>
</ul>
</div>
</div>
</div>
</div>
<!-- Bottom Toolbar-->
<div class="toolbar">
<div class="toolbar-inner"><a href="#" class="link">Link 1</a><a href="#" class="link">Link 2</a></div>
</div>
</div>
</div>
<script type="text/javascript" src="js/framework7.min.js"></script>
<!--<script type="text/javascript">
if(navigator.userAgent.match(/Android/i))
{
document.write('<script src="js/kitchen-sink-android.js"><\/script>');
}
else if(navigator.userAgent.match(/iPad|iPhone|iPod/i))
{
document.write('<script src="js/kitchen-sink-ios.js"><\/script>');
}
else
{
document.write('<script src="js/kitchen-sink-ios.js"><\/script>');
}
</script>-->
<script type="text/javascript" src="js/my-app.js"></script>
</body>
</html>