-
Notifications
You must be signed in to change notification settings - Fork 8
/
index.html
90 lines (90 loc) · 1.64 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
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
<html>
<head>
<meta charset="utf-8">
<script src="dagre.js"></script>
<script src="nomnoml.js"></script>
<script src="fields.js"></script>
<style>
body {
white-space: nowrap;
font-family: "Courier", monospace;
}
text, path {
pointer-events: none;
}
#leftcol {
white-space: normal;
vertical-align: top;
display: inline-block;
width: 25%;
height: 100%;
padding: 0;
margin: 0;
}
#centercol {
display: inline-block;
white-space: normal;
vertical-align: top;
width: 20%;
height: 100%;
overflow-y: scroll;
}
#tealscript {
display: inline-block;
width: 100%;
height: 100%;
margin: 0;
}
#graphwrap {
display: inline-block;
white-space: normal;
vertical-align: top;
width: 55%;
height: 100%;
overflow-y: scroll;
padding: 0;
margin: 0;
}
#canvas {
border: 1px solid black;
}
.highlighted {
fill: #FFACDF !important;
}
.checked {
background-color: #FFACDF;
}
#fields {
display: none;
}
#tfields {
table-layout: fixed;
border-collapse: collapse;
display: inline-block;
margin: 0;
width: 100%;
height: 100%;
box-sizing: border-box;
padding: 20px;
}
#tfields td {
border: 1px solid black;
padding: 5px;
}
.fcell {
width: 300px;
font-size: 14px;
line-height: 20px;
}
.check-indicator {
margin: 0 5px 0 5px;
}
</style>
</head>
<body>
<div id="leftcol"><textarea id="tealscript"></textarea></div>
<div id="centercol"></div>
<div id="graphwrap"></div>
<script src="tealview.js"></script>
</body>
</html>