~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 05:01:52 UTC
  • mto: This revision was merged to the branch mainline in revision 1290.
  • Revision ID: grantw@unimelb.edu.au-20090324050152-52mu7h0segde0xjs
Turn variable lists into real <ul>s rather than <br>-separated <span>s.

Show diffs side-by-side

added added

removed removed

Lines of Context:
60
60
          
61
61
              <h4>Variables</h4>
62
62
                <div class="test_variables" id="variables_${test_suite.suiteid}">
63
 
                  <py:for each="variable in test_suite.variables">
64
 
                    <span>
 
63
                  <ul>
 
64
                    <li py:for="variable in test_suite.variables">
65
65
                      <iw:delete action="delete_var('${variable.varid}', '${test_suite.suiteid}')" />
66
66
                      <label for="var_type_${variable.varid}">Type:</label>
67
67
                      <select name="Variable Type" id="var_type_${variable.varid}">
77
77
                      <label for="var_argno_${variable.varid}">Arg Num:</label>
78
78
                      <input size="5" type="text" id="var_argno_${variable.varid}" value="${variable.arg_no}" />
79
79
                      <input type="button" value="Save Variable" onclick="edit_var('${variable.varid}', '${test_suite.suiteid}')" />
80
 
                    </span>
81
 
                    <br />          
82
 
                  </py:for>
 
80
                    </li>
 
81
                  </ul>
83
82
                  <a onclick="tog('add_variable_${test_suite.suiteid}')">Add A New Variable</a>
84
83
                  <div class="add_variable" id="add_variable_${test_suite.suiteid}">
85
84
                    <label for="new_var_type_${test_suite.suiteid}">Type:</label>