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

« back to all changes in this revision

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

  • Committer: William Grant
  • Date: 2009-03-25 11:25:11 UTC
  • Revision ID: grantw@unimelb.edu.au-20090325112511-vmrk9h2kmy9dupqo
Replace all uses of .textContent with .nodeValue.

.nodeValue is more correct (we don't actually want to accidentally be
silently clobbering all children), and .textContent is DOM Level 3,
which is like so only 5 years ago, which means IE8 doesn't support it.

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 id="console_body" py:attrs="start_body_attrs">
 
7
      <h1 py:if="not windowpane">Python Console</h1>
 
8
      <div id="console_heading" py:if="windowpane">Python Console
 
9
        <span class="console_button minimize">
 
10
          <a onclick="console_minimize()"
 
11
              title="Minimize the Python console">
 
12
            <img src="${minimize_path}" alt="Minimize" />
 
13
          </a>
 
14
        </span>
 
15
      </div>
 
16
      <div id="console_body2">
 
17
        <pre id="console_output" class='outputMsg'></pre>
 
18
        <div id="console_input">
 
19
          <div id="console_inputArea">
 
20
          </div>
 
21
          <label id="console_prompt">&gt;&gt;&gt; </label>
 
22
          <input id="console_inputText" type="text" size="80" 
 
23
              onkeypress="return catch_input(event.keyCode)" />
 
24
          <input type='button' value='Interrupt' onclick='set_interrupt();'/>
 
25
          <input type='button' value='Clear Output' onclick='return clear_output();'/>
 
26
          <input type='button' value='Reset' onclick='console_reset();'/>
 
27
          <span py:if="windowpane" class="console_button maximize">
 
28
            <a onclick="console_maximize()"
 
29
                title="Open up the Python console">
 
30
              <img src="${maximize_path}" alt="Maximize"/>
 
31
            </a>
 
32
          </span>
 
33
        </div>
 
34
      </div>
 
35
    </div>
 
36
    <div py:if="windowpane" id="console_filler" class="windowpane minimal">
 
37
    <!-- Console filler, provides extra vertical space to stop the console
 
38
                                            covering over the bottom content -->
 
39
    </div>
 
40
  </body>
 
41
</html>