]> git.uio.no Git - u/erikhf/frm.git/blob - src/index.html
c712323e69bace7f68513d2c75ba86fd8a0f817a
[u/erikhf/frm.git] / src / index.html
1 <!DOCTYPE html>
2 <html lang="en">
3 <head>
4     <meta charset="UTF-8">
5     <title>Sample App</title>
6     <script>
7         var xhReq = new XMLHttpRequest();
8         xhReq.open("GET", "../manifest.webapp", false);
9         xhReq.send(null);
10         var serverResponse = JSON.parse(xhReq.responseText);
11         var dhisAPI = serverResponse.activities.dhis.href;
12     </script>
13     <script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyDlgw6kZAQvD8ex_md-6wb_NcnVlZWkbE4"></script>
14     <script src="../node_modules/systemjs/dist/system.src.js"></script>
15     <script src="../node_modules/angular2/bundles/angular2.dev.js"></script>
16     <script src="../node_modules/angular2/bundles/http.dev.js"></script>
17     <script src="../node_modules/angular2/bundles/router.dev.js"></script>
18     <script src="http://code.jquery.com/jquery-1.11.3.min.js"></script>
19     <script src="../node_modules/bootstrap/dist/js/bootstrap.min.js"></script>
20     <link rel="stylesheet" type="text/css" href="../node_modules/bootstrap/dist/css/bootstrap.min.css">
21     <link rel="stylesheet" type="text/css" href="css/map.css">
22
23     <script>
24         System.config({
25             packages: {'components': {defaultExtension: 'js'}}
26         });
27         System.import('components/app');
28     </script>
29 </head>
30 <body>
31     <mou-app>loading...</mou-app>
32 </body>
33 </html>