| OLD | NEW |
| 1 | 1 |
| 2 <section id=content> | 2 <section id=content> |
| 3 <script src="/res/js/cm/codemirror.js"></script> | 3 <script src="/res/js/cm/codemirror.js"></script> |
| 4 <script src="/res/js/cm/clike.js"></script> | 4 <script src="/res/js/cm/clike.js"></script> |
| 5 | 5 |
| 6 <pre> | 6 <pre> |
| 7 <textarea spellcheck=false name='code' id='code' rows='15' cols='100'>{{.Cod
e}}</textarea> | 7 <textarea spellcheck=false name='code' id='code' rows='15' cols='100'>{{.Cod
e}}</textarea> |
| 8 </pre> | 8 </pre> |
| 9 | 9 |
| 10 <input type='button' value='Run' id='run'> | 10 <input type='button' value='Run' id='run'> |
| 11 <a href='{{if .Hash}}/c/{{.Hash}}{{end}}' target=_blank id=permalink>Share</a> | 11 <a href='{{if .Hash}}/c/{{.Hash}}{{end}}' target=_blank id=permalink>Share</a> |
| 12 | 12 |
| 13 <input type='button' value='Embed' id='embedButton' disabled/> | 13 <input type='button' value='Embed' id='embedButton' disabled/> |
| 14 <input type="text" value="" id="embed" readonly style="display:none;"> | 14 <input type="text" value="" id="embed" readonly style="display:none;"> |
| 15 | 15 |
| 16 <p> | 16 <p> |
| 17 <img class='zoom' id='img' src='{{if .Hash}}/i/{{.Hash}}.png{{end}}'/> | 17 <img touch-action='none' class='zoom' id='img' src='{{if .Hash}}/i/{{.Hash}}.
png{{end}}'/> |
| 18 </p> | 18 </p> |
| 19 <p id='zoomHex'></p> | 19 <p id='zoomHex'></p> |
| 20 | 20 |
| 21 <h2>Warnings and Errors</h2> | 21 <h2>Warnings and Errors</h2> |
| 22 <pre><code id='output'></code></pre> | 22 <pre><code id='output'></code></pre> |
| 23 <h2>Runtime output</h2> | 23 <h2>Runtime output</h2> |
| 24 <pre id='stdout'></pre> | 24 <pre id='stdout'></pre> |
| 25 | 25 |
| 26 </section> | 26 </section> |
| OLD | NEW |