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 for
78
<a href="http://code.google.com/appengine/">Google App Engine</a>.
79
(<a href="http://code.google.com/p/google-app-engine-samples/">source</a>)
82
<textarea id="output" rows="22" readonly="readonly">
84
Python {{ python_version }}
87
<form id="form" action="shell.do" method="get">
89
<textarea class="prompt" id="caret" readonly="readonly" rows="4"
90
onfocus="document.getElementById('statement').focus()"
91
>>>></textarea>
92
<textarea class="prompt" name="statement" id="statement" rows="4"
93
onkeypress="return shell.onPromptKeyPress(event);"></textarea>
95
<input type="hidden" name="session" value="{{ session }}" />
96
<input type="submit" style="display: none" />
99
<p id="ajax-status"></p>
103
<span class="username">{{ user.nickname }}</span>
104
(<a href="{{ logout_url }}">log out</a>)
106
<a href="{{ login_url }}">log in</a>
108
| Ctrl-Up/Down for history |
109
<select id="submit_key">
110
<option value="enter">Enter</option>
111
<option value="ctrl-enter" selected="selected">Ctrl-Enter</option>
113
<label for="submit_key">submits</label>
116
<script type="text/javascript">
117
document.getElementById('statement').focus();