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