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

« back to all changes in this revision

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

Improve the worksheet/exercise authoring experience a little.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<html xmlns="http://www.w3.org/1999/xhtml"
2
2
      xmlns:py="http://genshi.edgewall.org/">
3
3
  <head>
4
 
    <title>Add Exercise</title>
 
4
    <title>Create exercise</title>
5
5
  </head>
6
6
  <body>
7
 
    <h1>Create Exercise</h1>
 
7
    <h1>Create exercise</h1>
8
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>
 
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>
30
29
      <br />
31
30
      <p><input type="submit" value="Save Changes" onclick="add_exercise()" /></p>
32
31
    </div>