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

« back to all changes in this revision

Viewing changes to www/plugins/console/template.html

  • Committer: chadnickbok
  • Date: 2009-02-02 04:00:25 UTC
  • Revision ID: svn-v4:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:1189
Adding the changes from my genshi branch into trunk.

Most apps now use the Genshi templating engine, in preparation
for future changes to dispatch

Show diffs side-by-side

added added

removed removed

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