-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
81 lines (69 loc) · 2.27 KB
/
index.php
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
<?php
require("./api/config.php");
?><!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
<link rel="stylesheet" href="style.css" type="text/css" />
<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script>
<script type="text/javascript" src="jquery-1.5.1.js"></script>
<script type="text/javascript" src="map-definition.js"></script>
<title>Snarl: Mapping</title>
</head>
<body>
<div id="container">
<div id="header">
<h1>Snarl: Mapping</h1>
</div>
<div id="content">
<div id="map-container">
<div id="map"></div>
</div>
<div id="tools">
<h3>Tools</h3>
<h4>Zones</h4>
<button id="zonedefine">Create zone</button> or
<select id="zonelist">
<option value="none" selected>select a zone</option>
</select>
<div id="zoneoptions" class="options">
<input type="hidden" id="zoneid" />
<button class="zoom">Zoom to</button>
<button class="pan">Pan to</button>
<button class="edit">Edit</button>
<button class="rename">Rename</button>
<button class="remove">Delete</button>
<br />
<textarea class="reason">Give a reason and click a colour</textarea>
<br />
<button class="red"></button>
<button class="orange"></button>
<button class="green"></button>
</div>
<h4>Exits</h4>
<button id="exitdefine">Create exit</button> or
<select id="exitlist">
<option value="none" selected>select a exit</option>
</select>
<div id="exitoptions" class="options">
<input type="hidden" id="exitid" />
<button class="zoom">Zoom to</button>
<button class="pan">Pan to</button>
<button class="edit">Edit</button>
<button class="rename">Rename</button>
<button class="remove">Delete</button>
<button class="link">Link</button>
<br />
<textarea class="reason">Give a reason and click a colour</textarea>
<br />
<button class="red"></button>
<button class="orange"></button>
<button class="green"></button>
</div>
<h4>Other</h4>
<button id="orphan">Find Orphaned Exit</button>
</div>
</div>
</div>
</body>
</html>