Skip to content

Commit 14486bd

Browse files
committed
add links to UI
1 parent e927811 commit 14486bd

File tree

1 file changed

+27
-1
lines changed

1 file changed

+27
-1
lines changed

www/disco-live.html

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,22 @@
2222
#name { font-size: 200%;}
2323
#title img { width: 30px; margin-bottom:-5px;}
2424

25+
#links {
26+
margin-left: 10px;
27+
padding: 6px;
28+
}
29+
30+
#links ul {
31+
margin: 0;
32+
padding: 0;
33+
list-style-type: none;
34+
}
35+
36+
#links ul li {
37+
display: inline;
38+
margin-left: 10px;
39+
}
40+
2541
#editor {
2642
width: 100%;
2743
resize: scroll;
@@ -61,6 +77,16 @@
6177
<span id="name">Disco</span>
6278
<span>&nbsp; Functional programming for discrete math.</span>
6379
</div>
80+
<div id="links">
81+
<ul>
82+
<li><a href="help.html">Help</a></li>
83+
<li><a href="https://disco-lang.readthedocs.io/en/latest/introduction/index.html">Gentle Introduction</a></li>
84+
<li><a href="https://disco-lang.readthedocs.io/en/latest/reference/index.html">Language Reference</a></li>
85+
<li><a href="https://disco-lang.readthedocs.io/en/latest/reference/errors.html">Error Messages</a></li>
86+
<li><a href="https://disco-lang.readthedocs.io/en/latest/reference/symbols.html">Symbols</a></li>
87+
<li><a href="https://github.com/disco-lang/disco/blob/main/README.md">GitHub</a></li>
88+
</ul>
89+
</div>
6490
<div id="wrap">
6591
<div id="left">
6692
<label for="editor">File <code>disco-live.disco</code>:</label>
@@ -80,7 +106,7 @@
80106
<div id="right">
81107
<label for="out">Interpreter history:</label>
82108
<div id="out"></div>
83-
<label for="expr">Command:</label>
109+
<label for="expr">Input:</label>
84110
<input type="text" id="expr" value="1 + 2"/>
85111
<input type="button" id="eval" value="Evaluate (↩︎)"/>
86112
</div>

0 commit comments

Comments
 (0)