diff options
| author | Marshall Lochbaum <mwlochbaum@gmail.com> | 2020-11-01 11:45:48 -0500 |
|---|---|---|
| committer | Marshall Lochbaum <mwlochbaum@gmail.com> | 2020-11-01 12:15:16 -0500 |
| commit | b97c48f25134a558cdce8222d7ecebf836ddb696 (patch) | |
| tree | 67bb9178c7b7004187c182c36c55168228929cbd /docs/try.html | |
| parent | 5e0a7f0c9a0dc45f6b6c3df15025e865926c86cf (diff) | |
Add button to enable expression explanation in REPL page
Diffstat (limited to 'docs/try.html')
| -rw-r--r-- | docs/try.html | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/docs/try.html b/docs/try.html index aa0032ec..13b5172f 100644 --- a/docs/try.html +++ b/docs/try.html @@ -8,8 +8,9 @@ <style> li { margin:0.7em 0; } textarea { padding:0.2em; } - .perm, .count { font-size:0.7em; margin:-0.2em 1.6em 0 0; } - .run, .perm { float:right; } + .perm, .count { font-size:0.7em; margin:-0.2em 0.8em 0 0; } + .run, .doexplain, .perm { float:right; margin-left:0.4em; } + .doexplain.selected { background:#777; } .count { float:left; opacity:0.6; } .rslt { border:none; background:none; min-height:8em; } </style> @@ -21,8 +22,10 @@ <textarea class="code" rows="8" autofocus></textarea> <div class="count"></div> <input class="run" type="submit" value="Run (or shift-enter)"/> + <input class="doexplain" type="button" value="Explain"/> <a class="perm" href="#" title="Link with the code above embedded">permalink</a> </div> + <div class="explain"></div> <pre class="rslt"></pre> <p> Notes: |
