Merge pull request #1 from shackbarth/keith1
[xtuple] / node-datasource / views / app.ejs
1 <!DOCTYPE html>
2 <html>
3   <head>
4     <title>xTuple</title>
5     <link rel="shortcut icon" href="/assets/favicon.ico" />
6     <!-- -->
7     <meta http-equiv="Content-Type" content="text/html; charset=utf8"/>
8     <meta http-equiv="Cache-control" content="No-Cache">
9     <meta name="apple-mobile-web-app-capable" content="yes"/>
10     <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
11     <!-- css -->
12     <link href="/<%= org %>/client/lib/enyo-x/lib/nvd3/src/nv.d3.css" rel="stylesheet"/>
13     <link href="/<%= org %>/client/build/client-code?uuid=<%= coreCss %>&language=css" rel="stylesheet"/>
14     <% for (var i = 0; i < extensionCssArray.length; i++) { %>
15       <link href="/<%= org %>/client/build/client-code?uuid=<%= extensionCssArray[i] %>&language=css" rel="stylesheet"/>
16     <% } %>
17     <!-- js -->
18     <script src="/<%= org %>/locale"></script>
19     <script src="/socket.io/socket.io.js?1.3.10" type="text/javascript"></script>
20     <script src="/node_modules/jquery/jquery.js"></script>
21     <script src="/<%= org %>/client/build/client-code?uuid=<%= coreJs %>&language=js"></script>
22     <% for (var i = 0; i < extensionJsArray.length; i++) { %>
23       <script src="/<%= org %>/client/build/client-code?uuid=<%= extensionJsArray[i] %>&language=js"></script>
24     <% } %>
25   </head>
26   <body class="enyo-unselectable">
27     <script>
28       if (!window.App) {
29         alert('No application build found, redirecting to debug app.');
30         location = '/<%= org %>/debug';
31       }
32       new App().start();
33     </script>
34   </body>
35 </html>