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

« back to all changes in this revision

Viewing changes to subjects/sample/ws1.xml

  • Committer: Matt Giuca
  • Date: 2010-02-12 03:33:38 UTC
  • Revision ID: matt.giuca@gmail.com-20100212033338-z5sc1gh7ea3y30vx
Tutors can now (once again) edit worksheets.
database: Created a new capability, 'edit_worksheets', which is set for tutors
    and above.
    The 'edit' capability for worksheets is now derived from the
    'edit_worksheets' capability in the offering, rather than 'edit'.
All checks to do with creating or editing worksheets (in general, not specific
ones) check 'edit_worksheets'. Checks specific to a worksheet still check the
'edit' capability, on the worksheet itself.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<worksheet name="Worksheet 1">
 
2
    <p>This is a sample worksheet, to demonstrate the authoring of worksheets
 
3
        in IVLE.</p>
 
4
    <p>You can use <b>any HTML markup</b> that you like.</p>
 
5
    <ul>
 
6
      <li>Such</li>
 
7
      <li>as</li>
 
8
      <li>lists.</li>
 
9
    </ul>
 
10
    <hr />
 
11
    <p>Welcome to your first worksheet.</p>
 
12
    <p><small>You can give students lessons in between problems.</small></p>
 
13
    <p>The Python <code>print</code> statement can be used to write text
 
14
    to the screen. Try it in this exercise.</p>
 
15
    <exercise src="sample/hello.xml" />
 
16
    <p>The next problem is a bit harder. It requires you to manipulate
 
17
    several files.</p>
 
18
    <exercise src="sample/all_input.xml" />
 
19
    <p>Now functions can be used to compute values.  This one will be recursive.</p>
 
20
    <exercise src="sample/fib.xml" />
 
21
</worksheet>