-
Notifications
You must be signed in to change notification settings - Fork 4
/
index.html
58 lines (51 loc) · 1.44 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
53
54
55
56
57
58
<html>
<head>
<title>Vue Sequence Demo</title>
<style>
.gutter {
background-color: #eee;
background-repeat: no-repeat;
background-position: 50%;
}
.gutter.gutter-vertical {
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAFAQMAAABo7865AAAABlBMVEVHcEzMzMzyAv2sAAAAAXRSTlMAQObYZgAAABBJREFUeF5jOAMEEAIEEFwAn3kMwcB6I2AAAAAASUVORK5CYII=')
}
.gutter.gutter-horizontal {
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAeCAYAAADkftS9AAAAIklEQVQoU2M4c+bMfxAGAgYYmwGrIIiDjrELjpo5aiZeMwF+yNnOs5KSvgAAAABJRU5ErkJggg==');
cursor: ew-resize;
}
.split, .gutter.gutter-horizontal {
float: left;
}
.split, .gutter.gutter-horizontal {
height: 100%;
}
.split {
overflow-y: auto;
overflow-x: auto;
}
.container {
width: 100%;
height: 100%;
}
</style>
</head>
<body>
<div id="workspace" class="container">
<div id="editor" class="split">
<editor></editor>
</div>
<div id="diagram" class="split">
<seq-diagram></seq-diagram>
</div>
</div>
<script>
function render() {
Split(['#editor', '#diagram'], { sizes: [25, 75] })
}
document.addEventListener("DOMContentLoaded", function(event) {
render()
});
</script>
</body>
</html>