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

« back to all changes in this revision

Viewing changes to ivle/webapp/tos/accept.html

  • Committer: mattgiuca
  • Date: 2008-02-19 08:26:11 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:509
common.db: Rewrote user_authenticate to return 3 values (True, false, None)
    Now returns False if the password did not match, None if the password
    field is NULL (None implying a soft failure, with the possibility of
    validating against LDAP or something else).

auth.authenticate: Rewrote this module with a new plugin interface
    (as discussed with Tom Conway). Allows successive modules to try to
    authenticate the user.
    Changed the authenticate function interface: Now raises an AuthError
    when auth fails, instead of returning None.

dispatch.login: Handle new auth interface (exception catch).
    Auth is now able to provide an error message, in the exception.
    The exception message is displayed as an error to the user.

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>