* adjust css for batch create of story and testcase.

This commit is contained in:
shiyangyangwork@yahoo.cn
2011-10-30 01:35:21 +00:00
parent b475ddf755
commit a5882303cc
4 changed files with 39 additions and 26 deletions
+12 -10
View File
@@ -12,14 +12,14 @@
?>
<?php include '../../common/view/header.html.php';?>
<form method='post' enctype='multipart/form-data'>
<table align='center' class='table-1'>
<table align='center' class='table-1 fixed'>
<caption><?php echo $lang->testcase->batchCreate;?></caption>
<tr>
<th class='w-id'><?php echo $lang->idAB;?></th>
<th><?php echo $lang->testcase->module;?></th>
<th><?php echo $lang->testcase->type;?></th>
<th class='w-20px'><?php echo $lang->idAB;?></th>
<th class='w-300px'><?php echo $lang->testcase->module;?></th>
<th class='w-180px'><?php echo $lang->testcase->type;?></th>
<th><?php echo $lang->testcase->story;?></th>
<th><?php echo $lang->testcase->title;?></th>
<th class='w-300px'><?php echo $lang->testcase->title;?></th>
</tr>
<?php for($i = 0; $i < $config->testcase->batchCreate; $i++):?>
<?php $moduleOptionMenu['same'] = $lang->testcase->same; if($i != 0) $currentModuleID = 'same';?>
@@ -28,15 +28,17 @@
<?php $pri = 3;?>
<tr class='a-center'>
<td><?php echo $i+1;?></td>
<td><?php echo html::select("module[$i]", $moduleOptionMenu, $currentModuleID, "class=select-3");?></td>
<td><?php echo html::select("type[$i]", $lang->testcase->typeList, $type, "class=select-3"); echo "<span class='star'>*</span>";?></td>
<td><?php echo html::select("story[$i]", $stories, $story, 'class=select-3');?></td>
<td><?php echo html::select("module[$i]", $moduleOptionMenu, $currentModuleID, "class=select-1");?></td>
<td><?php echo html::select("type[$i]", $lang->testcase->typeList, $type, "class=select-1"); echo "<span class='star'>*</span>";?></td>
<td><?php echo html::select("story[$i]", $stories, $story, 'class=select-1');?></td>
<td><?php echo html::input("title[$i]", '', "class='text-1'"); echo "<span class='star'>*</span>";?></td>
</tr>
<?php endfor;?>
<tr>
<td colspan='3' class='a-center'><?php echo "<span class='star'><small>{$lang->testcase->notes}</small></span>";?></td>
<td colspan='2' class='a-left'><?php echo html::submitButton() . html::resetButton();?></td>
<td colspan='5'>
<div class='half-left red'><?php echo $lang->testcase->notes;?></div>
<div class='half-right'><?php echo html::submitButton() . html::resetButton();?></div>
</td>
</tr>
</table>
</form>