forked from bmcbride/geojson-share-maps
-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
147 lines (143 loc) · 7.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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="initial-scale=1,user-scalable=no,maximum-scale=1,width=device-width">
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="description" content="A responsive web mapping application for viewing GeoJSON files">
<meta name="author" content="Bryan McBride">
<title name="title">UCD Digital Library • GeoJSON Mapper</title>
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="//api.tiles.mapbox.com/mapbox.js/v2.2.3/mapbox.css">
<link rel="stylesheet" href="//api.tiles.mapbox.com/mapbox.js/plugins/leaflet-markercluster/v0.4.0/MarkerCluster.css">
<link rel="stylesheet" href="//api.tiles.mapbox.com/mapbox.js/plugins/leaflet-markercluster/v0.4.0/MarkerCluster.Default.css">
<link rel="stylesheet" href="//api.tiles.mapbox.com/mapbox.js/plugins/leaflet-locatecontrol/v0.43.0/L.Control.Locate.mapbox.css">
<link rel="stylesheet" href="assets/css/app.css">
<link rel="apple-touch-icon" sizes="76x76" href="assets/img/favicon-76.png">
<link rel="apple-touch-icon" sizes="120x120" href="assets/img/favicon-120.png">
<link rel="apple-touch-icon" sizes="152x152" href="assets/img/favicon-152.png">
<link rel="icon" sizes="196x196" href="assets/img/favicon-196.png">
<link rel="icon" type="image/x-icon" href="assets/img/favicon.ico">
</head>
<body>
<div id="navigation-top" style="width: 100%; position: absolute; top: 0; height:38px; background-color: #000; opacity: 1.0">
<div class="navbar-inverse navbar-collapse collapse" style="position:absolute; left: 0; top: 0; height:38px!important;">
<div class="navbar-header" style="margin-top: -7px;">
<div class="navbar-icon-container">
<a href="#" class="navbar-icon pull-right visible-xs" id="nav-btn"><i class="fa fa-bars fa-lg white"></i></a>
<a href="#" class="navbar-icon pull-right visible-xs" id="sidebar-toggle-btn"><i class="fa fa-search fa-lg white"></i></a>
</div>
<span class="navbar-brand" href="#" name="title" id="navbar-title">UCD Digital Library</span>
</div>
<ul class="nav navbar-nav navbar-right">
<li><a id="refresh-btn" href="#"><i class="fa fa-refresh white"></i> Refresh</a></li>
<li><a id="full-extent-btn" href="#"><i class="fa fa-arrows-alt white"></i> Full Extent</a></li>
<li><a href="" id="download" download="data.geojson" target="_blank" data-toggle="collapse" data-target=".navbar-collapse.in"><i class="fa fa-cloud-download white"></i> Download Data</a></li>
<li class="btn-search"><a href="#" data-toggle="collapse" data-target=".navbar-collapse.in" id="list-btn"><i class="fa fa-list-alt white"></i> Result list</a></li>
</ul>
</div>
</div>
<div id="container" class="container-top">
<div id="sidebar">
<div class="sidebar-wrapper">
<div class="panel panel-default" id="features">
<div class="panel-heading">
<h3 class="panel-title">Features
<button type="button" class="btn btn-xs btn-default pull-right" id="sidebar-hide-btn"><i class="fa fa-chevron-left"></i></button></h3>
</div>
<div class="panel-body">
<div class="row">
<div class="col-xs-8 col-md-8">
<input type="text" class="form-control search" placeholder="Search" />
</div>
<div class="col-xs-4 col-md-4">
<button type="button" class="btn btn-primary pull-right sort" data-sort="feature-name" id="sort-btn"><i class="fa fa-sort"></i> Sort</button>
</div>
</div>
</div>
<div class="sidebar-table">
<table class="table table-hover" id="feature-list">
<thead class="hidden">
<tr>
<th>Icon</th>
<tr>
<tr>
<th>Name</th>
<tr>
<tr>
<th>Chevron</th>
<tr>
</thead>
<tbody class="list"></tbody>
</table>
</div>
</div>
</div>
</div>
<div id="map"></div>
</div>
<div id="loading" class="modal-backdrop">
<div class="loading-indicator">
<div class="progress progress-striped active">
<div class="progress-bar progress-bar-info loading-bar">Loading...</div>
</div>
</div>
</div>
<div class="modal fade" id="featureModal" tabindex="-1" role="dialog">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button class="close" type="button" data-dismiss="modal" aria-hidden="true">×</button>
<h4 class="modal-title text-primary" id="feature-title"></h4>
</div>
<div class="modal-body" id="feature-info"></div>
<div class="modal-footer">
<div class="btn-group dropup pull-left">
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" id="share-btn">
<i class="fa fa-share"></i> Share <span class="caret"></span>
</button>
<ul class="dropdown-menu" role="menu">
<!--
<li><a href="#" target="_blank" id="share-hyperlink"><i class="fa fa-link"></i> Hyperlink</a></li>
-->
<li><a href="#" target="_blank" id="share-twitter"><i class="fa fa-twitter"></i> Twitter</a></li>
<li><a href="#" target="_blank" id="share-facebook"><i class="fa fa-facebook"></i> Facebook</a></li>
</ul>
</div>
<button type="button" class="btn btn-primary" data-dismiss="modal">Close</button>
</div>
</div><!-- /.modal-content -->
</div><!-- /.modal-dialog -->
</div><!-- /.modal -->
<style>
#fit {
display: block;
position: relative;
margin: 0px auto;
width: 50%;
height: 40px;
padding: 10px;
border: none;
border-radius: 3px;
font-size: 12px;
text-align: center;
color: #fff;
background: #ee8a65;
}
.audio-player {
padding-top: 20px;
}
</style>
<script src="//code.jquery.com/jquery-2.2.4.min.js"></script>
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/list.js/1.5.0/list.min.js"></script>
<script src="//api.tiles.mapbox.com/mapbox.js/v2.2.3/mapbox.js"></script>
<script src="//api.tiles.mapbox.com/mapbox.js/plugins/leaflet-omnivore/v0.2.0/leaflet-omnivore.min.js"></script>
<script src="//api.tiles.mapbox.com/mapbox.js/plugins/leaflet-markercluster/v0.4.0/leaflet.markercluster.js"></script>
<script src="//api.tiles.mapbox.com/mapbox.js/plugins/leaflet-locatecontrol/v0.43.0/L.Control.Locate.min.js"></script>
<script src="assets/js/app.js"></script>
</body>
</html>