summaryrefslogtreecommitdiff
path: root/trypandoc
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-06-02 12:08:03 +0200
committerJohn MacFarlane <jgm@berkeley.edu>2015-06-02 12:08:03 +0200
commit1ebfa6bb84e2c1df43d2e41a549ee931e6b25a90 (patch)
tree6d5ae34a1137e97ad6eb628e37afe5f243f60133 /trypandoc
parenta367107483439ac9d24926115845184d55c02860 (diff)
trypandoc: move Convert button, display raw command.
Diffstat (limited to 'trypandoc')
-rw-r--r--trypandoc/index.html12
1 files changed, 9 insertions, 3 deletions
diff --git a/trypandoc/index.html b/trypandoc/index.html
index 6d781971e..63c1f730c 100644
--- a/trypandoc/index.html
+++ b/trypandoc/index.html
@@ -43,6 +43,7 @@ $(document).ready(function() {
$("#to").val(to);
if (text && text != "") {
$.getJSON("http://johnmacfarlane.net/cgi-bin/trypandoc", { from: from, to: to, text: text }, process);
+ $("#command").text("pandoc --from " + from + " --to " + to);
};
$("#convert").click(newpage);
});
@@ -62,10 +63,17 @@ $(document).ready(function() {
<body>
<div class="container">
<div class="row">
- <h1>Try <a href="http://johnmacfarlane.net/pandoc/">pandoc</a>!</h1>
+ <div class="col-md-6">
+ <h1>Try <a href="http://johnmacfarlane.net/pandoc/">pandoc</a>!</h1>
+ </div>
+ <div class="col-md-6">
+ <pre id="command"></pre>
+ </div>
</div>
<div class="row">
<div class="col-md-6">
+ <button class="btn btn-primary btn-xs" id="convert">Convert</button>
+ &nbsp;
<label for="from">
from
</label>
@@ -122,8 +130,6 @@ $(document).ready(function() {
<option value="S5">S5</option>
<option value="slideous">Slideous</option>
</select>
- &nbsp;
- <button class="btn btn-primary btn-xs" id="convert">Convert</button>
<br/>
<pre id="results"></pre>
</div>