blob: 177c71ea43fef31a46fa35ee711d97fcfc79dc03 [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>
Chetan Mehrotra58a0df62013-07-22 06:58:03 +000016 <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 Mehrotra283b8112015-11-30 09:58:32 +000030 <textarea id="result" style="width: 90%;" readonly></textarea>
Chetan Mehrotra58a0df62013-07-22 06:58:03 +000031 </div>
32</div>
33