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

« back to all changes in this revision

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

  • Committer: chadnickbok
  • Date: 2009-02-02 04:00:25 UTC
  • Revision ID: svn-v4:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:1189
Adding the changes from my genshi branch into trunk.

Most apps now use the Genshi templating engine, in preparation
for future changes to dispatch

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>