-
Notifications
You must be signed in to change notification settings - Fork 54
/
index.html
52 lines (41 loc) · 1.61 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>phonegap & jquery mobile boilerplate</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no;" />
<link rel="stylesheet" href="css/jquery.mobile.structure.css" />
<link rel="stylesheet" href="css/jquery.mobile.theme.css" />
<script>
var userAgent = navigator.userAgent + '';
if (userAgent.indexOf('iPhone') > -1) {
document.write('<script src="js/lib/cordova-iphone.js"></sc' + 'ript>');
var mobile_system = 'iphone';
} else if (userAgent.indexOf('Android') > -1) {
document.write('<script src="js/lib/cordova-android.js"></sc' + 'ript>');
var mobile_system = 'android';
} else {
var mobile_system = '';
}
</script>
<script src="js/lib/jquery.js"></script>
<!-- your scripts here -->
<script src="js/app/app.js"></script>
<script src="js/app/bootstrap.js"></script>
<script src="js/lib/jquery.mobile.js"></script>
</head>
<body>
<div data-role="page">
<div data-role="header">
<h1>Single page</h1>
</div><!-- /header -->
<div data-role="content">
<p>This is a single page boilerplate template that you can copy to build your first jQuery Mobile page. Each link or form from here will pull a new page in via Ajax to support the animated page transitions.</p>
<p>This template is standard HTML document with a single "page"</p>
</div><!-- /content -->
<div data-role="footer">
<h4>Footer content</h4>
</div><!-- /footer -->
</div><!-- /page -->
</body>
</html>