-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
160 lines (146 loc) · 6.53 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
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
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>SECOORA Point Editor</title>
<link rel="stylesheet" href="ext/leaflet.css" />
<script src="ext/leaflet.js"></script>
<script type="text/javascript" src="ext/tile.stamen.v1.3.0.js"></script>
<script src="ext/d3.v4.min.js"></script>
<script src="ext/lodash.min.js"></script>
<script src="ext/localforage.min.js"></script>
<link type="text/css" rel="stylesheet" href="ext/jsgrid.min.css" />
<link type="text/css" rel="stylesheet" href="ext/jsgrid-theme.min.css" />
<script src="ext/jquery-2.2.4.min.js"></script>
<script type="text/javascript" src="ext/jsgrid.js"></script>
<link rel="stylesheet" href="ext/bootstrap-flex.css" />
<script src="ext/d3-scale-chromatic.v1.min.js"></script>
<script src="ext/papaparse.min.js"></script>
<script src="ext/jaro_winkler.js"></script>
<link rel="stylesheet" href="style.css" />
<link rel="stylesheet" href="print.css" />
</head>
<body lang="en">
<a href="https://github.com/secoora/secoora-point-editor" class="github-banner"><img style="position: absolute; top: 0; right: 0; border: 0; z-index:999;" src="https://camo.githubusercontent.com/a6677b08c955af8400f44c6298f40e7d19cc5b2d/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f677261795f3664366436642e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_gray_6d6d6d.png"></a>
<div class="central">
<div id="mapid"></div>
<div class="editor">
<div class="editor__toolbar">
<button type="button" class="btn btn-danger editor__toolbar__delete" disabled>Delete</button>
<button type="button" class="btn btn-success editor__toolbar__export" disabled>Export</button>
<button type="button" class="close"><span>×</span></button>
</div>
<div class="editor__grid">
</div>
</div>
</div>
<div class="layerbar">
<div class="layerbar__predefined">
<h3>SECOORA 5 Year Proposal</h3>
<ul class="list-group">
</ul>
</div>
<div class="layerbar__user">
<h3>User Layers</h3>
<div class="layerbar__user__layers list-group">
</div>
<button type="button" class="btn btn-primary layerbar__user__add">New Layer</button>
</div>
</div>
</div>
<div class="modal fade" id="export-modal" tabindex="-1">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">
<span>×</span>
</button>
<h4 class="modal-title">Export</h4>
</div>
<div class="modal-body">
<form>
<div class="form-group">
<textarea class="form-control export-modal__geojson" rows="20"></textarea>
</div>
</form>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
<a class="btn btn-primary export-modal__link" href="#">Download</a>
</div>
</div>
</div>
</div>
<div class="modal fade" id="new-modal" tabindex="-1">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">
<span>×</span>
</button>
<h4 class="modal-title">New Layer</h4>
</div>
<div class="modal-body">
<form>
<div class="form-group">
<label for="new-modal__name" class="col-form-label">Name</label>
<input type="text" class="form-control" id="new-modal__name" placeholder="Layer Name" data-edited="false" />
</div>
<label class="">Import <span class="tag tag-info">Optional</span></label>
<div class="form-group">
<div class="card">
<div class="card-header">
<div class="btn-group float-xs-right" data-toggle="buttons">
<label class="btn btn-secondary btn-sm">
<input id="format-geojson" name="format" type="radio" autocomplete="off">GeoJSON</input>
</label>
<label class="btn btn-secondary btn-sm">
<input id="format-csv" name="format" type="radio" autocomplete="off">CSV</input>
</label>
</div>
<ul class="nav nav-tabs card-header-tabs float-xs-left">
<li class="nav-item">
<a href="#tab-paste" class="nav-link active" role="tab" data-toggle="tab">Paste</a>
</li>
<!--
<li class="nav-item">
<a href="#" class="nav-link" role="tab" data-toggle="tab">URL</a>
</li>
-->
<li class="nav-item">
<a href="#tab-file" class="nav-link" role="tab" data-toggle="tab">File</a>
</li>
</ul>
</div>
<div class="card-block">
<div class="tab-content">
<div role="tabpanel" class="tab-pane active" id="tab-paste">
<textarea class="form-control" id="new-modal__contents" rows="10">
{
"type": "FeatureCollection",
"features": []
}</textarea>
</div>
<div role="tabpanel" class="tab-pane" id="tab-file">
<input type="file" id="new-modal__file" />
</div>
</div>
</div>
</div>
</div>
</form>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Cancel</button>
<button type="button" class="btn btn-primary new-modal__import">Save to Map</button>
</div>
</div>
</div>
</div>
<script type="text/javascript" src="app.js"></script>
<script src="ext/tether.min.js"></script>
<script src="ext/bootstrap.min.js"></script>
</body>
</html>