blob: 1bb4588747d9b3719ed73bfe97a5c871fb98548e (
plain)
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
|
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Edit points</title>
<link rel="stylesheet" href="/static/leaflet.css" />
<script src="/static/leaflet.js"></script>
<script src="/static/main.js"></script>
</head>
<body>
<div id="container">
<div id="sidepanel">
<button id="shape-create" type="button">Create shape</button>
<button id="shape-delete" type="button">Delete shape</button>
<button id="shape-delete-vertex" type="button">Delete shape vertex</button>
<button id="shape-kind-unburned" type="button">Shape Unburned</button>
<button id="shape-kind-burned" type="button">Shape Burned</button>
<button id="shapes-update" type="button">Update Shapes</button>
</div>
<div id="map"></div>
</div>
</body>
<style>
body {
margin: 0;
padding: 0;
}
#container {
display: grid;
width: 100vw;
height: 100vh;
gap: 0px 0px;
grid-template-rows: 1fr;
grid-template-columns: 1fr 3fr;
grid-template-areas: "side map";
}
#sidepanel {
display: flex;
flex-direction: column;
width: 100%;
height: 100%;
grid-area: "side";
}
#map {
width: 100%;
height: 100%;
grid-area: "map";
}
img {
max-height: 100%;
max-width: 100%;
}
.image-holder {
height: 300px;
width: 300px;
}
</style>
<script>
window.addEventListener("load", () => page_shape__main())
</script>
</html>
|