-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
81 lines (81 loc) · 3.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
77
78
79
80
81
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<title>Configurable Map Viewer</title>
<link rel="stylesheet" type="text/css" href="//js.arcgis.com/3.14compact/esri/css/esri.css">
<link rel="stylesheet" type="text/css" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
<link rel="stylesheet" type="text/css" href="css/theme/dbootstrap/dbootstrap.css">
<link rel="stylesheet" type="text/css" href="css/main.css">
</head>
<body class="dbootstrap">
<div class="appHeader">
<div class="headerLogo">
<img alt="logo" src="images/rocket-logo.png" height="54" />
</div>
<div class="headerTitle">
<span id="headerTitleSpan">
Configurable Map Viewer
</span>
<div id="subHeaderTitleSpan" class="subHeaderTitle">
make it your own
</div>
</div>
<div class="search">
<div id='geocodeDijit'>
</div>
</div>
<div class="headerLinks">
<div id="helpDijit">
</div>
</div>
</div>
<script type="text/javascript">
var dojoConfig = {
async: true,
packages: [{
name: 'viewer',
location: location.pathname.replace(/[^\/]+$/, '') + 'js/viewer'
},{
name: 'config',
location: location.pathname.replace(/[^\/]+$/, '') + 'js/config'
},{
name: 'gis',
location: location.pathname.replace(/[^\/]+$/, '') + 'js/gis'
}, {
name: 'dgridnew',
location: '//cdn.rawgit.com/SitePen/dgrid/v0.4.0'
}, {
name: 'dstorenew',
location: '//cdn.rawgit.com/SitePen/dstore/v1.0.1'
}, {
name: 'jszip',
location: '//cdnjs.cloudflare.com/ajax/libs/jszip/3.1.3/',
main: "jszip"
}
]
};
</script>
<!--[if lt IE 9]>
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/es5-shim/4.0.3/es5-shim.min.js"></script>
<![endif]-->
<script type="text/javascript" src="//js.arcgis.com/3.14compact/"></script>
<script type="text/javascript">
// get the config file from the url if present
var file = 'config/viewer', s = window.location.search, q = s.match(/config=([^&]*)/i);
if (q && q.length > 0) {
file = q[1];
if(file.indexOf('/') < 0) {
file = 'config/' + file;
}
}
require(['viewer/Controller', file], function(Controller, config){
Controller.startup(config);
});
</script>
</body>
</html>