* changed css names to compatible with zui.

This commit is contained in:
Catouse
2014-03-26 11:01:19 +08:00
parent 1ff011f641
commit e94843f4e2
74 changed files with 303 additions and 296 deletions
+1 -1
View File
@@ -33,7 +33,7 @@
<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");?></td>
<?php if(!$story):?><td class='text-left'style='overflow:visible'><?php echo html::select("story[$i]", '', '', 'class="select-1 storySelect"');?></td><?php endif;?>
<td><?php echo html::input("title[$i]", '', "class='text-1'");?></td>
<td><?php echo html::input("title[$i]", '', "class='form-control'");?></td>
</tr>
<?php endfor;?>
<tr><td colspan='<?php $story ? print '4' : print '5'?>' class='text-center'><?php echo html::submitButton() . html::backButton();?></td></tr>
+1 -1
View File
@@ -29,7 +29,7 @@ js::set('confirmDelete', $lang->testcase->confirmDelete);
echo "<span id='bysearchTab' onclick=\"browseBySearch('$browseType')\"><a href='#' class='link-icon'><i class='icon-search icon'></i>&nbsp;{$lang->testcase->bySearch}</a></span> ";
?>
</div>
<div class='f-right'>
<div class='text-right'>
<?php
common::printIcon('testcase', 'import', "productID=$productID", '', 'button', '', '', 'export cboxElement');
+8 -8
View File
@@ -22,7 +22,7 @@
<tr>
<th class='rowhead'><?php echo $lang->testcase->lblProductAndModule;?></th>
<td>
<?php echo html::select('product', $products, $productID, "onchange=loadAll(this.value); class='select-3'");?>
<?php echo html::select('product', $products, $productID, "onchange=loadAll(this.value); class='form-control'");?>
<span id='moduleIdBox'>
<?php
echo html::select('module', $moduleOptionMenu, $currentModuleID, "onchange=loadModuleRelated();");
@@ -37,20 +37,20 @@
</tr>
<tr>
<th class='rowhead'><?php echo $lang->testcase->type;?></th>
<td><?php echo html::select('type', $lang->testcase->typeList, $type, 'class=select-3');?></td>
<td><?php echo html::select('type', $lang->testcase->typeList, $type, "class='form-control'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->testcase->stage;?></th>
<td><?php echo html::select('stage[]', $lang->testcase->stageList, $stage, "class='select-3' multiple='multiple'");?></td>
<td><?php echo html::select('stage[]', $lang->testcase->stageList, $stage, "class='form-control' multiple='multiple'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->testcase->pri;?></th>
<td><?php echo html::select('pri', $lang->testcase->priList, $pri, 'class=select-3');?></td>
<td><?php echo html::select('pri', $lang->testcase->priList, $pri, "class='form-control'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->testcase->lblStory;?></th>
<td>
<div id='storyIdBox'><?php echo html::select('story', $stories, $storyID, 'class="text-1" onchange=setPreview();');?>
<div id='storyIdBox'><?php echo html::select('story', $stories, $storyID, 'class="form-control" onchange=setPreview();');?>
<?php if($storyID == 0): ?>
<a href='' id='preview' class='iframe hidden'><?php echo $lang->preview;?></a>
<?php else:?>
@@ -61,11 +61,11 @@
</tr>
<tr>
<th class='rowhead'><?php echo $lang->testcase->title;?></th>
<td><?php echo html::input('title', $caseTitle, "class='text-1'");?></td>
<td><?php echo html::input('title', $caseTitle, "class='form-control'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->testcase->precondition;?></th>
<td><?php echo html::textarea('precondition', $precondition, " rows='4' class='text-1'");?></td>
<td><?php echo html::textarea('precondition', $precondition, " rows='4' class='form-control'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->testcase->steps;?></th>
@@ -98,7 +98,7 @@
</tr>
<tr>
<th class='rowhead'><?php echo $lang->testcase->keywords;?></th>
<td><?php echo html::input('keywords', $keywords, "class='text-1'");?></td>
<td><?php echo html::input('keywords', $keywords, "class='form-control'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->testcase->files;?></th>
+1 -1
View File
@@ -39,7 +39,7 @@
echo html::hidden("product[$key]", $productID);
?>
</td>
<td><?php echo html::input("title[$key]", $case->title, "class='text-1' style='margin-top:2px'")?></td>
<td><?php echo html::input("title[$key]", $case->title, "class='form-control' style='margin-top:2px'")?></td>
<td><?php echo html::select("module[$key]", $modules, isset($case->module) ? $case->module : (!empty($case->id) ? $cases[$case->id]->module : ''), "class='select-2'")?></td>
<td><?php echo html::select("story[$key]", $stories, isset($case->story) ? $case->story : (!empty($case->id) ? $cases[$case->id]->story : ''), "class='select-2'")?></td>
<td><?php echo html::select("pri[$key]", $lang->testcase->priList, isset($case->pri) ? $case->pri : (!empty($case->id) ? $cases[$case->id]->pri : ''))?></td>