-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
108 lines (102 loc) · 3.03 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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
<!DOCTYPE html>
<html>
<head>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-2LJSDH860E"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-2LJSDH860E');
</script>
<meta charset="UTF-8">
<title>sexp-trees</title>
<link rel="stylesheet" type="text/css" href="styles/bootstrap.min.css">
<link rel="stylesheet" href="https://code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css">
<link rel="stylesheet" type="text/css" href="styles/trees.css">
<script src="https://code.jquery.com/jquery-1.12.4.js"></script>
<script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
</head>
<body>
<div id="content" class="container">
<h2>View s-expressions as trees.</h2>
<div align="center">
<table id="outertable" class="noborder"><tr><td class="noborder">
<button type="button" id="editorplusbutton"
class="btn btn-xs plusminusbutton">+</button>
<br>
<button type="button" id="editorminusbutton"
class="btn btn-xs plusminusbutton">-</button>
<br>
<button type="button" id="editorrightbutton"
class="btn btn-xs plusminusbutton">></button>
<br>
<button type="button" id="editorleftbutton"
class="btn btn-xs plusminusbutton"><</button>
</td><td class="noborder">
<table id="maintable" border="1">
<tr>
<td id="maintdleft">
<pre id="editor"></pre>
<div id="undereditor">
<div id="feedback"></div>
</div>
</td>
<td id="maintdright" class="noborder">
<table class="noborder">
<tr>
<td class="noborder">
<canvas id="astcanvas" width="0" height="0">
</canvas>
</td>
</tr>
<tr>
<td class="noborder">
<b>Scale</b>
<button type="button"
id="astminusbutton"
class="btn btn-xs plusminusbutton
nomarginpadding">
<u>-</u></button>
<button type="button"
id="astplusbutton"
class="btn btn-xs plusminusbutton
nomarginpadding">
<u>+</u></button>
(or scroll wheel)
<b>Move</b>
<button type="button"
id="astleftbutton"
class="btn btn-xs
nomarginpadding">
left</button>
<button type="button"
id="astrightbutton"
class="btn btn-xs
nomarginpadding">
right</button>
<button type="button"
id="astdownbutton"
class="btn btn-xs
nomarginpadding">
down</button>
<button type="button"
id="astupbutton"
class="btn btn-xs
nomarginpadding">
up</button>
(or arrow keys / mouse drag)
</td>
</tr>
</table>
</div>
<script src="ace/ace.js" type="text/javascript" charset="utf-8"></script>
<script src="scripts/bundle.js"></script>
<footer>
<!-- <em> -->
<!-- <a href="about.html">About</a> -->
<!-- </em> -->
</footer>
</div>
</body>
</html>