1 <!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Strict//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
5 <meta http-equiv=
"content-type" content=
"text/html; charset=utf-8" />
6 <title> Interactive Shell
</title>
7 <script type=
"text/javascript" src=
"/static/shell.js"></script>
8 <style type=
"text/css">
10 font-family: monospace
;
20 border: 1px solid silver
;
21 background-color: #f5f5f5;
46 background-position: top right
;
47 background-repeat: no-repeat
;
51 background-image: url
("/static/spinner.gif");
77 <p> Interactive server-side Python shell
78 (
<a href=
"http://code.google.com/p/google-app-engine-samples/source/browse/#svn/trunk/shell">original source
</a>)
81 <a href=
"/">Return to main home
</a>
84 <textarea id=
"output" rows=
"30" readonly=
"readonly">
86 Python {{ python_version }}
89 <form id=
"form" action=
"/admin/shell/shell.do" method=
"get">
91 <textarea class=
"prompt" id=
"caret" readonly=
"readonly" rows=
"4"
92 onfocus=
"document.getElementById('statement').focus()"
93 >>>></textarea>
94 <textarea class=
"prompt" name=
"statement" id=
"statement" rows=
"4"
95 onkeypress=
"return shell.onPromptKeyPress(event);"></textarea>
97 <input type=
"hidden" name=
"session" value=
"{{ session }}" />
98 <input type=
"submit" style=
"display: none" />
101 <p id=
"ajax-status"></p>
105 <span class=
"username">{{ user.nickname }}
</span>
106 (
<a href=
"{{ logout_url }}">log out
</a>)
108 <a href=
"{{ login_url }}">log in
</a>
110 | Shift-Up/Down for history |
111 <select id=
"submit_key">
112 <option value=
"enter">Enter
</option>
113 <option value=
"ctrl-enter" selected=
"selected">Ctrl-Enter
</option>
115 <label for=
"submit_key">submits
</label>
118 <script type=
"text/javascript">
119 document
.getElementById('statement').focus();