-
Notifications
You must be signed in to change notification settings - Fork 37
/
editor-map.html
98 lines (94 loc) · 2.4 KB
/
editor-map.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
<!DOCTYPE HTML>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<title></title>
<link rel="stylesheet" type="text/css" href="../shared/css/editor.css"/>
<script type="text/javascript" src="../../butter/src/eventeditor/butter.editors.js"></script>
<script type="text/javascript" src="../shared/js/editor-state.js"></script>
<style>
#map {
height: 300px;
}
</style>
</head>
<body>
<table class="form">
<tbody class="form-header">
<tr><th colspan="2">Time</th></tr>
</tbody>
<tbody>
<tr>
<th><label for="start">From:</label></th>
<td><input type="text" id="start"/></td>
</tr>
<tr>
<th><label for="end">To:</label></th>
<td><input type="text" id="end"/></td>
</tr>
</tbody>
<tbody class="form-header">
<tr><th colspan="2">Content</th></tr>
</tbody>
<tbody>
<tr>
<th><label for="title">Title:</label></th>
<td><input type="text" id="title"/></td>
</tr>
<tr>
<th><label for="link">Link:</label></th>
<td><input type="text" id="link"/></td>
</tr>
</tbody>
<tbody class="form-header">
<tr><th colspan="2">Location</th></tr>
</tbody>
<tbody>
<tr>
<th><label for="address">Address:</label></th>
<td><input type="text" id="address"/></td>
</tr>
<tr>
<th><label for="lat">Latitude:</label></th>
<td><input type="text" id="lat"/></td>
</tr>
<tr>
<th><label for="lng">Longitude:</label></th>
<td><input type="text" id="lng"/></td>
</tr>
<tr>
<th><label>Map:</label></th>
<td><div id="map"></div></td>
</tr>
</tbody>
<!--
<tbody class="form-header">
<tr><th colspan="2">Position</th></tr>
</tbody>
<tbody>
<tr>
<th><label for="left">Left (%):</label></th>
<td><input type="text" id="left"/></td>
</tr>
<tr>
<th><label for="top">Top (%):</label></th>
<td><input type="text" id="top"/></td>
</tr>
</tbody>
-->
<tbody id="target-section">
<tr>
<th><label for="target">Target:</label></th>
<td><select id="target"></select></td>
</tr>
</tbody>
</table>
<div id="control-buttons">
<input type="button" value="Undo" id="undo"/>
<input type="button" value="Cancel" id="cancel"/>
<input type="button" value="Delete" id="delete"/>
<input type="button" value="OK" id="ok"/>
</div>
<script type="text/javascript" src="editor.js"></script>
</body>
</html>