-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
52 lines (51 loc) · 1.51 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Sigma example template</title>
</head>
<body>
<style>
html,
body,
#sigma-container {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
overflow: hidden;
}
#clustersLayer {
width: 100%;
height: 100%;
position: absolute;
}
.clusterLabel {
position: absolute;
transform: translate(-50%, -50%);
font-family: sans-serif;
font-variant: small-caps;
font-weight: 400;
font-size: 1.8rem;
text-shadow: 2px 2px 1px white, -2px -2px 1px white, -2px 2px 1px white, 2px -2px 1px white;
}
</style>
<div style="display: grid; height: 100%; grid-template-columns: 70% 1fr;">
<div id="sigma-container"></div>
<div style="display: grid; grid-template-rows: 25% 1fr 3fr;">
<div id="legend" style="display: grid; grid-template-columns: 1fr 1fr;">
</div>
<div>
<textarea id="layers" style="width: 100%; height: 85%;">
</textarea>
<button id="apply">Apply</button>
</div>
<textarea id="output" style="width: 100%; height: 100%;">
</textarea>
</div>
</div>
<script src="build/bundle.js"></script>
</body>
</html>