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

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<html xmlns="http://www.w3.org/1999/xhtml"
     xmlns:py="http://genshi.edgewall.org/">
  <head>
    <title>Test - ${exercise.name}</title>
    <!-- These let the javascript know which worksheet is open -->
    <script type="text/javascript">
      worksheet = null;
      exercise = '${exercise.id}';
    </script>
  </head>
  <body>
    <h1>${exercise.name}</h1>
    <div id="ivle_padding">
      <p>
        You may test this exercise here. Submission results will not be recorded as they would be in a worksheet.
        <a py:if="'edit' in exercise.get_permissions(req.user)"
           href="${req.publisher.generate(exercise, ExerciseEditView)}">
         (edit this exercise)
        </a>
      </p>
      ${exercise_fragment}
    </div>
  </body>
</html>