forked from krisrak/appframework-templates
-
Notifications
You must be signed in to change notification settings - Fork 0
/
template-SingleViewApp.html
43 lines (39 loc) · 1.4 KB
/
template-SingleViewApp.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
<!DOCTYPE html>
<html>
<head>
<title>Single View App template</title>
<!--
This template can be used for simple application that has just a main view, for applications like Flash light app or Calculator app.
-->
<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=0;" />
<link rel="stylesheet" type="text/css" href="appframework/af.ui.css" />
<link rel="stylesheet" type="text/css" href="appframework/icons.css" />
<script type="text/javascript" charset="utf-8" src="appframework/appframework.ui.min.js"></script>
<!-- Required if packaging to native app using Intel XDK -->
<script src="intelxdk.js"></script>
<script src="xhr.js"></script>
<script>
function onDeviceReady(){
$.ui.launch();
intel.xdk.device.hideSplashScreen();
}
document.addEventListener("intel.xdk.device.ready", onDeviceReady, false);
</script>
<!-- end Intel XDK code -->
<script>
$.ui.autoLaunch = false;
$(document).ready(function(){
$.ui.launch();
});
</script>
</head>
<body>
<div id="afui">
<div id="content" style="">
<div class="panel" title="Title" id="page1" data-footer="none" selected="true">
<p>This is a Single View App template</p>
</div>
</div>
</div>
</body>
</html>