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

1099.1.229 by Nick Chadwick
Fixed a slight oversight, which meant there was no way to add a new
1
<html xmlns="http://www.w3.org/1999/xhtml"
2
      xmlns:py="http://genshi.edgewall.org/">
3
  <head>
1463.1.5 by William Grant
Rebrand lots of exercise fields.
4
    <title>Create exercise</title>
1099.1.229 by Nick Chadwick
Fixed a slight oversight, which meant there was no way to add a new
5
  </head>
6
  <body>
1463.1.5 by William Grant
Rebrand lots of exercise fields.
7
    <h1>Create exercise</h1>
1099.1.229 by Nick Chadwick
Fixed a slight oversight, which meant there was no way to add a new
8
    <div id="ivle_padding">
1463.1.5 by William Grant
Rebrand lots of exercise fields.
9
      <label for="exercise_name">Display name:</label>
10
      <input class="textinput" type='text' id='exercise_name' />
11
      <br />
12
      <label for="exercise_id">URL name:</label>
13
      <input class="textinput" type="text" id="exercise_id" />
14
      <br />
15
      <label for="exercise_num_rows">Predicted code line count:</label>
16
      <input size="5" type="text" id="exercise_num_rows" value="4" />
17
      <br />
18
      <label for="exercise_desc">Description (reStructuredText):</label><br />
19
      <textarea cols="80" rows="10" id="exercise_desc"></textarea>
20
      <br />
21
      <label for="exercise_solution">Full solution (Python):</label><br />
22
      <textarea cols="80" rows="5" id="exercise_solution"></textarea>
23
      <br />
24
      <label for="exercise_partial">Partial solution (Python, provided to students):</label><br />
25
      <textarea cols="80" rows="5" id="exercise_partial"></textarea>
26
      <br />
27
      <label for="exercise_include">Included code (Python):</label><br />
28
      <textarea cols="80" rows="5" id="exercise_include"></textarea>
1099.1.229 by Nick Chadwick
Fixed a slight oversight, which meant there was no way to add a new
29
      <br />
30
      <p><input type="submit" value="Save Changes" onclick="add_exercise()" /></p>
31
    </div>
32
  </body>
33
</html>