blob: 9c03db57f4a9c52ec3b1c8840839b40213356ba8 [file] [log] [blame]
Chetan Mehrotra58a0df62013-07-22 06:58:03 +00001<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[
7var scriptConfig = ${__scriptConfig__};
8// ]]>
9</script>
10
11<!-- status line -->
12<p class="statline">&nbsp;</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