~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-04-16 16:18:58 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:734
tutorial: BEHAVIOUR CHANGE
    Now assessable="true" is an attribute of the <worksheet> element of the
    subject.xml file, NOT the worksheet XML file!

    Reason: This allows you to quickly see at a glance for your subject which
    worksheets are assessable, all in the one place.
    Also, the worksheet XML files are being auto-generated and it's much
    easier to set the assessability in the subject XML file.
    Also, the subject XML file is under control of the subject coordinator,
    while the worksheet files may be written by other people.
    All around a Good Decision(TM).

This involved:
* No longer reads "assessable" in present_worksheet.
* Now the Worksheet class has an assessable attribute.
* In present_subject, every time it runs, it will check the assessable
  attribute of each worksheet against the DB to see if it has changed, and if
  so, it will update the db. It DOES NOT update the mtime in the DB when it
  does this (to make sure the worksheet XML still has a chance to update the
  DB).

All above claims are tested and work.

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>