-
Notifications
You must be signed in to change notification settings - Fork 14
/
index.html
113 lines (95 loc) · 3.41 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
<!doctype html>
<html lang='en'>
<head>
<title>DSpace</title>
<meta charset='utf-8'/>
<meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0' />
<meta name='apple-mobile-web-app-status-bar-style' content='black' />
<meta name='apple-mobile-web-app-capable' content='yes' />
<!-- BEGIN DEV
This file is only served for development purposes in order to keep
assets separate (css/js) to have better debug functionality.
*** THIS FILE IS NOT INCLUDED IN THE BUILD ***
Please make neccessary changes to index.tmpl,
which is the basis for the final build.
-->
<link href='assets/css/main.css' rel='stylesheet' />
<link href='assets/css/ui.css' rel='stylesheet' />
<script src='test/deps/mocha.js'></script>
<script src='test/deps/chai.js'></script>
<script src='test/deps/sinon.js'></script>
<script src='deps/require.js'></script>
<script>
requirejs.config({
baseUrl: '.',
paths: {
// directories
"templates" : "assets/templates",
"template/helpers" : "app/helpers",
"models" : "app/models",
"collections" : "app/collections",
"views" : "app/views",
"templateMap" : "app/templateMap",
"geofeeds": "app/geofeeds",
// dependencies of hbs
"i18nprecompile" : "deps/hbs/i18nprecompile",
"json2" : "deps/hbs/json2",
// general deps
"hbs": "deps/hbs",
"ender": 'deps/ender',
"underscore": "deps/underscore",
"backbone": "deps/backbone",
"backbone-localstorage": "deps/backbone.localstorage",
"Math.uuid": "deps/Math.uuid",
"reqwest": "deps/reqwest",
"handlebars": "deps/handlebars",
"modestmaps": "deps/modestmaps",
"easey": "deps/easey",
"easey_handlers": "deps/easey_handlers",
"domready": "deps/domready",
"markers": "deps/markers"
},
"hbs": {
"templateExtension" : "handlebars",
"disableI18n" : true
}
});
if(String(document.location).match(/\?test=1/)) {
require(['test/runner', 'app/main']);
} else {
require(['app/main']);
}
</script>
<!-- END DEV -->
</head>
<body>
<div id='map' class='map' oncontextmenu='javascript: return false;'></div>
<div id='ui'>
<div id='mapContext' class='uiContext' oncontextmenu='javascript: return false;'></div>
<div id='markerContext' class='uiContext' oncontextmenu='javascript: return false;'></div>
<div id='topBaffle' class='baffle'></div>
<div id='bottomBaffle' class='baffle'>
<div id='widgetBar'>
</div>
</div>
<div id='statusPanel' class='uiPanel'></div>
<div id='controlPanel' class='uiPanel'>
<div id='toggleFullscreen' class='uiButton'>⇱</div>
<div id='toggleMiniMap' class='uiButton'>M</div>
<div id='userOptions' class='uiButton'>⚙</div>
<div id='userMode' class='uiButton'>✈</div>
<div id='toggleSideBar' class='uiButton'>⛁</div>
</div>
<div id='modal' class='uiModal'>
<div id='closeModal' class='uiButton'>×</div>
<div id='modalContent'></div>
</div>
<div id='widgetModal' class='uiWidgetModal'></div>
<div id='sidebar'>
<div id='featureBox'></div>
</div>
<div id='miniMap'><div id='mmViewport'></div></div>
</div>
<div id='splash'><h1>DSpace</h1><p class='loader'>Client loading...</p></div>
</body>
</html>