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

« back to all changes in this revision

Viewing changes to ivle/webapp/security/logout.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
1
<html xmlns="http://www.w3.org/1999/xhtml"
2
2
      xmlns:py="http://genshi.edgewall.org/">
3
3
  <head>
4
 
    <title>Log out</title>
 
4
    <title>Confirm logout</title>
5
5
  </head>
6
6
  <body>
7
 
    <h1>Confirm log out</h1>
8
7
    <div id="ivle_padding">
9
 
      <p>Are you sure you want to log out?</p>
10
 
      <form action="${path}" method="post">
11
 
        <p>
12
 
          <input type="submit" value="Log out" />
13
 
        </p>
14
 
      </form>
 
8
      <h3>Are you sure you want to logout?</h3>
 
9
      <p>
 
10
        <form action="${path}" method="POST">
 
11
          <input type="submit" value="Logout" />
 
12
        </form>
 
13
      </p>
15
14
    </div>
16
15
  </body>
17
16
</html>