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

1099.1.197 by Nick Chadwick
Modified worksheets edit view, so now there are links to edit, add,
1
<html xmlns="http://www.w3.org/1999/xhtml"
2
      xmlns:py="http://genshi.edgewall.org/">
3
  <head>
1099.1.207 by William Grant
Replace most of the tutorial headings and titles.
4
    <title>Edit Worksheets - ${subject.name}</title>
1099.1.197 by Nick Chadwick
Modified worksheets edit view, so now there are links to edit, add,
5
    <!-- These let the javascript know which worksheet is open -->
6
    <script type="text/javascript">
1135 by William Grant
Subject URLs now contain the short name (eg. info1) rather than the code
7
        subject = "${subject.short_name}";
1099.1.197 by Nick Chadwick
Modified worksheets edit view, so now there are links to edit, add,
8
        year = "${year}";
9
        semester = "${semester}";
10
    </script>
11
  </head>
12
  <body>
1100.1.24 by Matt Giuca
(almost) all HTML pages updated: Moved <h1>s outside of the ivle-padding div.
13
    <h1>Editing worksheets for ${subject.name}</h1>
1099.1.197 by Nick Chadwick
Modified worksheets edit view, so now there are links to edit, add,
14
    <div id="ivle_padding">
15
      <table id='worksheets_table'>
1099.1.199 by William Grant
Move WorksheetAddView to +new (was +add), and clean it up a bit.
16
        <tr><th>Name</th><th>Actions</th></tr>
1099.1.197 by Nick Chadwick
Modified worksheets edit view, so now there are links to edit, add,
17
      <py:for each="worksheet in worksheets">
18
          <tr id='${worksheet.identifier}'>
1099.1.199 by William Grant
Move WorksheetAddView to +new (was +add), and clean it up a bit.
19
            <td><a href="${worksheet.identifier}/">${worksheet.name}</a></td>
1099.1.197 by Nick Chadwick
Modified worksheets edit view, so now there are links to edit, add,
20
            <td>
1099.1.199 by William Grant
Move WorksheetAddView to +new (was +add), and clean it up a bit.
21
              <a href='${worksheet.identifier}/+edit' title='Edit'><img src="${mediapath + 'pencil.png'}" alt="Edit" /></a>
22
              <a title="Move Up" onclick="move_up('${worksheet.identifier}')"><img src="${mediapath + 'up.png'}" alt="Up" /></a>
23
              <a title="Move Down" onclick="move_down('${worksheet.identifier}')"><img src="${mediapath + 'down.png'}" alt="Down" /></a>
1099.1.197 by Nick Chadwick
Modified worksheets edit view, so now there are links to edit, add,
24
            </td>
25
          </tr>
26
      </py:for>
27
      </table>
28
      <br />
1099.1.199 by William Grant
Move WorksheetAddView to +new (was +add), and clean it up a bit.
29
      <a href="+new">Create new worksheet</a>
1099.1.197 by Nick Chadwick
Modified worksheets edit view, so now there are links to edit, add,
30
    </div>
31
  </body>
32
</html>