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

« back to all changes in this revision

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

  • Committer: William Grant
  • Date: 2009-03-24 07:46:32 UTC
  • mto: This revision was merged to the branch mainline in revision 1290.
  • Revision ID: grantw@unimelb.edu.au-20090324074632-z1ybe8kd3uh24jam
Template bits of the test case part addition form.

Show diffs side-by-side

added added

removed removed

Lines of Context:
136
136
                            <iw:text name="file" desc="Filename">${test_part.filename}</iw:text>
137
137
                            <input type="button" value="Save Part" onclick="edit_test_part('${test_part.partid}', '${test_case.testid}', ${test_suite.suiteid})" />
138
138
                          </li>
139
 
                          <li>
 
139
                          <li py:with="iw_prefix='test_part_new'">
140
140
                            <a onclick="tog('new_test_part_${test_case.testid}')">New test case part</a>
141
141
                            <div class="add_new_part" id="new_test_part_${test_case.testid}">
142
 
                              <label for="new_test_part_part_type_${test_case.testid}">Part Type:</label>
143
 
                              <select name="Part Type" id="new_test_part_part_type_${test_case.testid}">
 
142
                              <label for="test_part_new_part_type_${test_case.testid}">Part Type:</label>
 
143
                              <select name="Part Type" id="test_part_new_part_type_${test_case.testid}">
144
144
                                <py:for each="part_type in part_types">
145
145
                                  <option value="${part_type}">${part_type}</option>
146
146
                                </py:for>
147
147
                              </select>
148
148
                              <br />
149
 
                              <label>Test Type:</label>
150
 
                              <select name="Test Type" id="new_test_part_test_type_${test_case.testid}">
 
149
                              <label for="test_part_new_test_type_${test_case.testid}">Test Type:</label>
 
150
                              <select name="Test Type" id="test_part_new_test_type_${test_case.testid}">
151
151
                                <py:for each="test_type in test_types">
152
152
                                  <option value="${test_type}">${test_type}</option>
153
153
                                </py:for>
154
154
                              </select>
155
 
                              <br />
156
 
                              <label>Test:</label>
157
 
                              <textarea id="new_test_part_data_${test_case.testid}" rows="2" cols="80"></textarea>
158
 
                              <br />
159
 
                              <label>Filename:</label>
160
 
                              <input type="text" id="new_test_part_file_${test_case.testid}"/>
161
 
                              <br />
 
155
                              <iw:textarea name="data" desc="Test" rows="2" cols="80" />
 
156
                              <iw:text name="file" desc="Filename" />
162
157
                              <input type="button" value="Create Part" onclick="add_test_part('${test_case.testid}', '${test_suite.suiteid}')" id="new_test_part_save_${test_case.testid}" />
163
158
                            </div>
164
159
                          </li>