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

« back to all changes in this revision

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

  • Committer: mattgiuca
  • Date: 2008-01-31 01:44:30 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:345
Global CSS change: ivlebody no longer has 1em of padding (it has none).
This is because most apps were disabling it (and it had to change anyway for
other reasons -- see below).

Hence, all apps which WERE disabling the padding have had that removed, and
just work by default. (console, browser, tutorial)
All apps which WEREN'T disabling the padding (very few) now have to manually
include an extra div. This has been done on all such apps, and has been
heavily documented (both in the CSS file and doc/app_howto). (help, dummy,
debuginfo).

media/common/ivle.css: 
    The real change here (which isn't yet being used) is that ivlebody is now
    positioned absolutely and takes up all the space on the canvas. This is
    to be used for full-page layouts in console and browser.

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>