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

« back to all changes in this revision

Viewing changes to ivle/webapp/tos/accept.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>Terms of Service</title>
5
 
  </head>
6
 
  <body>
7
 
    <h1>Terms of Service</h1>
8
 
    <div id="ivle_padding">
9
 
      <p>Welcome, <strong>${user.fullname}</strong>.</p>
10
 
      <p>
11
 
        As this is the first time you have logged into IVLE, you are required to
12
 
        accept these Terms of Service before using the system.
13
 
      </p>
14
 
      <p>You may re-read these terms at any time from the "Help" menu.</p>
15
 
      <hr />
16
 
      <div py:replace="Markup(text)" />
17
 
      <hr />
18
 
      <div id="tos_acceptbuttons">
19
 
        <p>
20
 
          Please click "I Accept" to indicate that you have read and understand
21
 
          these terms, or click "I Decline" to log out of IVLE.
22
 
        </p>
23
 
        <p>
24
 
          <input type="button" value="I Accept" onclick="accept_license()" />
25
 
          <input type="button" value="I Decline" onclick="decline_license()" />
26
 
        </p>
27
 
      </div>
28
 
    </div>
29
 
  </body>
30
 
</html>