forked from leecade/jquery-mobile-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
50 lines (47 loc) · 2.05 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Spark Monitor</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no;" />
<link rel="stylesheet" href="css/themes/default/jquery.mobile-1.4.2.min.css">
<link rel="stylesheet" href="css/application.css" />
</head>
<body>
<script>
var userAgent = navigator.userAgent + '';
if (userAgent.indexOf('iPhone') > -1) {
document.write('<script src="js/lib/cordova-iphone.js"></sc' + 'ript>');
document.write('<script src="js/app/ios.js"></sc' + 'ript>');
document.write('<link rel="stylesheet" href="css/ios.css" />');
var mobile_system = 'iphone';
} else if (userAgent.indexOf('Android') > -1) {
document.write('<script src="js/lib/cordova-android.js"></sc' + 'ript>');
document.write('<script src="js/app/android.js"></sc' + 'ript>');
document.write('<link rel="stylesheet" href="css/android.css" />');
var mobile_system = 'android';
} else {
var mobile_system = '';
}
</script>
<script src="js/lib/jquery-1.11.1.min.js"></script>
<script src="js/lib/underscore-min.js"></script>
<script src="js/lib/backbone-min.js"></script>
<script src="js/lib/backbone-relational.js"></script>
<script src="js/lib/Backbone.ModelBinder.min.js"></script>
<script src="js/lib/Backbone.CollectionBinder.min.js"></script>
<script src="js/lib/backbone.localStorage.js"></script>
<script src="js/lib/pubsub.js"></script>
<script src="js/app/globals.js"></script>
<script src="js/app/utils.js"></script>
<script src="js/app/models.js"></script>
<script src="js/app/views.js"></script>
<script src="js/app/sparkApi.js"></script>
<script src="js/app/app.js"></script>
<script src="js/app/routes.js"></script>
<script src="js/app/bootstrap.js"></script>
<script src="js/lib/jquery.mobile.js"></script>
<!-- Template container -->
<div id="templates"></div>
</body>
</html>