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

« back to all changes in this revision

Viewing changes to ivle/webapp/tutorial/subjectmenu.html

ivle.webapp.tutorial: Port www/apps/tutorial to new framework.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<html xmlns="http://www.w3.org/1999/xhtml"
2
2
      xmlns:xi="http://www.w3.org/2001/XInclude"
3
3
      xmlns:py="http://genshi.edgewall.org/" py:strip="">
4
 
  <head foo="bar" py:strip="">
 
4
  <head>
5
5
    <title>Tutorial - Subject Menu</title>
6
6
  </head>
7
 
  <body class="innerbody" py:strip="">
8
 
  
 
7
  <body>
9
8
    <div id="ivle_padding">
10
9
      <h1>IVLE Tutorials - ${subject}</h1>
11
10
      <h2>Worksheets</h2>
12
11
      <ul id="tutorial-toc">
13
12
        <py:for each="worksheet in worksheets">
14
13
          <li>
15
 
            <a href="${worksheet.id}">${worksheet.name}</a>
 
14
            <!-- XXX: Generate URL properly! -->
 
15
            <a href="/subjects/${subject}/+worksheets/${worksheet.id}">${worksheet.name}</a>
16
16
            <py:if test="worksheet.assessable">
17
17
              <ul>
18
18
                <li class="${worksheet.complete_class}">