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

« back to all changes in this revision

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

  • Committer: Nick Chadwick
  • Date: 2009-03-09 01:15:33 UTC
  • mto: This revision was merged to the branch mainline in revision 1162.
  • Revision ID: chadnickbok@gmail.com-20090309011533-dw59mhauiysji3nt
Fixed a slight oversight, which meant there was no way to add a new
exercise through the ui.

In addition, entire exercises can now be deleted, providing they have
never been linked to a worksheet.

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>Add Exercise</title>
 
5
  </head>
 
6
  <body>
 
7
    <h1>Create Exercise</h1>
 
8
    <div id="ivle_padding">
 
9
      <h3>Exercise Values:</h3>
 
10
      <label for="exercise_id">Exercise Identifier:</label>
 
11
      <input class="textinput" type="text" id="exercise_id" title="Exercise Identifier" />
 
12
      <br />
 
13
      <label for="exercise_name">Exercise Name:</label>
 
14
      <input class="textinput" type='text' id='exercise_name' title="Exercise Name" />
 
15
      <br />
 
16
      <label for="exercise_num_rows">Number of Rows</label>
 
17
      <input size="5" type="text" id="exercise_num_rows" value="4" title="Number of Rows" />
 
18
      <br />
 
19
      <label for="exercise_desc">Exercise Description (in RST):</label><br />
 
20
      <textarea cols="80" rows="10" id="exercise_desc" title="Exercise Description"></textarea>
 
21
      <br />
 
22
      <label for="exercise_partial">Exercise Partial Solution (Python):</label><br />
 
23
      <textarea cols="80" rows="5" id="exercise_partial" title="Partial Solution"></textarea>
 
24
      <br />
 
25
      <label for="exercise_solution">Exercise Full Solution:</label><br />
 
26
      <textarea cols="80" rows="5" id="exercise_solution" title="Solution"></textarea>
 
27
      <br />
 
28
      <label for="exercise_include">Exercise Included Code:</label><br />
 
29
      <textarea cols="80" rows="5" id="exercise_include" title="Included Code"></textarea>
 
30
      <br />
 
31
      <p><input type="submit" value="Save Changes" onclick="add_exercise()" /></p>
 
32
    </div>
 
33
  </body>
 
34
</html>