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> |
| 16 | <button type="button" id="langButton">${console.lang}</button> |
| 17 | <select id="codeLang"> |
| 18 | <option></option> |
| 19 | </select> |
| 20 | </div> |
| 21 | <div id="splitter" > |
| 22 | <div id="code-input"> |
| 23 | <form method="post" action="${pluginRoot}" id="consoleForm"> |
| 24 | <textarea id="code" name="code" |
| 25 | style="width: 90%; height: 7em; "></textarea> |
| 26 | <input type="hidden" name="client" value="webconsole" /> |
| 27 | <input type="hidden" name="lang" value="" /> |
| 28 | </form> |
| 29 | </div> |
| 30 | <div id="code-output"> |
| 31 | <textarea id="result" style="width: 90%;" readonly="yes"></textarea> |
| 32 | </div> |
| 33 | </div> |
| 34 | |