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

« back to all changes in this revision

Viewing changes to ivle/webapp/base/xhtmlunauthorized.html

  • Committer: mattgiuca
  • Date: 2008-07-27 12:24:52 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:956
interpret.py: Fixed error reporting for server errors.
    Previously if gentle==False, just raises the current error - that tells us
    the symptom, not the cause (some random ValueError).
    Now allows the printout to go ahead (as it does for student code), but
    gives a banner heading which explains that a server error occured, to
    differentiate it from student code.
* This allows us to actually read tracebacks which bounce out of the jail.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<html xmlns="http://www.w3.org/1999/xhtml"
2
 
      xmlns:py="http://genshi.edgewall.org/">
3
 
  <head>
4
 
    <title>Unauthorized</title>
5
 
  </head>
6
 
  <body>
7
 
    <h1>Unauthorized</h1>
8
 
    <div id="ivle_padding">
9
 
      <p>You are not allowed to view this part of IVLE.</p>
10
 
    </div>
11
 
  </body>
12
 
</html>