Chetan Mehrotra | 58a0df6 | 2013-07-22 06:58:03 +0000 | [diff] [blame] | 1 | <script type="text/javascript" src="${pluginRoot}/res/ui/codemirror/lib/codemirror.js"></script> |
| 2 | <script type="text/javascript" src="${pluginRoot}/res/ui/codemirror/addon/runmode/runmode.js"></script> |
| 3 | <script type="text/javascript" src="${pluginRoot}/res/ui/codemirror/addon/mode/loadmode.js"></script> |
| 4 | <script type="text/javascript" src="${pluginRoot}/res/ui/script-console.js"></script> |
| 5 | <script type="text/javascript"> |
| 6 | // <![CDATA[ |
| 7 | var scriptConfig = ${__scriptConfig__}; |
| 8 | // ]]> |
| 9 | </script> |
| 10 | |
| 11 | <!-- status line --> |
| 12 | <p class="statline"> </p> |
| 13 | <div class="ui-widget-header "> |
| 14 | <img id="ajaxSpinner" src="${appRoot}/res/imgs/loading.gif" tile="Working..." /> |
| 15 | <button type="button" id="executeButton">${console.execute}</button> |
Chetan Mehrotra | 58a0df6 | 2013-07-22 06:58:03 +0000 | [diff] [blame] | 16 | <select id="codeLang"> |
| 17 | <option></option> |
| 18 | </select> |
| 19 | </div> |
| 20 | <div id="splitter" > |
| 21 | <div id="code-input"> |
| 22 | <form method="post" action="${pluginRoot}" id="consoleForm"> |
| 23 | <textarea id="code" name="code" |
| 24 | style="width: 90%; height: 7em; "></textarea> |
| 25 | <input type="hidden" name="client" value="webconsole" /> |
| 26 | <input type="hidden" name="lang" value="" /> |
| 27 | </form> |
| 28 | </div> |
| 29 | <div id="code-output"> |
Chetan Mehrotra | 283b811 | 2015-11-30 09:58:32 +0000 | [diff] [blame^] | 30 | <textarea id="result" style="width: 90%;" readonly></textarea> |
Chetan Mehrotra | 58a0df6 | 2013-07-22 06:58:03 +0000 | [diff] [blame] | 31 | </div> |
| 32 | </div> |
| 33 | |