1
1
<html xmlns="http://www.w3.org/1999/xhtml"
2
2
xmlns:py="http://genshi.edgewall.org/">
4
<title>Add Exercise</title>
4
<title>Create exercise</title>
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" />
13
<label for="exercise_name">Exercise Name:</label>
14
<input class="textinput" type='text' id='exercise_name' title="Exercise Name" />
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" />
19
<label for="exercise_desc">Exercise Description (in RST):</label><br />
20
<textarea cols="80" rows="10" id="exercise_desc" title="Exercise Description"></textarea>
22
<label for="exercise_partial">Exercise Partial Solution (Python):</label><br />
23
<textarea cols="80" rows="5" id="exercise_partial" title="Partial Solution"></textarea>
25
<label for="exercise_solution">Exercise Full Solution:</label><br />
26
<textarea cols="80" rows="5" id="exercise_solution" title="Solution"></textarea>
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' />
12
<label for="exercise_id">URL name:</label>
13
<input class="textinput" type="text" id="exercise_id" />
15
<label for="exercise_num_rows">Predicted code line count:</label>
16
<input size="5" type="text" id="exercise_num_rows" value="4" />
18
<label for="exercise_desc">Description (reStructuredText):</label><br />
19
<textarea cols="80" rows="10" id="exercise_desc"></textarea>
21
<label for="exercise_solution">Full solution (Python):</label><br />
22
<textarea cols="80" rows="5" id="exercise_solution"></textarea>
24
<label for="exercise_partial">Partial solution (Python, provided to students):</label><br />
25
<textarea cols="80" rows="5" id="exercise_partial"></textarea>
27
<label for="exercise_include">Included code (Python):</label><br />
28
<textarea cols="80" rows="5" id="exercise_include"></textarea>
31
30
<p><input type="submit" value="Save Changes" onclick="add_exercise()" /></p>