~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to ivle/webapp/console/overlay.html

  • Committer: David Coles
  • Date: 2010-07-27 04:52:14 UTC
  • Revision ID: coles.david@gmail.com-20100727045214-p32h1kc0gcv48dpr
Worksheets: Strip off whitespace from the end of exercise attempts.

This solves an issue where accidental whitespace in an attempt will cause 
"IndentationError" syntax error (which don't occur when run in console).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<html xmlns="http://www.w3.org/1999/xhtml"
 
2
      xmlns:xi="http://www.w3.org/2001/XInclude"
 
3
      xmlns:py="http://genshi.edgewall.org/" py:strip="">
 
4
      
 
5
  <body py:strip="">
 
6
    <div class="console_body" id="console_body" py:attrs="start_body_attrs">
 
7
      <div class="console_heading" id="console_heading" py:if="windowpane">Python Console
 
8
        <span class="console_button minimize">
 
9
          <a onclick="console_minimize()"
 
10
              title="Minimize the Python console">
 
11
            <img src="${minimize_path}" alt="Minimize" />
 
12
          </a>
 
13
        </span>
 
14
      </div>
 
15
      <div class="console_body2">
 
16
        <pre class="console_output outputMsg" id="console_output"></pre>
 
17
        <div class="console_input">
 
18
          <div>
 
19
            <div>
 
20
              <label class="console_prompt" id="console_prompt">&gt;&gt;&gt; </label>
 
21
            </div>
 
22
            <div class="console_inputCell">
 
23
              <input class="console_inputText" id="console_inputText" type="text" 
 
24
                  onkeydown="return catch_input(event.keyCode)" />
 
25
            </div>
 
26
            <div>
 
27
              <input type='button' value='Interrupt'
 
28
                  onclick='set_interrupt();'/>
 
29
              <input type='button' value='Clear Output'
 
30
                  onclick='return clear_output();'/>
 
31
              <input type='button' value='Reset'
 
32
                  onclick='console_reset();'/>
 
33
            </div>
 
34
            <div py:if="windowpane" class="console_button maximize">
 
35
              <a onclick="console_maximize()"
 
36
                  title="Open up the Python console">
 
37
                <img src="${maximize_path}" alt="Maximize"/>
 
38
              </a>
 
39
            </div>
 
40
          </div>
 
41
        </div>
 
42
      </div>
 
43
    </div>
 
44
    <div py:if="windowpane" id="console_filler" class="windowpane minimal">
 
45
    <!-- Console filler, provides extra vertical space to stop the console
 
46
                                            covering over the bottom content -->
 
47
    </div>
 
48
  </body>
 
49
</html>