-
Notifications
You must be signed in to change notification settings - Fork 13
/
index.html
118 lines (111 loc) · 3.8 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
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
<title>MapsEngine Mutation Demo></title>
<!-- Load jQuery for cross-browser support. -->
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js"></script>
<!-- Load bootstrap and editable plugin -->
<script src="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.1/js/bootstrap.min.js"></script>
<link href="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.1/css/bootstrap-combined.min.css" rel="stylesheet">
<script src="bootstrap-editable/js/bootstrap-editable-inline.min.js"></script>
<!-- Load the playground implementation -->
<script src="https://maps.googleapis.com/maps/api/js?sensor=false&libraries=drawing,visualization"></script>
<script type="text/javascript" src="https://apis.google.com/js/auth.js?onload=initialize"></script>
<script type="text/javascript" src="GeoJSON.js"></script>
<script type="text/javascript" src="playground.js"></script>
<script type="text/javascript" src="auth.js"></script>
<style type="text/css">
#map-canvas, #table-canvas {
margin-top: 60px;
height: 100%;
padding: 0;
}
#map-canvas img {
max-width: none;
}
#table-canvas, #table-map-switcher {
display: none;
}
.sidebar-nav {
overflow: auto;
margin-top: 60px;
}
#instructions {
background: #fffbaf;
font-size: 1.2em;
padding: 5px;
}
.sidebar.active {
font-weight: bold;
}
.table td {
padding: 3px;
}
.hero-unit {
padding:0;
}
#authorize-button {
margin-left: 46%;
margin-top: 10%;
display: none;
}
</style>
</head>
<body>
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<div class="nav-collapse collapse">
<p class="navbar-text pull-right">
<a id="table-map-switcher" href="#">Table View</a>
</p>
<ul class="nav">
<li>
<select id="project_select">
<option>Select a Project
</select>
</li>
<li class="header active">
<a href="#" class="endpoint" id="sidebar-tables">Tables</a>
</li>
<li class="header">
<a href="#" class="endpoint" id="sidebar-maps">Maps</a>
</li>
<li class="header">
<a href="#" class="endpoint" id="sidebar-layers">Layers</a>
</li>
<li class="header">
<a href="#" class="endpoint" id="sidebar-assets">Assets</a>
</li>
<li class="header">
<a href="#" class="endpoint" id="sidebar-rasterCollections">
Raster Collections
</a>
</li>
</ul>
</div><!--/.nav-collapse -->
</div>
</div>
</div>
<div class="container-fluid">
<div class="row-fluid">
<div class="span3">
<div class="well sidebar-nav">
<ul id="sidebar-list" class="nav nav-list">
<li id="instructions">Click the Authorize button to get started</li>
</ul>
</div><!--/.well -->
</div><!--/span-->
<div class="span9">
<div class="hero-unit">
<div id="map-canvas">
<input type="button" class="btn btn-primary" id="authorize-button" value="authorize">
</div>
<div id="table-canvas"></div>
</div>
</div><!--/span-->
</div><!--/row-->
</div><!--/.fluid-container-->
</body>
</html>