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

« back to all changes in this revision

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

  • Committer: chadnickbok
  • Date: 2009-01-22 02:14:14 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:1173
Fixes Issue #14

When uploading files, students will now be shown an
error message if there upload would replace already existing
files.

This upload will not be performed until it will not clobber
any old files.

Note that there is currently a way to change this behaviour in
the code in action.py, to allow files to be overwritten. However
there is no way this flag can be set through the browser interface
(yet).

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
 
      <div 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 id="console_body2">
16
 
        <pre id="console_output" class='outputMsg'></pre>
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>
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>