forked from DARIAH-DE/StyleGuideTemplate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgeobrowser.html
218 lines (196 loc) · 8.45 KB
/
geobrowser.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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="utf-8">
<title>DARIAH-DE Geo-Browser</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="author" content="Ubbo Veentjer, SUB Göttingen">
<meta name="description" content="DARIAH-DE Geo-Browser">
<link rel="stylesheet" href="./resources/css/bootstrap.css" type="text/css" media="screen, projection" />
<link rel="stylesheet" href="./resources/css/bootstrap-responsive.css" type="text/css" media="screen, projection" />
<link rel="stylesheet" href="./resources/css/application.css" type="text/css" media="screen, projection" />
<link rel="stylesheet" href="./resources/css/bootstrap-customization.css" type="text/css" media="screen, projection" />
<link rel="stylesheet" href="./resources/css/bootstrap-modal.css" type="text/css" media="screen, projection" />
<link rel="stylesheet" href="./resources/css/font-awesome.css">
<!-- JavaScript files at the end for faster loading of documents -->
<script type="text/javascript" src="./resources/js/jquery-1.8.2.js"></script>
<script type="text/javascript" src="./resources/js/bootstrap.js"></script>
<link href="http://geobrowser.de.dariah.eu/beta5/PLATIN/css/platin.css" rel="stylesheet" type="text/css">
<script src="http://geobrowser.de.dariah.eu/beta5/PLATIN/lib/jquery/jquery.min.js"></script>
<script src="http://geobrowser.de.dariah.eu/beta5/PLATIN/platin-min.js"></script>
<!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link rel="shortcut icon" type="image/png" href="./resources/img/page_icon.png" />
</head>
<body>
<div class="navbar navbar-inverse navbar-static-top navbar-dariah" id="top">
<div class="navbar-inner">
<div class="container-fluid">
<div class="row-fluid">
<div class="span12>">
<!--
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</a>
-->
<div class="nav-collapse collapse">
<ul class="nav pull-right">
<li class="dropdown">
<!--
<a class="dropdown-toggle" data-toggle="dropdown" href="#"><i class="icon-globe icon-white"></i>
Sprache <span class="caret"></span>
</a>
<ul class="dropdown-menu">
<li><a href="?lang=en">English</a></li>
<li><a href="?lang=de">Deutsch</a></li>
</ul>
</li>
-->
<li>
<li>
<a href="./login" ><i class="icon-signin icon-white"></i> Login</a>
</li>
</li>
</ul>
<ul class="nav">
<li class="dropdown">
<a class="brand dropdown-toggle" data-toggle="dropdown" href="#">
<span class="caret"></span>
DARIAH-DE Geo-Browser
</a>
<ul class="dropdown-menu">
<li><a href="./edit.html">Datasheet Editor</a></li>
<li><a href="https://de.dariah.eu">DARIAH-DE Portal</a></li>
</ul>
</li>
<!--
<li class="dropdown">
<a class="dropdown-toggle" data-toggle="dropdown" href="#"><i class="icon-white icon-star"></i> myFederation <b class="caret"></b></a>
<ul class="dropdown-menu">
<li class="nav-header">Personal Settings</li>
<li><a href="/schereg/user/profile"> My Profile</a></li>
<li><a href="/schereg/auth/saml/admin"> SAML Metadata Management</a></li>
<li class="divider"></li>
<li><a href="#"> Help</a></li>
</ul>
</li>
<li class="dropdown">
<a class="dropdown-toggle" data-toggle="dropdown" href="#"><i class="icon-white icon-search"></i> Suche <b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="http://search.de.dariah.eu/search/search/simple"> Einfache Suche</a></li>
<li><a href="http://search.de.dariah.eu/search/search/extended"> Erweiterte Suche </a></li>
</ul>
</li>
-->
<li><a href="./edit.html">Datasheet Editor</a></li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
<div id="content_layout" class="container-fluid">
<div style="height:25px;"></div>
<div class="row-fluid">
<div class="span12 main-content-wrapper no-margin">
<div id="content" class="primary-area">
<ul class="breadcrumb">
<li>
<img src="./resources/img/dariah_logo.png" width="125"/>
</li>
</ul>
<div id="contentInner">
<div class="row-fluid" id="loaderDiv">
<div class="span4 input-prepend input-append">
<fieldset id="dataloaderContainerDiv" style="position:relative;">
<legend>Load data</legend>
</fieldset>
</div>
<div class="span4 input-prepend input-append">
<fieldset id="overlayloaderContainerDiv" style="position:relative;">
<legend>Load overlay</legend>
</fieldset>
</div>
<div class="span4">
<fieldset style="position:relative;">
<div id="storytellingContainerDiv"></div>
<legend>Dataset</legend>
</fieldset>
</div>
</div>
<br/>
<div id="geoTemCoContainers">
<div id="mapContainerDiv" style="position:relative;"></div>
<div id="plotContainerDiv" style="position:relative;"></div>
<br/>
<div id="tableContainerDiv" style="position:relative;"></div>
</div>
<script>
var datasets = [];
var mapDiv = document.getElementById("mapContainerDiv");
var map = new WidgetWrapper();
var mapWidget = new MapWidget(map,mapDiv,{
mapTitle: "Publication Place"
});
var timeDiv = document.getElementById("plotContainerDiv");
var time = new WidgetWrapper();
var timeWidget = new FuzzyTimelineWidget(time,timeDiv,{
timeTitle: "Publication Date"
});
timeWidget.options.timelineMode = 'stacking';
var tableDiv = document.getElementById("tableContainerDiv");
var table = new WidgetWrapper();
var tableWidget = new TableWidget(table,tableDiv);
var dataloaderDiv = document.getElementById("dataloaderContainerDiv");
var dataloader = new WidgetWrapper();
var dataloaderWidget = new DataloaderWidget(dataloader,dataloaderDiv);
var overlayloaderDiv = document.getElementById("overlayloaderContainerDiv");
var overlayloader = new WidgetWrapper();
var overlayloaderWidget = new OverlayloaderWidget(overlayloader,overlayloaderDiv);
overlayloaderWidget.attachMapWidget(mapWidget);
var storytellingDiv = document.getElementById("storytellingContainerDiv");
var storytelling = new WidgetWrapper();
var storytellingWidget = new StorytellingWidget(storytelling,storytellingDiv);
dataloaderWidget.loadFromURL();
</script>
<script>
function openDataSheet() {
if($.isEmptyObject($.url().param()) ) {
document.location.href = 'http://'+window.location.hostname+'/beta5/edit/';
} else {
$.each($.url().param(),function(paramName, paramValue){
if (paramName.toLowerCase().startsWith("csv")){
var id = paramValue.substring(paramValue.lastIndexOf('/') + 1);
document.location.href = 'http://'+window.location.hostname+'/beta5/edit/#id='+id;
}
});
}
}
</script>
</div>
</div>
</div>
</div>
<div class="row-fluid">
<div class="span12 no-margin footer">
<span>©2015 DARIAH-DE</span>
<ul class="pull-right inline">
<li><a href="#">Impressum</a></li>
<li><a href="#">Kontakt</a></li>
</ul>
</div>
</div>
</div>
<noscript>
<div style="width: 22em; position: absolute; left: 50%; margin-left: -11em; color: red; background-
color: white; border: 1px solid red; padding: 4px; font-family: sans-serif">
Your web browser must have JavaScript enabled in order for this application to display correctly.
</div>
</noscript>
</body>
</html>