Move buttons in manage_testcases.cgi to handle smaller monitors. Widen summary field.

This commit is contained in:
zach%zachlipton.com 2006-06-21 18:16:36 +00:00
Родитель fde2f4f5db
Коммит 1275b3d891
2 изменённых файлов: 11 добавлений и 8 удалений

Просмотреть файл

@ -56,7 +56,7 @@ function checkFormContents(f) {
<td><input name="editform_summary" <td><input name="editform_summary"
id="editform_summary" id="editform_summary"
value="" value=""
size="35"/ disabled></td> size="55"/ disabled></td>
</tr> </tr>
<tr> <tr>
<td colspan="3"> <td colspan="3">

Просмотреть файл

@ -271,7 +271,7 @@ function switchToEdit() {
<div class="section-full"> <div class="section-full">
<div class="section-header">Existing Testcases</div> <div class="section-header">Existing Testcases</div>
<div class="section-content"> <div class="section-content" style="overflow:hidden;">
<form id="select_testcase_and_mode_form" name="select_testcase_and_mode_form" method="post" action="manage_testcases.cgi"> <form id="select_testcase_and_mode_form" name="select_testcase_and_mode_form" method="post" action="manage_testcases.cgi">
<table border="0" cellspacing="0" cellpadding="5"> <table border="0" cellspacing="0" cellpadding="5">
@ -279,12 +279,15 @@ function switchToEdit() {
<td> <td>
[% INCLUDE form_widgets/select_testcase_id.tmpl name="testcase_id" placeholder=1 size=10 show_summary=1 onchange="loadTestcase();" %] [% INCLUDE form_widgets/select_testcase_id.tmpl name="testcase_id" placeholder=1 size=10 show_summary=1 onchange="loadTestcase();" %]
</td> </td>
<td> </tr>
<input id="add_testcase_button" name="add_testcase_button" class="manage" type="button" onClick="switchToAdd();" value="Add testcase"><br/><br/> <tr>
<input id="edit_testcase_button" name="edit_testcase_button" class="manage" type="button" onClick="switchToEdit();" value="Edit testcase" disabled><br/><br/> <td>
<input id="clone_testcase_button" name="clone_testcase_button" class="manage" type="submit" onClick="confirm('Really clone this testcase?');" value="Clone testcase" disabled><br/><br/> <input id="add_testcase_button" name="add_testcase_button" class="manage" type="button" onClick="switchToAdd();" value="Add new testcase">&nbsp;
<input id="delete_testcase_button" name="delete_testcase_button" class="manage" type="submit" onClick="confirm('Really delete this testcase?');" value="Delete testcase" disabled> <input id="edit_testcase_button" name="edit_testcase_button" class="manage" type="button" onClick="switchToEdit();" value="Edit testcase" disabled>&nbsp;
</td> <input id="clone_testcase_button" name="clone_testcase_button" class="manage" type="submit" onClick="confirm('Really clone this testcase?');" value="Clone testcase" disabled>&nbsp;
<input id="delete_testcase_button" name="delete_testcase_button" class="manage" type="submit" onClick="confirm('Really delete this testcase?');" value="Delete testcase" disabled>&nbsp;
</td>
</tr>
</table> </table>
</form> </form>