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

« back to all changes in this revision

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

Improve the worksheet/exercise authoring experience a little.

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
  <body>
10
10
    <h1>Exercises</h1>
11
11
    <div id="ivle_padding">
12
 
    <a href="/+exercises/+add"><h3>Add a New Exercise</h3></a>
13
12
    <ul>
14
13
      <py:for each="exercise in exercises">
15
14
        <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}
 
15
          <div><a class="exercise_header" href="${req.publisher.generate(exercise)}">${exercise.id}</a></div>${exercise.name}
17
16
        </li>
18
 
        <br />
19
17
      </py:for>
20
18
    </ul>
 
19
    <a class="addaction" href="/+exercises/+add">Create an exercise</a>
21
20
    </div>
22
21
  </body>
23
22
</html>