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

« back to all changes in this revision

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

Add an XHTMLUnauthorizedView which redirects unauthenticated users to the
login page if a page raises an Unauthorized. Alter UserSettingsView to raise
one in the right cases, for testing.

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
    <div id="ivle_padding">
 
8
      <h1>Unauthorized</h1>
 
9
      <p>You are not allowed to view this part of IVLE.</p>
 
10
    </div>
 
11
  </body>
 
12
</html>