forked from DARIAH-DE/StyleGuideTemplate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathedit.html
212 lines (206 loc) · 9.97 KB
/
edit.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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>DARIAH-DE Datasheet Editor</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 Datasheet Editor" />
<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" />
<link rel="stylesheet" media="screen"
href="https://geobrowser.de.dariah.eu/edit/components/handsontable/lib/jQuery-contextMenu/jquery.contextMenu.css" />
<link rel="stylesheet" media="screen"
href="https://geobrowser.de.dariah.eu/edit/components/handsontable/jquery.handsontable.css" />
<link rel="stylesheet" media="screen"
href="https://geobrowser.de.dariah.eu/edit/css/dariah.workflow.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" type="text/javascript"></script>
<script src="http://geobrowser.de.dariah.eu/beta5/PLATIN/platin-min.js" type="text/javascript"></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>">
<div class="nav-collapse collapse">
<ul class="nav pull-right">
<li class="dropdown">
<a class="dropdown-toggle" data-toggle="dropdown" href="#menu1"> Actions <b class="caret"></b>
</a>
<ul class="dropdown-menu">
<li><a href="">New datasheet</a></li>
<li><a href="#" id="downloadMenuAction">Download CSV</a></li>
<li><a href="#" id="saveMenuAction">Save</a></li>
<li><a href="#" id="bookmarkMenuAction">Bookmark</a></li>
<li class="divider"></li>
<li> <input type="checkbox" name="autosave" id="autosave" checked="checked" autocomplete="off" /> Autosave</li>
</ul>
</li>
<li>
<a href="./login"><i class="icon-signin icon-white"></i> Login</a>
</li>
</ul>
<ul class="nav">
<li class="dropdown">
<a class="brand dropdown-toggle" data-toggle="dropdown"
href="#">
<span class="caret"></span> DARIAH-DE Datasheet Editor </a>
<ul class="dropdown-menu">
<li><a href="./geobrowser.html">Geo-Browser</a></li>
<li><a href="https://de.dariah.eu">DARIAH-DE Portal</a></li>
</ul>
</li>
<li><a href="./geobrowser.html">Geo-Browser</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="span9 main-content-wrapper">
<div id="content" class="primary-area">
<ul class="breadcrumb">
<li>
<img src="./resources/img/dariah_logo.png" width="125" alt="DARIAH-DE Logo" />
</li>
</ul>
<div id="contentInner">
<!--
<div id="sheetArea">
<div id="console" class="console"></div>
<div id="dataTable" class="dataTable"></div>
</div>
-->
<h1>Choose or create data</h1>
<p>You have no dataset selected. Choose one of the actions,
either <b>create an empty worksheet</b> or import existing
CSV data <b>from your harddisk</b>. Creating a new sheet
will allow e.g. for copy'n'paste from Excel or Calc. Your
data will be saved to the DARIAH storage.</p>
<br />
<p><button class="btn btn-primary btn-small"
onclick="createNew();">Create an empty worksheet</button>
or import local file: <input
class="btn-small btn-primary" type="file" id="files"
name="files[]" /></p>
</div>
</div>
<div class="row-fluid">
<div id="content" class="primary-area">
<div id="tgnArea" class="well span5">
<h3>Place selection</h3>
<p>The coordinates automatically added are for the most
probable place, you may adjust the places below. <i
class="icon-pencil"></i> sets all places with this name
to the choosen coordinates. <i class="icon-eye-open"></i>
lets you lookup and finetune the coordinates or set
unrecognized places.</p>
<div id="tgnList"></div>
</div>
<div id="osmArea" class="well span7">
<h3>Map selection</h3>
<div class="input-prepend">
<span class="add-on">Latitude</span>
<input id="osmLat" type="text"
class="form-control input-small" />
<span class="add-on">Longitude</span>
<input id="osmLong" type="text" class="input-small" />
</div>
<div class="input-prepend input-append">
<span class="add-on">Set for all places named</span>
<input id="osmPlaceName" type="text" class="input-medium" />
<button class="btn" id="setAllOSM"
onClick="setAllPlacesOSM()"><i class="icon-pencil"
></i></button>
</div>
<div id="osmMap"></div>
<br />
<div class="input-append input-prepend">
<input type="text" class="input-medium" id="osmTgnSearch" />
<button title="search Getty Thesaurus" class="btn"
onclick="tgnSearch();"><i class="icon-search"></i>
TGN</button>
<button title="search Open Geonames" class="btn"
onclick="ognSearch();"><i class="icon-search"></i>
OGN</button>
<button title="search Open Streetmap" class="btn"
onclick="osmSearch();"><i class="icon-search"></i>
OSM</button>
</div>
<div id="tgnOsmList"></div>
</div>
</div>
</div>
</div>
<div class="span3">
<div class="primary-area main-content-wrapper">
<h4>Add geocoordinates</h4>
<p>Geocoordinates for places could be added with the help of
the DARIAH Getty Thesaurus Service.</p>
<button class="btn-small btn-primary" onClick="startTGN();"
>Geolocation completion</button>
</div>
<br />
<div class="primary-area main-content-wrapper">
<h4>View raw data</h4>
<p>The raw CSV data of this sheet is stored in the DARIAH
Storage Service and has the ID <strong id="dataId">not yet
set</strong>. You could view the raw data <a id="dataLoc"
target="_blank" href="#">here.</a></p>
</div>
<br />
<div class="primary-area main-content-wrapper">
<h4>Open with Geo-Browser</h4>
<p>The datasheet will be checked for errors and completeness
and could be viewed with the DARIAH Geo-Browser.</p>
<button class="btn-small btn-primary"
onclick="openGeoBrowser(true);">Open Geo-Browser with this
sheet</button>
</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>