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

« back to all changes in this revision

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

Implement ToS acceptance in the new login machinery. Now implemented through
the usual ToS view, giving it an extra mode for when the user is invalid.

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