-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
62 lines (53 loc) · 1.34 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
58
59
60
61
62
<!DOCTYPE html>
<html>
<head>
<meta name="format-detection" content="telephone=no"/>
<meta http-equiv="Cache-Control" content="no-transform">
<meta name="apple-mobile-web-app-capable" content="yes"/>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="apple-mobile-web-app-status-bar-style" content="black"/>
<style type="text/css">
*
{
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
@-ms-viewport {
width: device-width;
user-zoom: fixed;
max-zoom: 1;
min-zoom: 1;
}
@-moz-viewport {
width: device-width;
user-zoom: fixed;
max-zoom: 1;
min-zoom: 1;
}
@viewport {
width: device-width;
user-zoom: fixed;
max-zoom: 1;
min-zoom: 1;
}
body { -ms-touch-action:none; }
</style>
<title>QToolKit Demos</title>
<script src='/index.js'></script>
<script type="application/javascript">
var themeURL = "/demos/assets/theme/default/theme.json";
var appThemeURL = "/demos/assets/theme/default/demo.json";
var assetsURLs = [themeURL, appThemeURL];
var app = new qtk.Application.create("test");
app.loadScript("js/demo-"+(app.options["demo"] || "main")+".js");
window.onload = function() {
app.preload(assetsURLs, function onLoad() {
app.onReady = onReady;
app.init({sysThemeDataURL:themeURL, appThemeDataURL:appThemeURL});
app.run();
});
}
</script>
</head>
<body>
</body>
</html>