-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
76 lines (64 loc) · 2.37 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>TypeScript HTML App</title>
<link rel="stylesheet" type="text/css" href="styles/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="styles/fontawesome/css/font-awesome.min.css">
<link href="styles/styles.css" rel="stylesheet" />
<link rel="stylesheet" href="./index.css" />
<!--<link rel="stylesheet" href="//js.arcgis.com/3.17/esri/css/esri.css" />-->
<link rel="stylesheet" href="//js.arcgis.com/4.0/esri/css/main.css">
<script src="//d3js.org/d3.v3.min.js"></script>
<script type="text/javascript">
var origin = window.location.origin;
var pathname = window.location.pathname;
var baseUrl = origin + pathname.toLowerCase().replace("/index.html", "");
// var baseUrl = "http://localhost:9000";
var dojoConfig = {
async: true,
has: {
'host-node': false
},
parseOnLoad: true,
paths: {
aurelia: baseUrl + "scripts/aurelia",
app: baseUrl + "app",
views: baseUrl + "views"
}
};
</script>
<script>
window.nodeReq = window.require;
delete window.require;
delete window.exports;
delete window.module;
function getParameterByName(name, url) {
if (!url) url = window.location.href;
name = name.replace(/[\[\]]/g, "\\$&");
var regex = new RegExp("[?&]" + name + "(=([^&#]*)|&|#|$)"),
results = regex.exec(url);
if (!results) return null;
if (!results[2]) return '';
return decodeURIComponent(results[2].replace(/\+/g, " "));
}
plotterStateDirectoryName = getParameterByName('dir') || 'state-directory'
</script>
<!--<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>-->
<script src="//js.arcgis.com/4.0/"></script>
</head>
<body aurelia-app='app/main'>
<div class="splash">
<div class="message">Aurelia Navigation Skeleton</div>
<i class="fa fa-spinner fa-spin"></i>
</div>
<script>
require.nodeRequire = nodeReq;
require(["aurelia/aurelia-bundle-npm"], function(au) {
require(["aurelia-bootstrapper"], function (b) {
// alert("loaded");
});
});
</script>
</body>
</html>