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

« back to all changes in this revision

Viewing changes to ivle/webapp/tutorial/templates/exercises.html

  • Committer: William Grant
  • Date: 2009-03-17 04:48:07 UTC
  • mfrom: (1099.1.243 exercise-ui)
  • Revision ID: grantw@unimelb.edu.au-20090317044807-pozdt54fapazp2sp
Merge lp:~ivle-dev/ivle/exercise-ui.

Lecturers can now add and edit exercises, and worksheets can be written
in RST directly inside IVLE.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<html xmlns="http://www.w3.org/1999/xhtml"
 
2
      xmlns:py="http://genshi.edgewall.org/">
 
3
  <head>
 
4
    <title>Exercises</title>
 
5
    <!-- These let the javascript know which worksheet is open -->
 
6
    <script type="text/javascript">
 
7
    </script>
 
8
  </head>
 
9
  <body>
 
10
    <h1>Exercises</h1>
 
11
    <div id="ivle_padding">
 
12
    <a href="/+exercises/+add"><h3>Add a New Exercise</h3></a>
 
13
    <ul>
 
14
      <py:for each="exercise in exercises">
 
15
        <li class="exercise_names">
 
16
          <div><a href="/+exercises/${exercise.id}/+delete"><img src="${mediapath}cross.png"/></a> <a class="exercise_header" href="/+exercises/${exercise.id}/+edit">${exercise.id}</a></div>${exercise.name}
 
17
        </li>
 
18
        <br />
 
19
      </py:for>
 
20
    </ul>
 
21
    </div>
 
22
  </body>
 
23
</html>