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

« back to all changes in this revision

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

Move the login machinery to the new framework.

The login page is now redirected to by the XHTML Unauthorized page, and knows
to return to the right URL when authentication succeeds. It also means that we
no longer return a 200 with login page content for a totally unrelated page...

Some of the user stuff (disabling, Tos, etc.) is now broken, and /logout moved
to /+logout.

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">Python Console<span py:if="windowpane" 
 
8
          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 id="console_inputArea">
 
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}" alt="Maximize"/>
 
30
            </a>
 
31
          </span>
 
32
        </div>
 
33
      </div>
 
34
    </div>
 
35
    <div py:if="windowpane" id="console_filler" class="windowpane minimal">
 
36
    <!-- Console filler, provides extra vertical space to stop the console
 
37
                                            covering over the bottom content -->
 
38
    </div>
 
39
  </body>
 
40
</html>