This repository has been archived by the owner on Jul 8, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
area.htm
52 lines (52 loc) · 1.99 KB
/
area.htm
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
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
<link rel ="stylesheet" type = "text/css" href= "./css/bootstrap.css">
<link rel ="stylesheet" type = "text/css" href= "./css/styles.css">
<script type="text/javascript" src="js/jquery-1.7.1.js"></script>
<script type="text/javascript" src="http://maps.googleapis.com/maps/api/js?key=AIzaSyDB8hSxJc0O5AOlzvYVAle7ARvFENvFqbI&sensor=false&libraries=drawing"></script>
</head>
<body>
<div class="navbar">
<div class="navbar-inner">
<div class="container">
<a class= "brand" href= "index.htm">Device Manager</a>
<ul class="nav">
<li>
<a href="index.htm">Home</a>
</li>
<li><a href="overlay.htm">Add Overlay</a></li>
<li class="active"><a href="area.htm">Add Area</a></li>
</ul>
</div>
</div>
</div>
<div id="area-editor" class="hide">
<div class="editor-form">
Please enter the following information:<br>
<input type="text" id="add-name" placeholder="Name"><br>
<input type="text" id="add-altitude" placeholder="Altitude"><br>
<select id="add-parent" placeholder="Parent"></select><br>
<div class="error hide"></div>
<a href="#" class="btn btn-primary">Save</a>
<a href="#" class="btn btn-danger">Cancel</a>
</div>
<div class="success hide">
Area was added!
</div>
</div>
<div id="map-canvas"></div>
<script type = "text/javascript" src = "js/map.js"></script>
<script type = "text/javascript" src = "js/device-api.js"></script>
<script type = "text/javascript" src = "js/area-map.js"></script>
<script type = "text/javascript" src = "js/area-create.js"></script>
<script type="text/javascript">
(function() {
Map.initializeMap("#map-canvas");
AreaCreate.initialize();
AreaCreate.start();
})();
</script>
</body>
</html>