forked from hollyschinsky/MediaExplorerMobileOnsen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·57 lines (48 loc) · 2.45 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
<!doctype html>
<html lang="en" ng-app="mediaApp">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<title>iTunes Media Explorer</title>
<link rel="stylesheet" href="lib/onsen/css/onsenui.css">
<link rel="stylesheet" href="lib/onsen/css/topcoat-mobile-onsen-ios7.css">
<link rel="stylesheet" href="styles/app.css"/>
<!-- cordova.js or phonegap.js depending on which CLI used - automatically added into project when
using the CLI to build and run the application -->
<script src="cordova.js"></script>
<script src="lib/onsen/js/angular/angular.js"></script>
<script src="lib/angular-resource.js"></script>
<script src="lib/onsen/js/onsenui.js"></script>
<script src="js/app.js"></script>
<script src="js/controllers.js"></script>
<script src="js/services.js"></script>
<script src="js/filters.js"></script>
<script src="js/directives.js"></script>
</head>
<body>
<!-- The sliding menu will show full screen and cover the status bar in iOS7. If you don't want this and want
it to look more like iOS6 then be sure to add the StatusBarPlugin from the project readme and set the
preference in your config.xml for the status bar overlay to false. I left some code in below to help
handle this, you can look at the different options supported for the StatusBar plugin at
http://plugins.cordova.io/#/package/org.apache.cordova.statusbar.
You could also add these preferences to the config.xml for the iOS platform in place of the code below
(note, these prefs may not yet be supported by PG Build)
<preference name="StatusBarBackgroundColor" value="#C9C9C9" />
<preference name="StatusBarOverlaysWebView" value="false" />
-->
<script language="javascript">
document.addEventListener('deviceready', function () {
// Sample code for Status Bar handling depending on preferences
// StatusBar.overlaysWebView(false); defaults to true
// StatusBar.backgroundColorByHexString("#C9C9C9"); defaults to black
// StatusBar.styleDefault(); dark text on lighter bg
})
</script>
<ons-screen>
<ons-sliding-menu
behind-page="menu.html"
above-page="homeNav.html">
</ons-sliding-menu>
</ons-screen>
</body>
</html>