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

« back to all changes in this revision

Viewing changes to subjects/sample/ws1.xml

  • Committer: mattgiuca
  • Date: 2008-01-12 12:41:39 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:196
Added application icons, displayed in the tabs at the top of the IVLE page.
conf.apps: Added a new optional property "icon" to the App class.
    All the apps with tabs now have an icon set.
Added directory: media/images/apps, containing PNG icons (from Nuvola) for
    each of the 5 apps.
dispatch.html: Reads the icon property and writes <img> tags into the tabs,
    displaying the icons.

On a personal note, this looks really awesome! It was a complete accident that
the icons pop up out of the top of the tabs, but I love the look of it.

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
 
    <problem src="sample/hello.xml" />
16
 
    <p>The next problem is a bit harder. It requires you to manipulate
17
 
    several files.</p>
18
 
    <problem src="sample/all_input.xml" />
19
 
    <p>Now functions can be used to compute values.</p>
20
 
    <problem src="sample/fib.xml" />
21
 
</worksheet>