1 |
|
2 | <!--
|
3 | A manifest file must be served with the mime-type text/cache-manifest
|
4 | This requirement was dropped from the specification some time ago,
|
5 | and no longer required by the latest versions of Chrome, Safari and Firefox,
|
6 | but you'll need the mime-type to work in older browsers and IE11.
|
7 |
|
8 | <html manifest="cache.manifest">
|
9 | -->
|
10 | <html>
|
11 | <head>
|
12 | <!--
|
13 | 1. https://blog.whatwg.org/the-road-to-html-5-character-encoding
|
14 | 2. Options:
|
15 | resize enabled: width=device-width,initial-scale=1
|
16 | resize denied: width=device-width,initial-scale=1,maximum-scale=1
|
17 | 3. Since Chrome 31.
|
18 | Chrome temporarily accepts the usage of "apple-mobile-web-app-capable"
|
19 | Meta tag apple-touch-fullscreen behave the same way as apple-mobile-web-app-capable.
|
20 | Only the last one is mentioned in Safari documentation, so I would stick with it.
|
21 | It looks to me as if apple-touch-fullscreen was used in early demos/previews,
|
22 | so it was left working later when the SDK got actually released,
|
23 | but the preferred version is the one documented.
|
24 | 4. Since Chrome 39 you can use Web App Manifest.
|
25 | http://www.w3.org/TR/appmanifest/
|
26 | If there's a manifest with display specified,
|
27 | "mobile-web-app-capable" is ignored.
|
28 | -->
|
29 |
|
30 | <meta charset="UTF-8"> <!-- 1 -->
|
31 | <meta name="viewport" content="initial-scale=1,maximum-scale=1"> <!-- 2 -->
|
32 | <meta name="mobile-web-app-capable" content="yes"> <!-- 3 -->
|
33 | <!-- <link rel="manifest" href="manifest.json"> 4 -->
|
34 |
|
35 | <!--
|
36 | <meta name="apple-mobile-web-app-capable" content="yes">
|
37 | <meta name="apple-mobile-web-app-status-bar-style" content="black">
|
38 | <link rel="apple-touch-startup-image" href="/startup.png">
|
39 | -->
|
40 |
|
41 | <!--
|
42 | OpenSearch autodiscovery: http://www.opensearch.org/Specifications/OpenSearch/1.1
|
43 | <link rel="search" type="application/opensearchdescription+xml"
|
44 | href="http://example.com/content-search.xml" title="Content search">
|
45 | -->
|
46 |
|
47 | <!--
|
48 | Turn off telephone number detection in Safari on iOS,
|
49 | you can still use the "tel" URI scheme.
|
50 | <meta name="format-detection" content="telephone=no">
|
51 | -->
|
52 |
|
53 | <!--
|
54 | Remove tap highlight in IE10 and IE11 on Windows Phone.
|
55 | <meta name="msapplication-tap-highlight" content="no">
|
56 | -->
|
57 |
|
58 | <!--
|
59 | Chrome, Firefox OS and Opera
|
60 | <meta name="theme-color" content="#4285f4">
|
61 | -->
|
62 |
|
63 | <!--
|
64 | <meta http-equiv="x-dns-prefetch-control" content="off">
|
65 |
|
66 | To be sure you're using the latest rendering mode for IE.
|
67 | The best practice is an X-UA-Compatible HTTP Header.
|
68 | <meta http-equiv="X-UA-Compatible" content="IE=edge">
|
69 |
|
70 | Meta-tags that attempt to apply the X-Frame-Options directive DO NOT WORK.
|
71 | You must apply the X-Frame-Options directive as HTTP Response Header.
|
72 |
|
73 | X-Frame-Options: deny
|
74 | Content-Security-Policy: script-src 'self'; frame-src 'none'
|
75 | Strict-Transport-Security: max-age=778000
|
76 |
|
77 | -->
|
78 |
|
79 | <!--
|
80 | Fallback application metadata for legacy browsers
|
81 | -->
|
82 | <meta name="application-name" content="App">
|
83 | <meta name="msapplication-tooltip" content="App">
|
84 |
|
85 | <title>App</title>
|
86 | <!--
|
87 | <base href="/">
|
88 | -->
|
89 |
|
90 | <!--
|
91 | Place icons in the root of your domain
|
92 | and these references are not needed.
|
93 |
|
94 | <link rel="shortcut icon" href="favicon.ico">
|
95 | <link rel="apple-touch-icon" href="apple-touch-icon.png">
|
96 | -->
|
97 | <link rel="stylesheet" href="app.css" toggle="ie7 ie8" min="min/0.css">
|
98 | <link rel="stylesheet" title="Default look" href="css/theme/blue.css">
|
99 | <link rel="alternate stylesheet" title="New look" href="css/theme/new.css">
|
100 | </head>
|
101 | <body>
|
102 | <!--
|
103 | Include scripts in the end of the body,
|
104 | so there is no need for waiting DOMContentLoaded
|
105 | -->
|
106 | <script src="load.js" inline></script>
|
107 | <script src="js/up.js" min="min/0.js?{hash}"
|
108 | banner="litejs.com/MIT-LICENSE.txt"
|
109 | if="!Object.assign"
|
110 | require="
|
111 | litejs/ui/polyfill/es5
|
112 | "></script>
|
113 | <script src="index.js" min="min/1.js?h={hash}"
|
114 | banner="litejs.com/MIT-LICENSE.txt"
|
115 | require="
|
116 | "></script>
|
117 | <script src="../date/index.js" min></script>
|
118 | <script src="../lib/json.js" min></script>
|
119 | <script src="../lib/timing.js" min></script>
|
120 | <script src="../lib/fn.js" min></script>
|
121 | <script src="../lib/events.js" min></script>
|
122 | <script src="src/history.js" min></script>
|
123 | <script src="src/view.js" min></script>
|
124 | <script src="src/el.js" min></script>
|
125 | <script src="binding/_default.js" min></script>
|
126 | <script src="binding/list.js" min></script>
|
127 | <script src="js/debug.js" exclude></script>
|
128 | <script src="js/touch.js" min="min/2.js?{hash}"></script>
|
129 | <script src="js/drag.js" min></script>
|
130 | <script src="js/xhr-getschema.js" min></script>
|
131 | <script src="js/json-schema-to-form.js" min></script>
|
132 | <script src="js/schema-apply.js" min></script>
|
133 | <script src="js/xhr.js" min></script>
|
134 | <script src="component/form1.tpl" type="litejs/view"></script>
|
135 | <script src="component/confirm.tpl" type="litejs/view"></script>
|
136 | <script src="component/Segment7.tpl" type="litejs/view"></script>
|
137 | <script src="view/main.view" type="litejs/view"></script>
|
138 | <script src="../model/index.js" min="min/3.js?{hash}"></script>
|
139 | <script src="js/data.js" min></script>
|
140 | <script src="js/stat.js" min></script>
|
141 | <script src="js/app.js" min></script>
|
142 | <script src="js/worker.js" type="disabled" min></script>
|
143 | <script src="//www.litejs.com/pub/testman.js" exclude></script>
|
144 | <script src="lib/object-utils.js" exclude></script>
|
145 | <script src="js/test.js" exclude></script>
|
146 | <noscript>
|
147 | <h1>Error</h1>This application requires JavaScript
|
148 | <!--
|
149 | Redirect to no-JavaScript version of the site
|
150 | or provide a link to give a chance to turn JavaScript on before redirect.
|
151 | <meta http-equiv="refresh" content="0;url=no-js.html">
|
152 | -->
|
153 | </noscript>
|
154 | </body>
|
155 | </html>
|
156 |
|