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

« back to all changes in this revision

Viewing changes to www/apps/tutorial/toplevel.html

  • Committer: William Grant
  • Date: 2009-02-23 23:47:02 UTC
  • mfrom: (1099.1.211 new-dispatch)
  • Revision ID: grantw@unimelb.edu.au-20090223234702-db4b1llly46ignwo
Merge from lp:~ivle-dev/ivle/new-dispatch.

Pretty much everything changes. Reread the setup docs. Backup your databases.
Every file is now in a different installed location, the configuration system
is rewritten, the dispatch system is rewritten, URLs are different, the
database is different, worksheets and exercises are no longer on the
filesystem, we use a templating engine, jail service protocols are rewritten,
we don't repeat ourselves, we have authorization rewritten, phpBB is gone,
and probably lots of other things that I cannot remember.

This is certainly the biggest commit I have ever made, and hopefully
the largest I ever will.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<html xmlns="http://www.w3.org/1999/xhtml"
2
 
      xmlns:xi="http://www.w3.org/2001/XInclude"
3
 
      xmlns:py="http://genshi.edgewall.org/" py:strip="">
4
 
  <head foo="bar" py:strip="">
5
 
    <title>Tutorial - Top Level</title>
6
 
  </head>
7
 
  <body class="innerbody" py:strip="">
8
 
    <div id="ivle_padding">
9
 
      <h1>IVLE Tutorials</h1>
10
 
      <p>
11
 
        Welcome to the IVLE tutorial system.
12
 
  Please select a subject from the list below to select a worksheet
13
 
  for that subject.
14
 
      </p>
15
 
      <h2>Subjects</h2>
16
 
      <ul>
17
 
        <py:for each="subject in enrolled_subjects">
18
 
          <li>
19
 
            <a href="${subject.code}">${subject.name}</a>
20
 
          </li>
21
 
        </py:for>
22
 
      </ul>
23
 
      <py:if test="len(unenrolled_subjects) > 0">
24
 
        <h3>Other Subjects</h3>
25
 
        <p>
26
 
          You are not currently enrolled in these subjects.
27
 
           Your marks will not be counted.
28
 
        </p>
29
 
        <ul>
30
 
          <py:for each="subject in unenrolled_subjects">
31
 
            <li>
32
 
              <a href="${subject.code}">${subject.name}</a>
33
 
            </li>
34
 
          </py:for>
35
 
        </ul>
36
 
      </py:if>
37
 
    </div>
38
 
  </body>
39
 
</html>